:root{--abj-red:#e21b23;--abj-red-dark:#c9151d;--abj-black:#151515;--abj-text:#111827;--abj-muted:#718096;--abj-bg:#f4f5f7;--abj-line:#e2e5e9;--white:#fff}
*{box-sizing:border-box}
html,body{margin:0;padding:0;width:100%;max-width:100%;overflow-x:hidden}
body{font-family:Arial,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--abj-bg);color:var(--abj-text);line-height:1.45;font-size:14px}
a{color:inherit}
.top{position:fixed;z-index:100;top:0;left:0;right:0;height:72px;background:#fff;border-bottom:1px solid var(--abj-line);display:flex;align-items:center;padding:0 28px;gap:14px}
.menu-toggle{display:none;border:0;background:transparent;font-size:25px;width:40px;height:40px;align-items:center;justify-content:center;cursor:pointer;padding:0}
.brand{display:flex;align-items:center;gap:10px;min-width:0;white-space:nowrap;font-size:15px;font-weight:800;letter-spacing:.2px;color:#171717}
.brand img{width:auto;height:42px;max-width:64px;object-fit:contain;flex:0 0 auto}
.brand b{font-weight:900}
.account-box,.account-chip{margin-left:auto;display:flex;align-items:center;gap:10px;min-width:0;color:#20242a;font-size:12px}
.account-box strong{font-weight:900}
.account-box span{color:#737b85}
.account-chip{padding:7px 0}
.account-chip .account-label{font-size:9px;font-weight:900;letter-spacing:1px;color:#8a929b}
.account-chip strong{font-size:12px;font-weight:900}
.account-chip .account-pic{font-size:11px;color:#68717c;padding-left:9px;border-left:1px solid #e1e4e8}
.side{position:fixed;z-index:90;top:72px;bottom:0;left:0;width:245px;background:linear-gradient(180deg,#151515,#101112);padding:22px 14px;color:#aaa;overflow-y:auto;transition:left .22s ease}
.side:before{content:'CUSTOMER PORTAL';display:block;color:#666;font-size:9px;font-weight:800;letter-spacing:1.5px;padding:0 12px 12px}
.admin-page .side:before{content:'ADMIN PORTAL'}
.side a{display:block;color:#aaa;text-decoration:none;padding:12px;border-radius:7px;font-size:13px;margin:3px 0;white-space:nowrap}
.side a:hover,.side a.active{background:#292929;color:#fff;border-left:3px solid var(--abj-red);padding-left:9px}
.main{margin-left:245px;width:calc(100% - 245px);max-width:none;min-width:0;padding:105px 42px 60px;overflow-x:hidden}
.main>*{width:100%;max-width:1450px;margin-left:auto;margin-right:auto;min-width:0}
.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:22px}
.page-head h1{margin:4px 0 3px;font-size:32px;line-height:1.15;font-weight:900;letter-spacing:-.5px;color:#0d1724}
.page-head>.btn,.head-actions{flex-shrink:0}
.back-link{display:inline-block;color:var(--abj-red);font-size:12px;font-weight:800;margin-bottom:8px}
.muted{color:var(--abj-muted);font-size:13px}
.small-text{font-size:11px}
.red{color:var(--abj-red)}
.card{background:#fff;border:1px solid var(--abj-line);border-radius:12px;padding:24px;margin-bottom:18px;box-shadow:0 4px 18px rgba(16,24,40,.035)}
.grid,.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.full{grid-column:1/-1}
.detail-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,.85fr);gap:18px;width:100%;max-width:1450px}
.detail-layout>.card{width:100%;min-width:0;margin-bottom:0}
.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}
.stat{background:#fff;border:1px solid var(--abj-line);border-radius:11px;padding:20px;position:relative;overflow:hidden;min-width:0}
.stat:before{content:'';position:absolute;left:0;top:0;bottom:0;width:3px;background:#dfe2e6}
.stat span{display:block;color:#777;font-size:10px;text-transform:uppercase;font-weight:800;letter-spacing:.6px;line-height:1.3}
.stat b{display:block;margin-top:4px;font-size:27px;color:#111827}
.btn{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;border:1px solid transparent;border-radius:8px;padding:11px 17px;min-height:42px;font-weight:900;font-size:11px;letter-spacing:.15px;cursor:pointer;white-space:nowrap}
.primary{background:var(--abj-red);color:#fff;box-shadow:0 3px 8px rgba(227,27,35,.16)}
.primary:hover{background:var(--abj-red-dark)}
.secondary{background:#fff;color:#222;border-color:#d7dbe0}
.secondary:hover{background:#fafafa}
.input,input,select,textarea{width:100%;padding:11px 12px;border:1px solid #d8dce1;border-radius:7px;background:#fff;color:#171717;font:inherit;font-size:13px;min-height:44px;outline:none}
input:focus,select:focus,textarea:focus{border-color:var(--abj-red);box-shadow:0 0 0 2px rgba(226,27,35,.08)}
input:disabled{background:#f4f5f6;color:#666}
textarea{resize:vertical;min-height:72px}
label{display:block;margin-bottom:7px;color:#39414a;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.25px}
.field-help{display:block;color:#999;font-size:10px;margin-top:5px}
.actions,.head-actions{display:flex;justify-content:flex-end;gap:9px}
.actions{margin-top:22px}
.actions-center{justify-content:center;flex-wrap:wrap}
.form-footer{display:flex;justify-content:flex-end;gap:10px;margin:0 0 20px}
.alert{padding:13px 15px;border-radius:8px;margin-bottom:18px;font-size:12px;font-weight:700}
.error{background:#fff0f1;border:1px solid #f4c4c7;color:#b51920}
.section-title{display:flex;gap:13px;align-items:center;margin-bottom:22px}
.section-title h2,.section-heading h2{margin:0;font-size:20px;font-weight:800;color:#101820}
.section-title p,.section-heading p{margin:3px 0 0;color:#7a8491;font-size:12px}
.step,.detail-number{display:inline-flex;align-items:center;justify-content:center;background:#151515;color:#fff;font-weight:900;flex:0 0 auto}
.step{width:38px;height:38px;border-radius:9px;font-size:11px}
.detail-row{border:1px solid #e2e4e7;border-radius:10px;padding:17px;margin:14px 0;background:#fbfcfd}
.detail-row-head,.pouring-detail-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.detail-row-head>div,.pouring-detail-title>div{display:flex;align-items:center;gap:9px;min-width:0}
.detail-row-head strong,.pouring-detail-title strong{font-size:12px}
.detail-number{width:30px;height:30px;border-radius:7px;font-size:10px}
.remove-detail{width:30px;height:30px;border:1px solid #ddd;background:#fff;border-radius:6px;color:#999;font-size:20px;line-height:1;cursor:pointer}
.remove-detail:hover{color:var(--abj-red);border-color:var(--abj-red)}
.add-detail{margin-top:2px;background:#fff;border:1px dashed #c9ccd1;color:#333}
.add-detail:hover{border-color:var(--abj-red);color:var(--abj-red)}
.total-bar{display:flex;justify-content:space-between;align-items:center;margin-top:18px;padding:14px 16px;background:#f5f6f8;border:1px solid #eceef1;border-radius:8px;font-size:12px}
.total-bar strong{font-size:16px}
.date-input-wrap{position:relative}.date-input-wrap input{padding-right:38px}.date-input-wrap span{position:absolute;right:12px;top:12px;color:#999;pointer-events:none}
.submitted-card{text-align:center;padding:45px 24px;box-shadow:0 6px 25px rgba(0,0,0,.05)}
.success-icon{width:50px;height:50px;border-radius:50%;background:#eaf7ee;color:#18733b;display:flex;align-items:center;justify-content:center;margin:0 auto 15px;font-size:25px;font-weight:900}
.submitted-card h2{margin:8px 0;font-size:22px}.ron{font-size:28px;font-weight:900;margin:18px 0;color:var(--abj-red)}
.status{display:inline-flex;align-items:center;justify-content:center;padding:5px 9px;border-radius:20px;font-size:9px;font-weight:900;background:#eee;white-space:nowrap;text-transform:uppercase}
.status.confirmed,.status.completed,.status-pouring-scheduled{background:#eaf7ee;color:#18733b}.status.pouring{background:#fff4df;color:#9a6200}.status.submitted,.status.waiting{background:#f0f1f2;color:#555}
.hero-card{background:linear-gradient(135deg,#151515,#242526);color:#fff;padding:28px;border:0;border-radius:12px;box-shadow:0 8px 25px rgba(0,0,0,.08);position:relative;overflow:hidden}
.hero-card:after{content:'ABJ';position:absolute;right:28px;bottom:-30px;font-size:110px;font-weight:900;color:rgba(255,255,255,.035);letter-spacing:-6px}
.hero-card .hero-kicker{font-size:10px;font-weight:900;letter-spacing:1px;color:#ff4249}.hero-card h2{font-size:27px;margin:7px 0}.hero-card p{color:#aaa;font-size:13px;margin:0 0 10px;max-width:720px}.hero-card .hero-description{margin-top:8px}
.mobile-only{display:none}.desktop-action{display:inline-flex}
.section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:16px}.text-link,.view-link{color:var(--abj-red);text-decoration:none;font-weight:900;font-size:10px;white-space:nowrap}.count-label{font-size:10px;color:#777;background:#f1f2f3;padding:6px 9px;border-radius:20px;white-space:nowrap}
.recent-list{margin-top:8px;border:1px solid var(--abj-line);border-radius:10px;overflow:hidden}.recent-item{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 18px;border-top:1px solid #edf0f2;background:#fff;text-decoration:none;color:#171717;min-width:0}.recent-item:first-child{border-top:0}.recent-item:hover{background:#fafafa}
.recent-main{display:flex;flex-direction:column;gap:3px;min-width:0;overflow:hidden}.request-no{font-size:11px;font-weight:900;letter-spacing:.2px}.recent-main strong{font-size:14px;overflow-wrap:anywhere}.recent-meta{display:flex;align-items:center;gap:14px;flex-shrink:0}.date-chip{font-size:10px;color:#555}.view-arrow{font-size:20px;color:#aaa}.empty{padding:30px 10px;text-align:center;color:#888;font-size:13px}
.request-table-wrap{border:1px solid var(--abj-line);border-radius:10px;overflow:auto}.request-table-wrap .table{margin:0}.table{width:100%;border-collapse:collapse;font-size:12px}.table th,.table td{text-align:left;padding:13px 14px;border-bottom:1px solid #e5e6e8;vertical-align:middle}.table th{background:#fafbfc;font-size:9px;color:#7b8490;font-weight:800;letter-spacing:.5px;white-space:nowrap}.table tr:last-child td{border-bottom:0}.mobile-request-list{display:none}
.request-card{display:block;color:#171717;text-decoration:none;border:1px solid var(--abj-line);border-radius:9px;padding:15px;margin:10px 0;background:#fff;box-shadow:0 2px 10px rgba(0,0,0,.025)}.request-card-top{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:9px}.request-card strong{display:block;font-size:14px;margin-bottom:3px}.request-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:15px 0}.request-card-grid span{background:#f7f8fa;border:1px solid #eef0f2;padding:9px;border-radius:6px;font-size:12px;font-weight:700;min-width:0}.request-card-grid small{display:block;color:#888;font-size:8px;margin-bottom:2px}
.request-summary{padding:27px}.summary-top{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.summary-top h1{margin:5px 0;font-size:32px;letter-spacing:-.5px}.summary-info{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border-top:1px solid #e8ebee;margin-top:20px;padding-top:5px}.summary-info div{padding:13px 18px 10px 0;min-width:0}.summary-info small,.info-grid small{display:block;color:#888;font-size:9px;font-weight:800;letter-spacing:.45px;margin-bottom:4px}.summary-info strong,.info-grid strong{display:block;font-size:12px;line-height:1.35;overflow-wrap:anywhere}.pouring-detail-list{margin-top:8px}.pouring-detail{border:1px solid #e3e5e8;border-radius:9px;padding:17px;margin-top:12px;background:#fff;box-shadow:0 2px 9px rgba(0,0,0,.025);min-width:0}.pouring-detail-title{padding-bottom:13px;border-bottom:1px solid #edf0f2}.volume-badge{background:#151515;color:#fff;border-radius:20px;padding:6px 9px;font-size:10px;font-weight:900;white-space:nowrap}.info-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border-top:1px solid #eee;padding-top:6px}.info-grid>div{padding:12px 15px 7px 0;min-width:0}
.timeline{position:relative;margin:10px 0 0 6px}.timeline:before{content:"";position:absolute;left:6px;top:7px;bottom:7px;width:1px;background:#ddd}.timeline-item{position:relative;display:flex;gap:13px;padding:0 0 24px}.timeline-dot{width:13px;height:13px;border-radius:50%;background:var(--abj-red);border:3px solid #fff;box-shadow:0 0 0 1px var(--abj-red);z-index:1;flex:0 0 auto;margin-top:2px}.timeline-item strong{display:block;font-size:11px;text-transform:uppercase}.timeline-item small{display:block;color:#888;font-size:10px;margin-top:3px}.timeline-card{min-height:100%}
.mobile-bottom-actions{display:none}.head-actions{display:flex;gap:8px}.admin-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.admin-welcome{border-left:4px solid var(--abj-red)}
.login{min-height:100vh;display:grid;grid-template-columns:1fr 500px;background:#f4f5f7}.loginDark{background:linear-gradient(145deg,#101112,#202224);color:#fff;padding:15vh 10vw;display:flex;flex-direction:column;justify-content:center;position:relative;overflow:hidden}.loginDark h1{font-size:45px}.loginDark:after{content:'ABJ';position:absolute;right:7%;bottom:-30px;font-size:180px;font-weight:900;color:rgba(255,255,255,.035)}.loginCard{background:#fff;min-height:100vh;display:flex;flex-direction:column;justify-content:center;box-shadow:-8px 0 30px rgba(0,0,0,.04);padding:50px}.loginCard h2{font-size:25px;margin-bottom:5px}.loginCard form{margin-top:18px}.loginCard label{margin-top:13px}
@media(max-width:1100px){.main{padding-left:28px;padding-right:28px}.detail-layout{grid-template-columns:1fr}.summary-info,.info-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stats{gap:10px}}
@media(max-width:900px){
 .top{height:64px;padding:0 14px;gap:8px}.menu-toggle{display:inline-flex}.brand{font-size:13px}.brand img{height:38px;max-width:55px}.account-box,.account-chip{display:none}
 .side{top:64px;left:-260px;width:245px}.menu-open .side{left:0;box-shadow:8px 0 25px rgba(0,0,0,.18)}.mobile-overlay{display:none}.menu-open .mobile-overlay{display:block;position:fixed;inset:64px 0 0;background:rgba(0,0,0,.35);z-index:80}
 .main{margin-left:0!important;width:100%!important;max-width:100%!important;padding:88px 18px 50px!important}.main>*{max-width:100%!important}.page-head{align-items:flex-start;margin-bottom:18px}.page-head h1{font-size:27px}.page-head>.btn,.desktop-action,.head-actions{display:none}.mobile-only{display:inline-flex}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.summary-info,.info-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-layout{grid-template-columns:1fr}.detail-layout>.card{margin-bottom:0}.login{grid-template-columns:1fr}.loginDark{display:none}.loginCard{min-height:auto;box-shadow:none;margin:18px;border-radius:14px;padding:28px}
}
@media(max-width:600px){
 body{font-size:14px}.top{padding:0 12px}.brand{font-size:12px}.brand img{height:36px;max-width:52px}.main{padding:82px 12px 35px!important}.page-head{width:100%;margin-bottom:15px}.page-head h1{font-size:24px}.page-head .muted{font-size:12px;max-width:280px}.card{padding:17px;border-radius:9px;margin-bottom:13px}.grid,.form-grid,.summary-info,.info-grid{grid-template-columns:1fr;gap:12px}.hero-card{padding:22px!important}.hero-card h2{font-size:25px;line-height:1.15;margin:8px 0 10px}.hero-card p{font-size:13px;line-height:1.55;max-width:100%}.hero-card .mobile-only{width:100%}.stats{width:100%;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:13px}.stat{min-width:0;padding:15px 13px}.stat span{font-size:9px;white-space:normal;line-height:1.3}.stat b{font-size:22px}.section-heading{align-items:flex-start;width:100%;min-width:0}.section-heading h2{font-size:19px}.section-heading p{font-size:11px}.text-link{margin-top:4px}.recent-item{width:100%;min-width:0;padding:14px;align-items:flex-start;gap:10px}.recent-main{min-width:0;overflow:hidden}.recent-main strong,.recent-main .small-text,.request-no{overflow-wrap:anywhere;word-break:break-word}.recent-meta{flex:0 0 auto;flex-direction:column;align-items:flex-end;gap:5px}.btn{max-width:100%}.request-table-wrap{display:none}.mobile-request-list{display:block}.request-card-grid{grid-template-columns:1fr}.request-summary{padding:18px}.summary-top{align-items:flex-start;flex-direction:column}.summary-top h1{font-size:24px}.summary-top .status{align-self:flex-start}.summary-info{margin-top:14px}.summary-info div{padding:10px 0;border-bottom:1px solid #f0f0f0}.pouring-detail{padding:14px}.info-grid{border-top:0;padding-top:0}.info-grid>div{padding:8px 0;border-bottom:1px solid #f1f1f1}.timeline-card{margin-top:0}.mobile-bottom-actions{display:flex;gap:8px;margin-bottom:15px}.mobile-bottom-actions .btn{flex:1}.form-footer{flex-direction:column-reverse}.form-footer .btn,.actions .btn{width:100%}.actions{flex-direction:column}.submitted-card{padding:30px 15px}.ron{font-size:23px}.loginCard{margin:10px;padding:24px 18px}.loginCard h2{font-size:22px}.admin-page .card{overflow:hidden}.admin-page .table{display:block;width:100%;overflow-x:auto;white-space:nowrap;-webkit-overflow-scrolling:touch}
}

/* === Responsive refinement / compact desktop === */
.request-table-wrap{overflow:hidden}
.request-table-wrap .table{table-layout:fixed;width:100%}
.request-table-wrap .table th,.request-table-wrap .table td{overflow-wrap:anywhere;word-break:break-word}
.request-table-wrap .table th:nth-child(1){width:12%}
.request-table-wrap .table th:nth-child(2){width:14%}
.request-table-wrap .table th:nth-child(3){width:16%}
.request-table-wrap .table th:nth-child(4){width:21%}
.request-table-wrap .table th:nth-child(5){width:12%}
.request-table-wrap .table th:nth-child(6){width:13%}
.request-table-wrap .table th:nth-child(7){width:12%}
.info-grid>div,.summary-info>div{display:flex;flex-direction:column;justify-content:flex-start;min-height:56px}
.info-grid>div.full,.summary-info>div.full{display:block}
.date-chip{white-space:nowrap}
.account-chip{max-width:min(46vw,520px)}
.account-chip strong,.account-chip .account-pic{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mobile-back-button{display:none}

@media(max-width:1100px) and (min-width:901px){
 .main{padding-left:22px;padding-right:22px}
 .card{padding:20px}
 .table th,.table td{padding:10px 8px;font-size:11px}
 .table th{font-size:8px}
 .page-head{gap:12px}
 .page-head h1{font-size:29px}
}
@media(max-width:900px){
 .main{overflow-x:hidden}
 .page-head{display:flex;flex-direction:column;gap:8px}
 .mobile-back-button{display:inline-flex;margin-bottom:3px}
 .page-head .mobile-back-button{align-self:flex-start}
 .request-table-wrap{display:none}
 .mobile-request-list{display:block}
 .detail-layout{width:100%;max-width:100%}
 .card,.stat,.recent-list,.request-card,.pouring-detail{max-width:100%;min-width:0}
 .section-heading{flex-wrap:wrap}
 .account-chip{max-width:100%}
}
@media(max-width:600px){
 .top .brand span{overflow:hidden;text-overflow:ellipsis}
 .top .brand b{font-size:10px}
 .main{padding-left:10px!important;padding-right:10px!important}
 .card{padding:15px}
 .page-head h1{font-size:23px}
 .page-head .muted{max-width:none}
 .page-head .mobile-back-button{width:auto;min-height:38px;padding:9px 12px}
 .summary-info,.info-grid{grid-template-columns:1fr!important}
 .summary-info>div,.info-grid>div{min-height:0;padding:10px 0}
 .pouring-detail-title{align-items:flex-start}
 .pouring-detail-title>div{min-width:0}
 .pouring-detail-title strong{overflow-wrap:anywhere}
 .volume-badge{flex:0 0 auto}
 .mobile-bottom-actions{display:flex}
 .mobile-bottom-actions .btn{min-width:0}
 .recent-item{display:grid;grid-template-columns:minmax(0,1fr) auto}
 .recent-meta{min-width:70px}
 .request-card-grid span{overflow-wrap:anywhere}
 .form-grid,.grid{grid-template-columns:1fr!important}
}
.status.cancelled{background:#fff0f1;color:#b51920}


/* =========================================================
   Customer Dashboard visual refinement
   Scoped to .customer-dashboard so other pages remain unchanged.
   ========================================================= */
.customer-dashboard .nav-icon{
    display:inline-flex;
    width:24px;
    margin-right:7px;
    align-items:center;
    justify-content:center;
    color:#8f969f;
    font-size:15px;
    font-weight:900;
}
.customer-dashboard .side a:hover .nav-icon,
.customer-dashboard .side a.active .nav-icon{
    color:#fff;
}

.customer-dashboard .page-head h1{
    position:relative;
    letter-spacing:-.8px;
}
.customer-dashboard .page-head h1:before{
    content:'';
    display:inline-block;
    width:5px;
    height:30px;
    margin-right:11px;
    vertical-align:-4px;
    border-radius:4px;
    background:var(--abj-red);
}

.customer-dashboard .hero-card{
    background:
        radial-gradient(circle at 92% 20%,rgba(226,27,35,.14),transparent 28%),
        linear-gradient(135deg,#111315 0%,#24272a 100%);
    border-left:4px solid var(--abj-red);
    padding:30px 31px;
}
.customer-dashboard .hero-card .hero-kicker{
    display:flex;
    align-items:center;
    gap:7px;
    color:#ff4a51;
}
.customer-dashboard .hero-icon{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:20px;
    height:20px;
    border:1px solid rgba(255,255,255,.16);
    border-radius:50%;
    color:#fff;
    font-size:9px;
}

.customer-dashboard .dashboard-stats{
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:14px;
}
.customer-dashboard .dashboard-stats .stat{
    display:flex;
    align-items:center;
    gap:13px;
    padding:17px 18px;
    min-height:91px;
    border:1px solid #e1e5e9;
    box-shadow:0 4px 14px rgba(16,24,40,.035);
}
.customer-dashboard .dashboard-stats .stat:before{
    width:4px;
}
.customer-dashboard .dashboard-stats .stat-icon{
    width:42px;
    height:42px;
    flex:0 0 42px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:11px;
    font-size:19px;
    font-weight:900;
}
.customer-dashboard .dashboard-stats .stat-copy{
    min-width:0;
}
.customer-dashboard .dashboard-stats .stat-copy span{
    margin:0;
}
.customer-dashboard .dashboard-stats .stat-copy b{
    margin-top:2px;
    font-size:26px;
}
.customer-dashboard .stat-total:before{background:#2563eb}
.customer-dashboard .stat-total .stat-icon{background:#eff6ff;color:#2563eb}
.customer-dashboard .stat-scheduled:before{background:#d97706}
.customer-dashboard .stat-scheduled .stat-icon{background:#fff7ed;color:#d97706}
.customer-dashboard .stat-pouring:before{background:#7c3aed}
.customer-dashboard .stat-pouring .stat-icon{background:#f5f3ff;color:#7c3aed}
.customer-dashboard .stat-completed:before{background:#16a34a}
.customer-dashboard .stat-completed .stat-icon{background:#f0fdf4;color:#16a34a}

.customer-dashboard .recent-list{
    box-shadow:0 4px 16px rgba(16,24,40,.025);
}
.customer-dashboard .recent-item{
    position:relative;
    padding:17px 18px 17px 21px;
    transition:background .15s ease,transform .15s ease;
}
.customer-dashboard .recent-item:before{
    content:'';
    position:absolute;
    left:0;
    top:0;
    bottom:0;
    width:3px;
    background:#e5e7eb;
}
.customer-dashboard .recent-item:hover{
    background:#fcfcfd;
    transform:translateX(1px);
}
.customer-dashboard .recent-item:hover:before{
    background:var(--abj-red);
}
.customer-dashboard .row-icon{
    display:inline-block;
    width:17px;
    color:#8b95a1;
    font-size:11px;
    text-align:center;
}
.customer-dashboard .recent-main strong{
    display:flex;
    align-items:center;
    gap:3px;
}
.customer-dashboard .date-chip{
    padding:5px 8px;
    border-radius:6px;
    background:#f5f6f8;
    border:1px solid #eceef1;
}
.customer-dashboard .view-arrow{
    width:27px;
    height:27px;
    display:flex;
    align-items:center;
    justify-content:center;
    border:1px solid #e4e7ea;
    border-radius:50%;
    background:#fff;
    font-size:18px;
    transition:.15s ease;
}
.customer-dashboard .recent-item:hover .view-arrow{
    color:var(--abj-red);
    border-color:#f1b3b6;
    background:#fff5f5;
}

@media(max-width:900px){
    .customer-dashboard .dashboard-stats{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
    .customer-dashboard .page-head h1:before{
        height:25px;
        margin-right:8px;
    }
}
@media(max-width:600px){
    .customer-dashboard .dashboard-stats{
        gap:8px;
    }
    .customer-dashboard .dashboard-stats .stat{
        min-height:82px;
        padding:13px 11px;
        gap:9px;
    }
    .customer-dashboard .dashboard-stats .stat-icon{
        width:35px;
        height:35px;
        flex-basis:35px;
        font-size:16px;
        border-radius:9px;
    }
    .customer-dashboard .dashboard-stats .stat-copy b{
        font-size:21px;
    }
    .customer-dashboard .hero-card{
        border-left-width:3px;
        padding:22px 19px!important;
    }
}


/* =========================================================
   Customer Dashboard — premium header refinement
   Scoped to customer dashboard only.
   ========================================================= */
.customer-dashboard .top{
    height:76px;
    padding:0 30px;
    gap:16px;
    background:
        linear-gradient(90deg,#111315 0%,#191b1e 48%,#222428 100%);
    border-bottom:3px solid var(--abj-red);
    box-shadow:0 5px 20px rgba(0,0,0,.12);
}
.customer-dashboard .top:after{
    content:'';
    position:absolute;
    right:0;
    top:0;
    width:230px;
    height:100%;
    pointer-events:none;
    background:linear-gradient(90deg,transparent,rgba(226,27,35,.08));
}
.customer-dashboard .brand{
    position:relative;
    z-index:1;
    gap:12px;
    color:#fff;
    font-size:16px;
    letter-spacing:.2px;
}
.customer-dashboard .brand img{
    height:46px;
    max-width:70px;
    filter:drop-shadow(0 2px 5px rgba(0,0,0,.3));
}
.customer-dashboard .brand span{
    display:flex;
    flex-direction:column;
    line-height:1.05;
    gap:4px;
}
.customer-dashboard .brand b{
    color:#ff454c;
    font-size:9px;
    letter-spacing:1.6px;
}
.customer-dashboard .account-chip{
    position:relative;
    z-index:1;
    margin-left:auto;
    padding:8px 13px;
    gap:9px;
    border:1px solid rgba(255,255,255,.12);
    border-radius:10px;
    background:rgba(255,255,255,.065);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
    color:#fff;
}
.customer-dashboard .account-chip .account-label{
    color:#aeb4bc;
    font-size:8px;
    letter-spacing:1.2px;
}
.customer-dashboard .account-chip strong{
    color:#fff;
    font-size:11px;
}
.customer-dashboard .account-chip .account-pic{
    color:#cbd0d6;
    border-left-color:rgba(255,255,255,.16);
}
.customer-dashboard .account-chip:before{
    content:'';
    width:7px;
    height:7px;
    flex:0 0 7px;
    border-radius:50%;
    background:#31c56b;
    box-shadow:0 0 0 3px rgba(49,197,107,.12);
}
.customer-dashboard .menu-toggle{
    position:relative;
    z-index:2;
    color:#fff;
    border:1px solid rgba(255,255,255,.14);
    border-radius:8px;
    background:rgba(255,255,255,.06);
}
.customer-dashboard .menu-toggle:hover{
    background:rgba(255,255,255,.12);
}

@media(max-width:900px){
    .customer-dashboard .top{
        height:66px;
        padding:0 14px;
        border-bottom-width:2px;
    }
    .customer-dashboard .brand{
        gap:9px;
        font-size:13px;
    }
    .customer-dashboard .brand img{
        height:38px;
        max-width:57px;
    }
    .customer-dashboard .brand b{
        font-size:8px;
        letter-spacing:1.2px;
    }
}

@media(max-width:600px){
    .customer-dashboard .top{
        padding:0 10px;
    }
    .customer-dashboard .brand{
        font-size:12px;
    }
    .customer-dashboard .brand img{
        height:35px;
        max-width:52px;
    }
}
