:root{
  --blue:#005ca1; --blue-dark:#00406f; --blue-deep:#002e50; --blue-light:#e8f2fa; --blue-soft:#f2f8fd;
  --orange:#f0aa1d; --orange-dark:#c98a0a; --orange-light:#fdf3dd;
  --gray:#838280; --bg:#f2f5f9; --card:#fff; --border:#e3e8ee; --text:#17212b; --mute:#6b7683;
  --green:#1f9d55; --green-light:#e7f7ee; --red:#d6483f; --red-light:#fdeceb;
  --shadow-sm:0 1px 2px rgba(0,40,80,.05),0 1px 3px rgba(0,40,80,.06);
  --shadow:0 4px 14px rgba(0,40,80,.08);
  --shadow-lg:0 18px 50px rgba(0,30,60,.25);
  --radius:14px;
}
*{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}
body{font-family:'Montserrat',system-ui,sans-serif;background:var(--bg);color:var(--text);font-weight:500;-webkit-font-smoothing:antialiased;line-height:1.45;}
h1,h2,h3,h4{font-weight:800;letter-spacing:-.01em;}
button{font-family:inherit;cursor:pointer;border:none;background:none;color:inherit;}
input,select,textarea{font-family:inherit;font-size:14px;color:var(--text);}
input:focus,select:focus,textarea:focus{outline:none;border-color:var(--blue)!important;box-shadow:0 0 0 3px rgba(0,92,161,.14);}
a{color:inherit;text-decoration:none;}
::-webkit-scrollbar{width:8px;height:8px;}::-webkit-scrollbar-thumb{background:#c9d2db;border-radius:8px;}

/* ---------- layout ---------- */
#app{display:flex;min-height:100vh;}
#sidebar{width:252px;flex-shrink:0;background:linear-gradient(185deg,var(--blue-dark) 0%,var(--blue-deep) 100%);color:#fff;display:flex;flex-direction:column;position:fixed;top:0;bottom:0;left:0;z-index:40;transition:transform .25s ease;box-shadow:4px 0 24px rgba(0,30,60,.12);}
.brand{display:flex;align-items:center;gap:12px;padding:24px 22px 20px;}
.brand-mark{width:40px;height:40px;border-radius:11px;background:linear-gradient(135deg,#f7c04d,var(--orange));display:flex;align-items:center;justify-content:center;font-weight:900;color:var(--blue-deep);font-size:17px;flex-shrink:0;box-shadow:0 4px 12px rgba(240,170,29,.4);}
.brand-name{font-weight:900;font-size:15.5px;letter-spacing:.03em;line-height:1.15;}
.brand-sub{font-size:9.5px;color:rgba(255,255,255,.55);font-weight:700;letter-spacing:.1em;margin-top:3px;}
.nav{padding:10px 12px;flex:1;overflow-y:auto;}
.nav-label{font-size:10px;font-weight:800;letter-spacing:.12em;color:rgba(255,255,255,.38);padding:14px 12px 6px;}
.nav-item{position:relative;display:flex;align-items:center;gap:12px;padding:11px 14px;border-radius:10px;margin-bottom:3px;color:rgba(255,255,255,.74);font-weight:600;font-size:13.5px;cursor:pointer;transition:all .15s;}
.nav-item svg{width:19px;height:19px;flex-shrink:0;}
.nav-item:hover{background:rgba(255,255,255,.09);color:#fff;}
.nav-item.active{background:rgba(255,255,255,.14);color:#fff;font-weight:800;}
.nav-item.active::before{content:"";position:absolute;left:-12px;top:9px;bottom:9px;width:4px;border-radius:0 4px 4px 0;background:var(--orange);}
.nav-item.active svg{color:var(--orange);}
.sidebar-foot{padding:16px 22px;border-top:1px solid rgba(255,255,255,.1);font-size:11px;color:rgba(255,255,255,.42);font-weight:600;}
#mainWrap{margin-left:252px;flex:1;display:flex;flex-direction:column;min-width:0;}
#topbar{height:66px;background:rgba(255,255,255,.88);backdrop-filter:blur(10px);border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 28px;position:sticky;top:0;z-index:30;gap:16px;}
.hamburger{display:none;width:38px;height:38px;border-radius:10px;align-items:center;justify-content:center;}
.hamburger:hover{background:var(--bg);}
.topbar-title{font-size:16px;font-weight:800;color:var(--blue-dark);}
.topbar-right{display:flex;align-items:center;gap:14px;}
.user-info{text-align:right;}
.user-info .uname{font-size:13px;font-weight:800;}
.user-info .urole{font-size:11px;color:var(--orange-dark);font-weight:700;}
.avatar{width:38px;height:38px;border-radius:50%;background:linear-gradient(135deg,var(--blue),var(--blue-dark));color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:13px;flex-shrink:0;border:2px solid var(--orange);}
.logout-btn{font-size:12px;color:var(--red);font-weight:700;}
#content{padding:28px 32px 70px;max-width:1320px;width:100%;}

/* ---------- components ---------- */
.page-head{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:14px;margin-bottom:24px;}
.page-title{font-size:24px;margin-bottom:5px;color:var(--blue-dark);}
.page-desc{font-size:13px;color:var(--mute);font-weight:500;}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:10px 18px;border-radius:10px;font-weight:700;font-size:13px;white-space:nowrap;transition:all .15s;}
.btn-primary{background:linear-gradient(135deg,var(--blue),var(--blue-dark));color:#fff;box-shadow:0 3px 10px rgba(0,92,161,.28);}
.btn-primary:hover{filter:brightness(1.08);transform:translateY(-1px);}
.btn-orange{background:linear-gradient(135deg,#f7bd45,var(--orange));color:var(--blue-deep);box-shadow:0 3px 10px rgba(240,170,29,.35);}
.btn-orange:hover{filter:brightness(1.05);transform:translateY(-1px);}
.btn-ghost{background:#fff;color:var(--text);border:1px solid var(--border);}
.btn-ghost:hover{background:var(--blue-soft);border-color:#c5d8e8;}
.btn-danger{background:var(--red-light);color:var(--red);}
.btn-sm{padding:7px 12px;font-size:12px;border-radius:8px;}
.btn:disabled{opacity:.45;cursor:default;transform:none;filter:none;}
.card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-sm);}
.card-pad{padding:22px;}

.grid-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:24px;}
.stat-card{position:relative;overflow:hidden;background:var(--card);border:1px solid var(--border);border-radius:var(--radius);padding:20px 22px;box-shadow:var(--shadow-sm);display:flex;align-items:center;gap:16px;}
.stat-card::after{content:"";position:absolute;right:-24px;top:-24px;width:90px;height:90px;border-radius:50%;background:currentColor;opacity:.05;}
.stat-icon{width:48px;height:48px;border-radius:13px;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:22px;}
.stat-card.s-blue{color:var(--blue);} .stat-card.s-blue .stat-icon{background:var(--blue-light);}
.stat-card.s-orange{color:var(--orange-dark);} .stat-card.s-orange .stat-icon{background:var(--orange-light);}
.stat-card.s-red{color:var(--red);} .stat-card.s-red .stat-icon{background:var(--red-light);}
.stat-card.s-green{color:var(--green);} .stat-card.s-green .stat-icon{background:var(--green-light);}
.stat-label{font-size:10.5px;color:var(--mute);font-weight:800;letter-spacing:.07em;margin-bottom:4px;}
.stat-value{font-size:30px;font-weight:900;line-height:1;color:var(--text);}
.badge{display:inline-flex;align-items:center;gap:6px;padding:5px 11px;border-radius:20px;font-size:11.5px;font-weight:700;white-space:nowrap;}
.dot{width:7px;height:7px;border-radius:50%;flex-shrink:0;}
.section-title{font-size:14.5px;font-weight:800;margin-bottom:16px;display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;color:var(--blue-dark);}
.section-title::before{content:none;}

.filters{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:18px;}
.filters input,.filters select{padding:10px 14px;border:1px solid var(--border);border-radius:10px;background:#fff;font-size:13px;font-weight:600;}
.filters input{min-width:200px;flex:1;}

.job-table{width:100%;border-collapse:collapse;}
.job-table thead th{text-align:left;font-size:10.5px;text-transform:uppercase;letter-spacing:.07em;color:var(--blue-dark);font-weight:800;padding:13px 16px;background:var(--blue-soft);border-bottom:1px solid var(--border);}
.job-table tbody tr{transition:background .12s;}
.job-table tbody tr[data-job],.job-table tbody tr[data-client]{cursor:pointer;}
.job-table tbody tr:hover{background:var(--blue-soft);}
.job-table tbody td{padding:15px 16px;border-bottom:1px solid var(--border);font-size:13.5px;}
.job-table tbody tr:last-child td{border-bottom:none;}
.table-scroll{overflow-x:auto;}
.job-name{font-weight:800;color:var(--text);}
.job-sub{font-size:11.5px;color:var(--mute);font-weight:600;margin-top:3px;}
.progress-mini{width:100px;height:7px;background:#e8edf2;border-radius:4px;overflow:hidden;}
.progress-mini>div{height:100%;background:linear-gradient(90deg,var(--blue),#2a8ad4);border-radius:4px;}
.avatars-row{display:flex;}
.mini-avatar{width:26px;height:26px;border-radius:50%;background:var(--gray);color:#fff;font-size:9.5px;font-weight:800;display:flex;align-items:center;justify-content:center;border:2px solid #fff;margin-left:-8px;}
.mini-avatar:first-child{margin-left:0;} .mini-avatar:nth-child(2n){background:var(--blue);} .mini-avatar:nth-child(3n){background:var(--orange-dark);}

.job-cards{display:none;flex-direction:column;gap:12px;}
.job-card{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:16px 18px;cursor:pointer;box-shadow:var(--shadow-sm);}
.job-card-top{display:flex;justify-content:space-between;align-items:flex-start;gap:8px;margin-bottom:8px;}
.job-card-meta{font-size:12px;color:var(--mute);font-weight:600;margin-top:8px;display:flex;gap:12px;flex-wrap:wrap;}

/* job detail banner */
.job-detail-head{background:linear-gradient(120deg,var(--blue-deep),var(--blue) 70%,#1478c4);color:#fff;border-radius:var(--radius);padding:24px 28px;margin-bottom:20px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:16px;box-shadow:var(--shadow);position:relative;overflow:hidden;}
.job-detail-head::after{content:"";position:absolute;right:-50px;bottom:-70px;width:220px;height:220px;border-radius:50%;background:var(--orange);opacity:.18;}
.job-detail-head>*{position:relative;z-index:1;}
.job-detail-head h1{font-size:21px;margin-bottom:10px;}
.job-detail-meta{display:flex;gap:8px 22px;flex-wrap:wrap;font-size:12.5px;color:rgba(255,255,255,.72);font-weight:600;}
.job-detail-meta b{color:#fff;font-weight:700;}
.job-detail-head .badge{background:#fff!important;}
.job-detail-head .btn-ghost{background:rgba(255,255,255,.14);color:#fff;border-color:rgba(255,255,255,.3);}
.job-detail-head .btn-ghost:hover{background:rgba(255,255,255,.24);}
.back-link{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;color:var(--blue);font-weight:700;margin-bottom:14px;}

.tabs{display:flex;gap:6px;background:#fff;border:1px solid var(--border);padding:5px;border-radius:12px;margin-bottom:20px;overflow-x:auto;box-shadow:var(--shadow-sm);}
.tab{padding:10px 16px;font-weight:700;font-size:13px;color:var(--mute);border-radius:9px;white-space:nowrap;cursor:pointer;transition:all .15s;}
.tab:hover{background:var(--blue-soft);color:var(--blue);}
.tab.active{background:var(--blue);color:#fff;box-shadow:0 2px 8px rgba(0,92,161,.3);}

.checklist-row{display:flex;align-items:center;gap:14px;padding:13px 16px;border:1px solid var(--border);border-radius:12px;margin-bottom:9px;background:#fff;flex-wrap:wrap;transition:border-color .15s,box-shadow .15s;}
.checklist-row:hover{border-color:#bcd3e6;box-shadow:var(--shadow-sm);}
.checklist-name{flex:1;min-width:200px;font-weight:700;font-size:13.5px;}
.checklist-files{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px;}
.file-chip{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:20px;background:var(--blue-light);color:var(--blue);font-size:11.5px;font-weight:700;max-width:260px;}
.file-chip span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.file-chip button{color:var(--red);font-weight:900;padding:0 2px;}
.checklist-row select,.select-pill{border:1px solid var(--border);border-radius:8px;padding:7px 10px;font-weight:700;font-size:12px;background:#fff;}
.upload-btn{display:inline-flex;align-items:center;gap:6px;padding:7px 12px;border-radius:8px;background:var(--orange-light);color:var(--orange-dark);font-size:12px;font-weight:700;cursor:pointer;}
.upload-btn:hover{filter:brightness(.96);}

.plan-field{margin-bottom:18px;}
.plan-field label{display:block;font-size:12.5px;font-weight:800;color:var(--blue);margin-bottom:7px;}
.plan-field textarea{width:100%;min-height:70px;border:1px solid var(--border);border-radius:11px;padding:12px 14px;font-size:13px;resize:vertical;line-height:1.55;}

.stage-row{display:flex;align-items:center;gap:16px;padding:15px 8px;border-bottom:1px solid var(--border);border-radius:10px;}
.stage-row[data-stage]:hover{background:var(--blue-soft);}
.stage-row:last-child{border-bottom:none;}
.stage-num{width:30px;height:30px;border-radius:50%;flex-shrink:0;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:800;}
.stage-num.done{background:var(--green);color:#fff;}
.stage-num.inprogress{background:var(--orange);color:var(--blue-deep);}
.stage-num.pending{background:var(--bg);color:var(--mute);border:1px solid var(--border);}
.stage-info{flex:1;min-width:0;}
.stage-name{font-weight:700;font-size:13.5px;}
.stage-dates{font-size:11.5px;color:var(--mute);font-weight:600;margin-top:2px;}
.stage-bar{width:140px;height:8px;background:#e8edf2;border-radius:4px;overflow:hidden;flex-shrink:0;}
.stage-bar>div{height:100%;background:linear-gradient(90deg,var(--blue),#2a8ad4);}
.stage-pct{width:40px;text-align:right;font-size:12px;font-weight:800;color:var(--blue-dark);flex-shrink:0;}

.issue-card{border:1px solid var(--border);border-left:4px solid var(--orange);border-radius:12px;padding:16px 18px;margin-bottom:12px;background:#fff;}
.issue-card.sev-high{border-left-color:var(--red);} .issue-card.sev-low{border-left-color:var(--blue);}
.issue-top{display:flex;justify-content:space-between;gap:8px;align-items:flex-start;margin-bottom:8px;}
.issue-desc{font-weight:700;font-size:13.5px;line-height:1.45;flex:1;}
.issue-meta{font-size:11.5px;color:var(--mute);font-weight:600;margin-top:8px;}

.empty{text-align:center;padding:54px 20px;color:var(--mute);}
.empty h3{font-size:15px;color:var(--text);margin-bottom:6px;}
.empty p{font-size:13px;}

.workload-row{display:flex;align-items:center;gap:12px;padding:11px 6px;border-bottom:1px solid var(--border);border-radius:8px;}
.workload-row[data-job]{cursor:pointer;} .workload-row[data-job]:hover{background:var(--blue-soft);}
.workload-row:last-child{border-bottom:none;}
.workload-name{width:140px;font-size:13px;font-weight:700;flex-shrink:0;}
.workload-bar{flex:1;height:10px;background:var(--bg);border-radius:6px;overflow:hidden;}
.workload-bar>div{height:100%;background:linear-gradient(90deg,var(--orange),#f7c04d);border-radius:6px;}
.workload-count{width:26px;text-align:right;font-size:12.5px;font-weight:800;color:var(--blue);}
.two-col{display:grid;grid-template-columns:1.3fr 1fr;gap:18px;}

.overlay{display:none;position:fixed;inset:0;background:rgba(0,25,50,.5);z-index:39;}
.modal-overlay{display:none;position:fixed;inset:0;background:rgba(0,25,50,.55);backdrop-filter:blur(3px);z-index:60;align-items:center;justify-content:center;padding:16px;}
.modal-overlay.open{display:flex;}
.modal-box{background:#fff;border-radius:18px;width:100%;max-width:480px;max-height:90vh;overflow-y:auto;padding:28px;box-shadow:var(--shadow-lg);border-top:5px solid var(--orange);animation:pop .18s ease;}
@keyframes pop{from{transform:translateY(10px) scale(.98);opacity:0}to{transform:none;opacity:1}}
.modal-title{font-size:18px;font-weight:800;margin-bottom:5px;color:var(--blue-dark);}
.modal-desc{font-size:12.5px;color:var(--mute);font-weight:600;margin-bottom:20px;line-height:1.5;}
.form-field{margin-bottom:15px;}
.form-field label{display:block;font-size:12px;font-weight:800;margin-bottom:6px;}
.form-field input,.form-field select{width:100%;padding:11px 13px;border:1px solid var(--border);border-radius:10px;font-weight:600;background:#fff;}
.form-field input:disabled{background:var(--bg);color:var(--mute);}
.form-hint{font-size:11.5px;color:var(--mute);font-weight:600;margin-top:5px;line-height:1.5;}
.taxcode-row{display:flex;gap:8px;} .taxcode-row input{flex:1;}
.lookup-status{font-size:11.5px;font-weight:700;margin-top:7px;}
.lookup-status.ok{color:var(--green);} .lookup-status.err{color:var(--red);} .lookup-status.loading{color:var(--mute);}
.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:22px;}
.no-access{padding:14px 16px;background:var(--orange-light);border-radius:10px;font-size:12.5px;color:#8a5c00;font-weight:600;line-height:1.5;}

/* switch */
.switch-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px 0;border-bottom:1px solid var(--border);font-size:13px;font-weight:600;}
.switch-row:last-child{border-bottom:none;}
.switch{position:relative;width:42px;height:24px;flex-shrink:0;}
.switch input{opacity:0;width:0;height:0;position:absolute;}
.switch span{position:absolute;inset:0;background:#cfd6dd;border-radius:24px;cursor:pointer;transition:.2s;}
.switch span::before{content:"";position:absolute;width:18px;height:18px;left:3px;top:3px;background:#fff;border-radius:50%;transition:.2s;box-shadow:0 1px 3px rgba(0,0,0,.25);}
.switch input:checked+span{background:var(--blue);}
.switch input:checked+span::before{transform:translateX(18px);}
.notice{padding:13px 16px;border-radius:11px;font-size:12.5px;font-weight:600;line-height:1.6;}
.notice.info{background:var(--blue-light);color:var(--blue-dark);}
.notice.ok{background:var(--green-light);color:#16743f;}
.notice.err{background:var(--red-light);color:var(--red);}
.chat-pick{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 14px;border:1px solid var(--border);border-radius:10px;margin-top:8px;font-size:13px;font-weight:700;}
.chat-pick small{display:block;color:var(--mute);font-weight:600;font-size:11.5px;}
.set-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;}

/* toast */
#toastBox{position:fixed;top:78px;right:20px;z-index:100;display:flex;flex-direction:column;gap:10px;max-width:360px;}
.toast{background:#fff;border-left:5px solid var(--blue);box-shadow:var(--shadow-lg);border-radius:12px;padding:13px 18px;font-size:13px;font-weight:700;animation:slideIn .22s ease;}
.toast.ok{border-left-color:var(--green);} .toast.err{border-left-color:var(--red);}
@keyframes slideIn{from{transform:translateX(30px);opacity:0}to{transform:none;opacity:1}}

/* bottom nav (mobile) */
#bottomNav{display:none;}

@media (max-width:980px){.two-col,.set-grid{grid-template-columns:1fr;}.grid-stats{grid-template-columns:repeat(2,1fr);}}
@media (max-width:768px){
  #sidebar{transform:translateX(-100%);}
  #sidebar.open{transform:translateX(0);}
  #mainWrap{margin-left:0;}
  .hamburger{display:flex;}
  .overlay.open{display:block;}
  .job-table.hide-m{display:none;}
  .job-cards{display:flex;}
  #content{padding:18px 14px 96px;}
  #topbar{padding:0 14px;}
  .user-info{display:none;}
  .page-title{font-size:20px;}
  .stat-value{font-size:24px;} .stat-card{padding:15px;gap:12px;} .stat-icon{width:40px;height:40px;font-size:19px;}
  .stage-bar{width:70px;}
  .job-detail-head{padding:18px;}
  #bottomNav{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:35;background:#fff;border-top:1px solid var(--border);box-shadow:0 -4px 16px rgba(0,30,60,.08);padding:6px 4px calc(6px + env(safe-area-inset-bottom));}
  #bottomNav .bn-item{flex:1;display:flex;flex-direction:column;align-items:center;gap:3px;padding:6px 2px;font-size:10px;font-weight:700;color:var(--mute);border-radius:10px;}
  #bottomNav .bn-item svg{width:21px;height:21px;}
  #bottomNav .bn-item.active{color:var(--blue);} #bottomNav .bn-item.active svg{color:var(--orange-dark);}
  #toastBox{left:14px;right:14px;max-width:none;top:72px;}
}

/* login */
.login-wrap{min-height:100vh;display:grid;grid-template-columns:1.1fr 1fr;}
.login-hero{background:linear-gradient(150deg,var(--blue-deep),var(--blue) 75%,#1a80cc);color:#fff;padding:56px;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden;}
.login-hero::before{content:"";position:absolute;right:-120px;bottom:-120px;width:420px;height:420px;border-radius:50%;background:var(--orange);opacity:.2;}
.login-hero::after{content:"";position:absolute;right:90px;top:-80px;width:200px;height:200px;border-radius:50%;border:30px solid rgba(255,255,255,.07);}
.login-hero>*{position:relative;z-index:1;}
.login-hero h2{font-size:32px;line-height:1.25;font-weight:900;margin-bottom:16px;}
.login-hero h2 em{font-style:normal;color:var(--orange);}
.login-hero p{font-size:14px;color:rgba(255,255,255,.78);max-width:420px;line-height:1.7;}
.login-feats{display:flex;flex-direction:column;gap:10px;margin-top:26px;font-size:13px;font-weight:600;}
.login-feats div::before{content:"✓";display:inline-flex;width:22px;height:22px;border-radius:50%;background:var(--orange);color:var(--blue-deep);font-weight:900;font-size:12px;align-items:center;justify-content:center;margin-right:10px;}
.login-side{display:flex;align-items:center;justify-content:center;padding:30px;background:#fff;}
.login-card{width:100%;max-width:370px;}
.login-brand{display:flex;align-items:center;gap:12px;}
.login-brand .brand-mark{width:46px;height:46px;font-size:19px;}
.login-brand-name{font-weight:900;font-size:19px;color:var(--blue-dark);}
.login-brand-sub{font-size:10.5px;color:var(--mute);font-weight:700;letter-spacing:.08em;}
.login-card h1{font-size:23px;color:var(--blue-dark);margin:34px 0 6px;}
.login-card .sub{font-size:13px;color:var(--mute);margin-bottom:24px;font-weight:500;}
.login-field{margin-bottom:17px;}
.login-field label{display:block;font-size:12.5px;font-weight:800;margin-bottom:7px;}
.login-field input{width:100%;padding:13px 15px;border:1px solid var(--border);border-radius:11px;font-weight:600;font-size:14px;background:var(--blue-soft);}
.login-error{background:var(--red-light);color:var(--red);font-size:12.5px;font-weight:700;padding:11px 13px;border-radius:10px;margin-bottom:15px;display:none;}
.login-error.show{display:block;}
.login-btn{width:100%;padding:14px;background:linear-gradient(135deg,var(--blue),var(--blue-dark));color:#fff;border-radius:11px;font-weight:800;font-size:14px;margin-top:6px;box-shadow:0 6px 16px rgba(0,92,161,.3);}
.login-btn:hover{filter:brightness(1.08);}
.login-btn:disabled{opacity:.6;}
.login-foot{text-align:center;font-size:11px;color:var(--mute);font-weight:600;margin-top:24px;}
@media (max-width:860px){.login-wrap{grid-template-columns:1fr;}.login-hero{display:none;}.login-side{min-height:100vh;background:linear-gradient(160deg,var(--blue-deep),var(--blue));}.login-card{background:#fff;padding:32px 26px;border-radius:18px;box-shadow:var(--shadow-lg);}}
