.customer-auth-page,
.customer-account-page {
    padding: 48px 0 72px;
    background: #f7f8fb;
    min-height: 70vh;
}
.customer-auth-wrap { max-width: 560px; }
.customer-auth-card,
.customer-panel {
    background: #fff;
    border: 1px solid #e8eaf0;
    border-radius: 24px;
    box-shadow: 0 16px 50px rgba(17, 24, 39, .06);
}
.customer-auth-card { padding: 32px; }
.customer-auth-badge,
.panel-kicker {
    display: inline-flex;
    padding: 7px 12px;
    border-radius: 999px;
    background: #e9fbf7;
    color: #0a8f78;
    font-size: 13px;
    font-weight: 800;
}
.customer-auth-card h1 { margin: 14px 0 8px; font-size: 28px; }
.customer-auth-card > p { color: #667085; line-height: 1.9; }
.customer-form { display: grid; gap: 16px; margin-top: 24px; }
.customer-field { display: grid; gap: 8px; font-weight: 700; color: #344054; }
.customer-field input,
.customer-field textarea {
    width: 100%; box-sizing: border-box; border: 1px solid #d9dde7;
    border-radius: 14px; padding: 13px 14px; font: inherit; background: #fff;
}
.customer-field input:focus,
.customer-field textarea:focus { outline: 2px solid rgba(18, 183, 148, .16); border-color: #12b794; }
.field-error,
.customer-form-error { color: #b42318; font-size: 13px; }
.customer-primary-button,
.customer-secondary-button {
    border: 0; border-radius: 14px; padding: 14px 18px; font: inherit; font-weight: 900; cursor: pointer;
}
.customer-primary-button { background: #111827; color: #fff; }
.customer-secondary-button { background: #e9fbf7; color: #087d69; }
.customer-auth-switch { text-align: center; margin: 22px 0 0 !important; }
.customer-auth-switch a,
.customer-inline-link { color: #0a8f78; font-weight: 900; text-decoration: none; }
.customer-account-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 24px; align-items: start; }
.customer-panel { padding: 24px; }
.customer-profile-panel { position: sticky; top: 20px; text-align: center; }
.customer-avatar { width: 72px; height: 72px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; background: #111827; color: #fff; font-size: 28px; font-weight: 900; }
.customer-profile-panel h1 { margin: 0; font-size: 21px; }
.customer-phone { direction: ltr; color: #667085; }
.customer-profile-form { text-align: right; }
.customer-logout-link { display: block; margin-top: 18px; color: #b42318; text-decoration: none; font-weight: 800; }
.customer-account-main { display: grid; gap: 24px; }
.panel-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.panel-heading h2 { margin: 8px 0 0; font-size: 22px; }
.customer-status-list,
.customer-orders-list { display: grid; gap: 14px; }
.customer-status-card,
.customer-order-card { border: 1px solid #eaecf0; border-radius: 18px; padding: 18px; background: #fff; }
.status-card-head,
.order-card-top,
.order-card-summary { display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.status-card-head small,
.order-card-top small { display: block; color: #98a2b3; margin-top: 5px; }
.status-chip,
.order-status { padding: 7px 10px; border-radius: 999px; font-size: 12px; font-weight: 900; background: #f2f4f7; }
.status-approved .status-chip { background: #ecfdf3; color: #027a48; }
.status-rejected .status-chip { background: #fef3f2; color: #b42318; }
.status-pending .status-chip { background: #fffaeb; color: #b54708; }
.customer-notice { line-height: 1.9; color: #475467; margin: 14px 0; }
.status-card-meta { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 12px; color: #667085; }
.order-card-summary { margin-top: 14px; padding-top: 14px; border-top: 1px solid #f2f4f7; }
.order-items-mini { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.order-items-mini span { background: #f8fafc; border-radius: 10px; padding: 7px 10px; font-size: 13px; }
.customer-empty-state { padding: 24px; border: 1px dashed #d0d5dd; border-radius: 16px; text-align: center; color: #667085; }
@media (max-width: 900px) {
    .customer-account-grid { grid-template-columns: 1fr; }
    .customer-profile-panel { position: static; }
}
@media (max-width: 560px) {
    .customer-auth-card, .customer-panel { border-radius: 18px; padding: 18px; }
    .status-card-head, .order-card-top, .order-card-summary { align-items: flex-start; flex-direction: column; }
}
