
:root{
  --ink:#102a4c;
  --muted:#5f7087;
  --glass:rgba(255,255,255,.88);
  --line:rgba(255,255,255,.58);
  --blue:#163f73;
  --blue2:#245c96;
  --green:#159447;
  --danger:#b42318;
  --shadow:0 18px 55px rgba(8,28,52,.18);
}
*{box-sizing:border-box}
html{min-height:100%;background:#172f4e}
body{
  margin:0;min-height:100vh;color:var(--ink);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  background:
    linear-gradient(120deg,rgba(7,27,52,.82),rgba(19,62,96,.36) 46%,rgba(255,190,112,.24)),
    url("/background.jpg") center/cover fixed no-repeat;
}
body:before{
  content:"";position:fixed;inset:0;pointer-events:none;
  background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.08));
}
.app{max-width:1400px;margin:auto;padding:28px 28px 44px;position:relative}
header{
  display:flex;justify-content:space-between;align-items:center;gap:24px;
  margin-bottom:22px;color:#fff;
}
.brand{display:flex;align-items:center;gap:15px}
.brand-mark{
  width:64px;height:64px;border:4px solid rgba(255,255,255,.9);border-radius:50%;
  display:grid;place-items:center;font-size:31px;background:rgba(255,255,255,.09);
  box-shadow:0 8px 30px rgba(0,0,0,.14)
}
h1{margin:0;font-size:34px;line-height:1.05;letter-spacing:-.7px}
header p{margin:5px 0 0;color:rgba(255,255,255,.72)}
.header-right{display:flex;align-items:center;gap:18px}
.greeting{text-align:right;color:#fff}.greeting strong{display:block;font-size:17px}.greeting span{font-size:13px;color:rgba(255,255,255,.7)}
.quote{
  margin:0 0 22px;color:#fff;font-size:clamp(22px,3vw,38px);font-weight:800;
  letter-spacing:-.8px;max-width:800px;text-shadow:0 4px 22px rgba(0,0,0,.25)
}
.quote em{font-style:normal;color:#9bd3ff}
.dashboard-grid{display:grid;grid-template-columns:360px 1fr;gap:18px;align-items:start}
.side-column,.main-column{min-width:0}
.card{
  background:var(--glass);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);
  border:1px solid var(--line);border-radius:22px;padding:20px;margin-bottom:18px;
  box-shadow:var(--shadow)
}
.card h2{font-size:21px;margin:0 0 15px;letter-spacing:-.3px}
.section-head{display:flex;justify-content:space-between;align-items:center;gap:10px}
label{display:block;font-weight:750;margin:11px 0 7px}
input{
  width:100%;min-height:49px;border:1px solid #cdd8e5;border-radius:13px;
  padding:10px 13px;font-size:16px;background:rgba(255,255,255,.9);color:#132d4e;outline:none;
}
input:focus{border-color:#4d8ec9;box-shadow:0 0 0 3px rgba(55,126,190,.14)}
.grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:18px}
.stat{
  border:1px solid rgba(255,255,255,.7);border-radius:18px;padding:18px;
  background:rgba(255,255,255,.9);box-shadow:0 12px 35px rgba(8,28,52,.12)
}
.stat:nth-child(1){background:rgba(240,248,255,.91)}
.stat:nth-child(2){background:rgba(237,250,241,.91)}
.stat:nth-child(3){background:rgba(255,247,232,.93)}
.stat span{font-size:13px;color:#66758a;font-weight:700}.stat strong{display:block;font-size:26px;margin-top:5px;color:#0d294c}
.preview{display:grid;grid-template-columns:1fr 1fr;background:#edf5ff;border-radius:15px;padding:13px;margin:14px 0}
.preview div+div{padding-left:12px;border-left:1px solid #d6e4f2}
.preview span{display:block;color:#6b7a8d;font-size:12px;font-weight:700}.preview strong{font-size:19px}
.btn{border:0;border-radius:13px;min-height:49px;padding:10px 15px;font-weight:800;font-size:15px;cursor:pointer;transition:.18s transform,.18s box-shadow}
.btn:hover{transform:translateY(-1px);box-shadow:0 8px 20px rgba(13,42,73,.14)}
.primary{width:100%;background:linear-gradient(135deg,var(--blue),var(--blue2));color:#fff}
.success{width:100%;background:linear-gradient(135deg,#117a3d,#1b9c51);color:#fff;min-height:58px}
.danger{background:#fde9e7;color:var(--danger)}
.ghost{background:rgba(229,235,242,.92);color:#17385e}
.secondary{background:#eaf3fc;color:#174b7b;white-space:nowrap}
.list>div{padding:13px 0;border-bottom:1px solid rgba(205,216,228,.75)}
.list>div:last-child{border-bottom:0}
.row{display:flex;justify-content:space-between;align-items:center;gap:12px}
.sub{font-size:13px;color:#66758a;margin-top:4px}.money{font-weight:850;white-space:nowrap}
.hidden{display:none!important}
.error{background:#fee8e7;color:#991b1b;padding:10px;border-radius:11px;margin-bottom:12px}
.muted{color:#6b7280;font-size:13px}
.small{min-height:39px;font-size:13px}
.side-message{
  min-height:250px;color:#fff;border-radius:22px;padding:28px;
  background:linear-gradient(160deg,rgba(8,29,55,.86),rgba(13,54,88,.58));
  border:1px solid rgba(255,255,255,.18);box-shadow:var(--shadow);
  display:flex;flex-direction:column;justify-content:flex-end;margin-bottom:18px
}
.side-message .big{font-size:34px;font-weight:900;line-height:1.05;letter-spacing:-1px}
.side-message p{color:rgba(255,255,255,.78);line-height:1.5;margin-bottom:0}
.side-message .accent{display:block;width:62px;height:4px;border-radius:99px;background:#7bc7ff;margin:18px 0}
.mini-quote{font-weight:800;color:#fff;font-size:17px;margin-top:16px}
.footer{color:rgba(255,255,255,.7);font-size:12px;display:flex;justify-content:space-between;gap:15px;padding:2px 4px}
.auth-wrap{max-width:440px;margin:8vh auto}
.auth-wrap .card{background:rgba(255,255,255,.93)}
.auth-brand{text-align:center;margin-bottom:22px;color:#fff}
.auth-brand .brand-mark{margin:0 auto 14px}
.auth-brand h1{font-size:32px}.auth-brand p{color:rgba(255,255,255,.75)}
@media(max-width:1000px){
  .dashboard-grid{grid-template-columns:1fr}.side-column{display:grid;grid-template-columns:1fr 1fr;gap:18px}.side-message{margin-bottom:0}.side-column .card{margin-bottom:0}
}
@media(max-width:720px){
  .app{padding:17px 12px 30px}header{align-items:flex-start}.brand-mark{width:50px;height:50px;font-size:24px;border-width:3px}h1{font-size:25px}
  .header-right{gap:8px}.greeting{display:none}.quote{font-size:25px;margin-bottom:16px}
  .stats{grid-template-columns:1fr}.side-column{display:block}.side-column .card,.side-message{margin-bottom:14px}
  .stats .stat strong{font-size:23px}.card{padding:16px;border-radius:18px}
  .section-head{align-items:flex-start;flex-direction:column}.section-head .secondary{width:100%}
  .row{align-items:flex-start}.row .danger{flex:none}
  .footer{flex-direction:column}
}
@media(max-width:430px){
  .grid{grid-template-columns:1fr 1fr}.btn{font-size:14px}.quote{font-size:23px}
}
