/* Customer portal refinements; base layout follows the supplied admin panel. */
.customer-welcome{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px;padding:26px 28px;border-radius:16px;background:linear-gradient(120deg,#201d48,#5142a8);color:#fff}
.customer-welcome h2{font-size:24px;font-weight:800;margin:0 0 7px}.customer-welcome p{margin:0;color:#d4d1ef;font-size:14px}
.customer-welcome .date-display{color:#e6e3ff;font-size:13px;white-space:nowrap}
.customer-stat-card{height:100%;padding:22px;border:1px solid #ececf4;border-radius:14px;background:#fff;box-shadow:0 5px 20px rgba(26,24,67,.04)}
.customer-stat-card .stat-icon{width:44px;height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:20px;margin-bottom:16px}
.customer-stat-card .stat-label{color:#77778d;font-size:13px}.customer-stat-card .stat-value{font-size:28px;font-weight:800;color:#22213c;margin:5px 0}
.customer-panel{background:#fff;border:1px solid #ececf4;border-radius:14px;padding:22px;box-shadow:0 5px 20px rgba(26,24,67,.035)}
.customer-panel-title{font-size:16px;font-weight:700;color:#22213c;margin:0 0 18px}
.customer-table{vertical-align:middle}.customer-table th{font-size:11px;text-transform:uppercase;letter-spacing:.05em;color:#85849a;background:#f8f8fc;border-bottom:0;padding:13px}.customer-table td{font-size:13px;padding:14px 13px}
.customer-form-card{max-width:900px}.customer-form-card .form-label{font-size:13px;font-weight:600;color:#45445d}.customer-form-card .form-control,.customer-form-card .form-select{min-height:44px;border-color:#e4e4ef;border-radius:9px;font-size:14px}
.customer-auth-page{min-height:100vh;background:#f5f6fc;font-family:Inter,sans-serif;display:flex;align-items:stretch}
.customer-auth-page .login-wrapper{width:100%;min-height:100vh}.customer-auth-page .login-form-side{width:50%;display:flex;align-items:center;justify-content:center;padding:40px 6%}
.customer-auth-page .login-form-box{width:100%;max-width:440px}.customer-auth-page .login-form-box h2{font-size:30px;font-weight:800;color:#211f43;margin-bottom:8px}
.customer-auth-page .login-form-box p{color:#85849a;font-size:14px;margin-bottom:26px}
.customer-auth-page .form-control{min-height:48px;border-radius:9px;border-color:#e3e3ee;font-size:14px}
.customer-auth-page .btn-auth{background:#6554ce;color:#fff;border:0;border-radius:9px;min-height:48px;font-weight:700}
.customer-auth-page .btn-auth:hover{background:#5142a8;color:#fff}
.customer-auth-page .auth-links{font-size:13px;color:#77778d}.customer-auth-page .auth-links a{color:#5d4bc5;font-weight:700;text-decoration:none}
.customer-auth-page .auth-brand{font-size:23px;font-weight:800;display:flex;align-items:center;gap:12px;margin-bottom:50px;color:#fff}
.customer-auth-page .auth-brand .brand-icon{width:45px;height:45px;border-radius:12px;background:#7965ed;display:flex;align-items:center;justify-content:center;font-size:23px}
.status-pill{display:inline-block;padding:5px 10px;border-radius:30px;background:#f0efff;color:#5c4bc2;font-size:11px;font-weight:700;text-transform:capitalize}
.status-delivered{background:#e8f8ef;color:#218653}.status-in_transit,.status-out_for_delivery{background:#eaf3ff;color:#2875c7}.status-pending,.status-processing{background:#fff5e5;color:#a96c12}
.ticket-message{padding:15px;border:1px solid #ececf4;border-radius:12px;margin-bottom:12px}.ticket-message.admin-reply{background:#f8f7ff}
@media(max-width:767px){.customer-welcome{display:block;padding:22px}.customer-welcome .date-display{margin-top:14px}.customer-auth-page .login-form-side{width:100%;padding:32px 22px}.customer-auth-page .login-visual{display:none}}

/* Authentication split-screen layout mirrors admin/login.php. */
.customer-auth-page .login-visual{width:50%;background:linear-gradient(145deg,#17162f,#29245c 65%,#5142a8);display:flex;align-items:center;justify-content:center;padding:60px;color:#fff;position:relative;overflow:hidden}
.customer-auth-page .login-visual:before,.customer-auth-page .login-visual:after{content:'';position:absolute;border:1px solid rgba(255,255,255,.1);border-radius:50%}
.customer-auth-page .login-visual:before{width:450px;height:450px;top:-180px;right:-130px}
.customer-auth-page .login-visual:after{width:600px;height:600px;bottom:-350px;left:-180px}
.customer-auth-page .visual-content{max-width:470px;position:relative;z-index:2}
.customer-auth-page .visual-content h1{font-size:43px;font-weight:800;line-height:1.25;margin-bottom:22px}
.customer-auth-page .visual-content p{color:#c5c3e0;font-size:15px;line-height:1.9}
.customer-auth-page .visual-features{margin-top:45px}
.customer-auth-page .feature-item{display:flex;align-items:center;gap:13px;margin-bottom:19px;color:#e3e1f5;font-size:14px}
.customer-auth-page .feature-check{width:26px;height:26px;flex:0 0 26px;border-radius:50%;background:rgba(128,109,255,.25);display:flex;align-items:center;justify-content:center;color:#b6aaff}
.customer-auth-page .login-form-side{width:50%;display:flex;align-items:center;justify-content:center;padding:40px}
.customer-auth-page .form-label{font-size:13px;font-weight:700;color:#41415a;margin-bottom:9px}
.customer-auth-page .form-control:focus{border-color:#7662e7;box-shadow:0 0 0 3px rgba(118,98,231,.12)}
@media(max-width:900px){.customer-auth-page .login-visual{display:none}.customer-auth-page .login-form-side{width:100%}}


/* CUSTOMER AUTHENTICATION: desktop split-screen matching the admin login reference */
html, body.customer-auth-page { width:100%; min-height:100%; margin:0; }
body.customer-auth-page { min-height:100vh; padding:0; overflow-x:hidden; background:#f5f6fc; }
.customer-auth-page .login-wrapper {
    display:flex !important; flex-direction:row !important; flex-wrap:nowrap !important;
    align-items:stretch; width:100%; min-height:100vh; margin:0;
}
.customer-auth-page .login-visual {
    display:flex !important; flex:0 0 50%; width:50%; min-height:100vh;
    align-items:center; justify-content:center; padding:60px;
    background:linear-gradient(145deg,#17162f 0%,#29245c 65%,#5142a8 100%);
    color:#fff; position:relative; overflow:hidden;
}
.customer-auth-page .visual-content { width:100%; max-width:470px; position:relative; z-index:2; }
.customer-auth-page .visual-content h1 {
    max-width:440px; font-size:clamp(32px,2.2vw,43px); line-height:1.25;
    font-weight:800; letter-spacing:-.7px; margin:0 0 20px; color:#fff;
}
.customer-auth-page .visual-content p { max-width:450px; color:#c5c3e0; font-size:14px; line-height:1.9; margin:0; }
.customer-auth-page .auth-brand { margin-bottom:58px; font-size:19px; letter-spacing:-.2px; }
.customer-auth-page .auth-brand .brand-icon { width:44px; height:44px; border-radius:11px; background:#7965ed; }
.customer-auth-page .visual-features { margin-top:34px; }
.customer-auth-page .feature-item { margin-bottom:16px; font-size:13px; }
.customer-auth-page .feature-check { width:25px; height:25px; flex:0 0 25px; background:rgba(128,109,255,.28); color:#c5baff; }
.customer-auth-page .login-form-side {
    display:flex !important; flex:0 0 50%; width:50%; min-height:100vh;
    align-items:center; justify-content:center; padding:56px 7%;
    background:#f5f6fc; overflow-y:auto;
}
.customer-auth-page .login-form-box { width:100%; max-width:405px; margin:auto; }
.customer-auth-page .login-form-box h2 { color:#25243e; font-size:24px; font-weight:800; letter-spacing:-.4px; margin:0 0 7px; }
.customer-auth-page .login-form-box > p { color:#85869b; font-size:12px; line-height:1.6; margin:0 0 27px; }
.customer-auth-page .form-label { display:block; color:#41415a; font-size:11px; font-weight:700; margin-bottom:8px; }
.customer-auth-page .form-control {
    width:100%; min-height:43px; padding:11px 13px; border:1px solid #e6e6ef;
    border-radius:9px; background:#fff; color:#25243e; font-size:12px; box-shadow:none;
}
.customer-auth-page .form-control:focus { border-color:#7662e7; box-shadow:0 0 0 3px rgba(118,98,231,.10); }
.customer-auth-page .btn-auth { min-height:43px; border:0; border-radius:8px; background:#5845c4; color:#fff; font-size:11px; font-weight:700; }
.customer-auth-page .btn-auth:hover { background:#4936b1; color:#fff; }
.customer-auth-page .auth-links { font-size:11px; color:#85869b; }
.customer-auth-page .auth-links a { color:#5845c4; font-weight:700; }
.customer-auth-page .auth-security { padding:12px 13px; margin-top:19px; border-radius:8px; background:#efedff; color:#5b4bc0; font-size:10px; line-height:1.5; }
.customer-auth-page .auth-security strong { display:block; font-size:10px; margin-bottom:1px; }
.customer-auth-page .auth-copyright { margin-top:32px; color:#9292a5; font-size:9px; text-align:center; }
.customer-auth-page .alert { border-radius:8px; font-size:12px; }
@media(max-width:900px) {
    .customer-auth-page .login-wrapper { flex-direction:column !important; flex-wrap:wrap !important; }
    .customer-auth-page .login-visual { display:none !important; }
    .customer-auth-page .login-form-side { flex:1 1 100%; width:100%; min-height:100vh; padding:38px 24px; }
}
