/* ============================================================
   ALTMOD DESIGNER PORTAL — designer.css
   Color System:
     --primary-color : #2c2c2c   (charcoal — text, surfaces, buttons)
     --dark-red      : #eb2627   (brand accent — CTA, active states)
     --white-color   : #ffffff
     Whitesmoke      : #f5f5f5   (backgrounds, cards)
     --success       : #22bb33
     --warning       : #f0ad4e
   All border-radius  : 4px
   Base font-size     : 12px
   ============================================================ */

:root {
    --primary-color   : #2c2c2c;
    --dark-red        : #eb2627;
    --dark-red-dark   : #c41f20;
    --white-color     : #ffffff;
    --whitesmoke      : #f5f5f5;
    --success-color   : #22bb33;
    --warning-color   : #f0ad4e;

    /* Neutral scale */
    --gray-50         : #fafafa;
    --gray-100        : #f0f0f0;
    --gray-200        : #e2e2e2;
    --gray-300        : #cccccc;
    --gray-400        : #999999;
    --gray-500        : #777777;
    --gray-600        : #555555;

    /* Token */
    --radius          : 4px;
    --font-size-base  : 12px;

    /* Shadows */
    --shadow-sm  : 0 1px 3px rgba(44,44,44,0.08), 0 1px 2px rgba(44,44,44,0.05);
    --shadow-md  : 0 4px 12px rgba(44,44,44,0.10), 0 2px 6px rgba(44,44,44,0.06);
    --shadow-lg  : 0 8px 24px rgba(44,44,44,0.12), 0 4px 10px rgba(44,44,44,0.06);
    --shadow-red : 0 4px 14px rgba(235,38,39,0.22);
}

/* ── Reset & base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: var(--font-size-base); }

body {
    font-family: 'Segoe UI', 'Sarala', Arial, sans-serif;
    font-size: var(--font-size-base);
    color: var(--primary-color);
    background: var(--whitesmoke);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── Page wrappers ────────────────────────────────────────── */
.designer-status-page,
.dreg-page,
.onboarding-wrap,
.business_wrapper,
.resubmit-wrap,
.verify-wrap {
    background: var(--whitesmoke);
    min-height: 100vh;
    padding: 40px 20px;
}

.dash-wrap { background: var(--whitesmoke); min-height: 100vh; }

.status-container,
.verify-wrap  { max-width: 560px; margin: 0 auto; }
.dreg-container { max-width: 900px; margin: 0 auto; }
.resubmit-wrap  { max-width: 800px; margin: 0 auto; padding: 28px 16px 48px; }

.onboarding-wrap .container,
.business_wrapper .container,
.onboard-header .container { max-width: 800px; }

/* ── Typography ───────────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 { font-weight: 700; line-height: 1.3; color: var(--primary-color); }
h1 { font-size: 2rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.2rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

small, .text-sm { font-size: 11px; }
.text-muted { color: var(--gray-500); }

/* ============================================================
   SHARED COMPONENTS — BUTTONS
   ============================================================ */

/* Base button — every custom button inherits these */
[class*="btn-"]:not(.btn-close):not(.btn-sm),
.dreg-btn,
.filter-tab,
.tab-btn {
    border-radius: var(--radius);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.18s, box-shadow 0.18s, transform 0.15s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: none;
    text-decoration: none;
    line-height: 1;
}

/* Primary dark button */
.btn-primary-designer,
.btn-save,
.dreg-btn-primary,
.product-add-btn,
.btn-check-status,
.btn-submit-aadhaar,
.btn-send-otp,
.btn-submit-brand,
.add-your-first-brand,
.pwd-update-btn,
.save-profile-btn,
.btn-confirm-shipped,
.btn-continue-setup,
.btn-submit-review {
    background: var(--primary-color);
    color: var(--white-color) !important;
    border: none;
    padding: 9px 20px;
}

.btn-primary-designer:hover,
.btn-save:hover,
.dreg-btn-primary:hover,
.product-add-btn:hover,
.btn-check-status:hover,
.btn-submit-aadhaar:hover:not(:disabled),
.btn-send-otp:hover:not(:disabled),
.btn-submit-brand:hover:not(:disabled),
.add-your-first-brand:hover,
.pwd-update-btn:hover,
.save-profile-btn:hover,
.btn-confirm-shipped:hover,
.btn-continue-setup:hover,
.btn-submit-review:hover {
    background: var(--dark-red);
    box-shadow: var(--shadow-red);
    transform: translateY(-1px);
}

/* Outline / secondary button */
.back-btn,
.btn-cancel,
.btn-edit-step,
.dreg-btn-secondary {
    background: var(--white-color);
    color: var(--primary-color);
    border: 1.5px solid var(--gray-200);
    padding: 8px 20px;
}

.back-btn:hover,
.btn-cancel:hover,
.btn-edit-step:hover,
.dreg-btn-secondary:hover {
    border-color: var(--primary-color);
    background: var(--whitesmoke);
}

/* Filter / tab buttons */
.filter-tab,
.tab-btn {
    background: var(--white-color);
    color: var(--primary-color);
    border: 1.5px solid var(--gray-200);
    padding: 7px 16px;
}

.filter-tab.active,
.tab-btn.active {
    background: var(--primary-color);
    color: var(--white-color);
    border-color: var(--primary-color);
}

.filter-tab:hover:not(.active),
.tab-btn:hover:not(.active) {
    border-color: var(--primary-color);
}

/* Danger/action variants */
.btn-fix-aadhaar {
    background: var(--dark-red);
    color: var(--white-color) !important;
    padding: 9px 20px;
    box-shadow: var(--shadow-red);
}

.btn-fix-aadhaar:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(235,38,39,0.30); }

.btn-status, .btn-details {
    background: var(--primary-color);
    color: var(--white-color);
    padding: 7px 16px;
}

.btn-status:hover, .btn-details:hover {
    background: var(--dark-red);
    transform: translateY(-1px);
}

/* Verify buttons */
.btn-verify-email,
.btn-verify-phone {
    padding: 8px 18px;
    color: var(--white-color) !important;
    font-size: 12px;
    font-weight: 700;
}

.btn-verify-email { background: var(--warning-color); color: var(--primary-color) !important; }
.btn-verify-email:hover { background: #d9922c; }

.btn-verify-otp {
    background: var(--success-color);
    color: var(--white-color);
    padding: 12px;
    width: 100%;
}
.btn-verify-otp:hover:not(:disabled) { background: #1a9929; transform: translateY(-1px); }

/* Disabled state universal */
[class*="btn-"]:disabled,
.dreg-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* Full-width buttons */
.btn-check-status,
.btn-send-otp,
.btn-submit-aadhaar,
.btn-verify-otp { width: 100%; padding: 12px; }

/* ── Misc link style ──────────────────────────────────────── */
.text_link { font-size: 12px; font-weight: 600; color: var(--dark-red); }
.text_link:hover { text-decoration: underline; }

/* ============================================================
   ALERTS
   ============================================================ */
.alert {
    border-radius: var(--radius);
    font-size: 12px;
    padding: 10px 16px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.alert-success {
    background: #eafaf1;
    border: 1px solid var(--success-color);
    color: #155724;
}

.alert-danger {
    background: #fdf2f2;
    border: 1px solid var(--dark-red);
    color: #7f1d1d;
}

.alert-warning {
    background: #fffbf0;
    border: 1px solid var(--warning-color);
    color: #7c4d00;
}

/* ============================================================
   STATUS BADGES — universal pill
   ============================================================ */
.status-badge, .status-pill, .badge-status-sm, .b-status, .pay-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius);
    line-height: 1.4;
    white-space: nowrap;
}

/* Status colour pairs */
.status-badge.approved,     .b-status.approved,     .badge-live,      .s-delivered,    .badge-agreement-signed  { background: #eafaf1; color: var(--success-color); border: 1px solid var(--success-color); }
.status-badge.under_review, .b-status.pending,      .badge-review,    .s-production_started, .status-pending    { background: #fffbf0; color: #9a6700; border: 1px solid var(--warning-color); }
.status-badge.draft,                                .badge-pending                                               { background: var(--gray-100); color: var(--gray-500); border: 1px solid var(--gray-200); }
.status-badge.rejected,     .b-status.rejected,     .badge-rejected,  .s-cancelled                              { background: #fdf2f2; color: var(--dark-red); border: 1px solid var(--dark-red); }

.s-confirmed, .s-packed, .s-shipped  { background: #e8f4fd; color: #0c4a6e; border: 1px solid #7ec8f0; }
.s-pending    { background: var(--gray-100); color: var(--gray-500); border: 1px solid var(--gray-200); }
.s-returned   { background: #f3f0ff; color: #4c1d95; border: 1px solid #c4b5fd; }

.pay-badge-online  { background: #eafaf1; color: var(--success-color); border: 1px solid var(--success-color); }
.pay-badge-cod     { background: var(--gray-100); color: var(--gray-500); border: 1px solid var(--gray-200); }

/* Dashboard status pills */
.status-pill-pending  { background: var(--gray-100); color: var(--gray-500); }
.status-pill-review   { background: #fffbf0; color: #9a6700; }
.status-pill-live     { background: #eafaf1; color: var(--success-color); }
.status-pill-rejected { background: #fdf2f2; color: var(--dark-red); }

.custom-badge {
    background: #fffbf0;
    border: 1px solid var(--warning-color);
    color: #9a6700;
    border-radius: var(--radius);
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 700;
}

/* ============================================================
   FORMS — shared inputs
   ============================================================ */
.form-control,
.form-select,
.dreg-input,
.status-form-input,
.form-control-custom {
    width: 100%;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 9px 13px;
    font-size: 12px;
    background: var(--whitesmoke);
    color: var(--primary-color);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    line-height: 1.5;
}

.form-control:focus,
.form-select:focus,
.dreg-input:focus,
.status-form-input:focus,
.form-control-custom:focus {
    border-color: var(--primary-color);
    background: var(--white-color);
    box-shadow: 0 0 0 3px rgba(44,44,44,0.08);
}

textarea.form-control,
textarea.dreg-input { min-height: 100px; resize: vertical; }

select.form-control,
select.dreg-input,
select.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23555' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 13px center;
    padding-right: 36px;
}

.form-label, .dreg-form-group label, .form-label-custom, .form-label-sm-bold {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 6px;
}

.dreg-required, .req { color: var(--dark-red); }

.form-text, .aadhaar-helper-text, .opt, .text-muted {
    font-size: 11px;
    color: var(--gray-400);
    margin-top: 4px;
}

.dreg-form-group, .form-group { margin-bottom: 18px; }

.dreg-form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

/* ── Strength bar ─────────────────────────────────────────── */
#aadhaarBar, .pwd-strength { height: 4px; border-radius: var(--radius); background: var(--gray-200); margin-top: 6px; overflow: hidden; }
#aadhaarBarFill { height: 100%; width: 0; border-radius: var(--radius); transition: all 0.3s; }
#aadhaarFeedback { font-size: 11px; margin-top: 4px; font-weight: 600; min-height: 14px; }

/* ── Feedback colours ─────────────────────────────────────── */
.feedback-error, .text-danger   { color: var(--dark-red) !important; }
.feedback-success, .text-success { color: var(--success-color) !important; }
.feedback-warning, .text-warning { color: var(--warning-color) !important; }

/* ── OTP inputs ───────────────────────────────────────────── */
.otp-inputs { display: flex; gap: 8px; justify-content: center; margin: 18px 0; }
.otp-input {
    width: 48px; height: 52px;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
    border: 1.5px solid var(--gray-300);
    border-radius: var(--radius);
    outline: none;
    transition: all 0.2s;
    background: var(--white-color);
}
.otp-input:focus { border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(44,44,44,0.08); }
.otp-input.filled { border-color: var(--success-color); background: #eafaf1; }

#resendTimer { font-size: 11px; color: var(--gray-400); margin-top: 8px; text-align: center; min-height: 16px; }

/* ── File upload zones ────────────────────────────────────── */
.dreg-file-box,
.upload-zone,
.img-drop-zone {
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius);
    padding: 28px;
    text-align: center;
    cursor: pointer;
    background: var(--whitesmoke);
    transition: all 0.2s;
    position: relative;
}

.dreg-file-box:hover, .upload-zone:hover, .img-drop-zone:hover {
    border-color: var(--dark-red);
    background: #fdf6f6;
}

.dreg-file-box input[type="file"],
.upload-zone input[type="file"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    inset: 0;
}

.dreg-upload-icon, .upload-zone .upload-icon, .img-drop-zone .drop-icon {
    font-size: 2rem;
    color: var(--gray-300);
    margin-bottom: 10px;
}

.dreg-upload-text, .upload-zone .upload-label, .img-drop-zone .drop-text {
    font-size: 12px;
    color: var(--gray-500);
    font-weight: 500;
}

.dreg-upload-limit, .upload-zone .upload-sub-label, .img-drop-zone .drop-sub-text {
    font-size: 11px;
    color: var(--gray-400);
    margin-top: 4px;
}

.dreg-file-selected, .upload-zone .file-name {
    font-size: 11px;
    color: var(--success-color);
    font-weight: 700;
    margin-top: 8px;
}

.upload-zone.has-file { border-color: var(--success-color); border-style: solid; background: #eafaf1; }
.upload-zone.has-file .upload-icon { color: var(--success-color); }
.img-drop-zone.drag-active { border-color: var(--dark-red); background: #fdf6f6; }

.preview-img, .brand-logo-modal-preview {
    max-height: 120px;
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    margin-top: 10px;
    object-fit: contain;
}

/* ============================================================
   DESIGNER STATUS CHECK PAGE
   ============================================================ */
.status-header { text-align: center; margin-bottom: 36px; }
.status-header h1 { font-size: 1.6rem; font-weight: 800; margin-bottom: 8px; }
.status-header p  { font-size: 12px; color: var(--gray-500); }

.status-card {
    background: var(--white-color);
    padding: 36px 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-100);
}

.status-search-form { margin-bottom: 28px; }
.status-form-group  { margin-bottom: 18px; }
.status-form-group label { font-size: 12px; font-weight: 700; display: block; margin-bottom: 6px; }

.status-result-container {
    display: none;
    padding: 24px;
    border-radius: var(--radius);
    margin-top: 24px;
    animation: fadeIn 0.3s ease;
}

.status-pending  { background: #fffbf0; border: 1.5px solid var(--warning-color); }
.status-approved { background: #eafaf1; border: 1.5px solid var(--success-color); }
.status-rejected { background: #fdf2f2; border: 1.5px solid var(--dark-red); }

.status-icon    { font-size: 2.5rem; text-align: center; margin-bottom: 14px; }
.status-title   { font-size: 1.2rem; font-weight: 800; text-align: center; margin-bottom: 8px; }
.status-message { font-size: 12px; text-align: center; color: var(--gray-500); line-height: 1.7; }

.rejection-reason {
    background: rgba(255,255,255,0.7);
    padding: 12px 16px;
    border-radius: var(--radius);
    margin-top: 12px;
    font-size: 12px;
}

.status-login-link { text-align: center; margin-top: 18px; }
.status-login-link a { font-weight: 700; font-size: 12px; color: var(--primary-color); border-bottom: 2px solid transparent; transition: all 0.2s; }
.status-login-link a:hover { color: var(--dark-red); border-bottom-color: var(--dark-red); }

/* ============================================================
   DESIGNER REGISTRATION PAGE
   ============================================================ */
.dreg-header { text-align: center; margin-bottom: 36px; }
.dreg-header h1 { font-size: 1.6rem; font-weight: 800; margin-bottom: 8px; }
.dreg-header p  { font-size: 12px; color: var(--gray-500); }

/* Progress tracker */
.dreg-progress-tracker {
    background: var(--white-color);
    border-radius: var(--radius);
    padding: 20px 28px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
}

.dreg-progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.dreg-progress-steps::before {
    content: '';
    position: absolute;
    top: 19px; left: 30px; right: 30px;
    height: 2px;
    background: var(--gray-200);
    z-index: 0;
}

.dreg-progress-line {
    position: absolute;
    top: 19px; left: 30px;
    height: 2px;
    background: var(--dark-red);
    transition: width 0.4s ease;
    z-index: 1;
}

.dreg-progress-step { position: relative; z-index: 2; text-align: center; flex: 1; }

.dreg-step-circle {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: var(--white-color);
    border: 2px solid var(--gray-200);
    margin: 0 auto 8px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
    font-size: 12px;
    color: var(--gray-400);
    transition: all 0.25s;
}

.dreg-progress-step.dreg-active .dreg-step-circle {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
    box-shadow: 0 3px 10px rgba(44,44,44,0.22);
}

.dreg-progress-step.dreg-completed .dreg-step-circle {
    background: var(--success-color);
    border-color: var(--success-color);
    color: var(--white-color);
}

.dreg-step-label { font-size: 11px; color: var(--gray-400); font-weight: 600; }
.dreg-progress-step.dreg-active .dreg-step-label { color: var(--primary-color); font-weight: 700; }

/* Form card */
.dreg-form-card, .form-card {
    background: var(--white-color);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-100);
}

.dreg-form-step { display: none; animation: dregFadeInStep 0.3s ease; }
.dreg-form-step.dreg-active { display: block; }

@keyframes dregFadeInStep {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.dreg-step-title    { font-size: 1.4rem; font-weight: 800; margin-bottom: 6px; }
.dreg-step-subtitle { font-size: 12px; color: var(--gray-500); margin-bottom: 4px; }

.dreg-form-actions { display: flex; gap: 12px; justify-content: space-between; margin-top: 6px; }

.dreg-btn { padding: 10px 28px; font-size: 12px; font-weight: 700; border: none; cursor: pointer; transition: all 0.22s; }

/* Aadhaar info cards */
.dreg-aadhar-info-card {
    background: #fffbf0;
    border: 1px solid var(--warning-color);
    border-radius: var(--radius);
    padding: 12px 16px;
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 12px;
}

.aadhar-privacy-notice {
    background: #f0f8ff;
    border: 1px solid #aed6f1;
    border-radius: var(--radius);
    padding: 12px 16px;
    font-size: 12px;
    margin-bottom: 8px;
}

/* Success screen */
.dreg-success { display: none; text-align: center; padding: 52px 36px; }
.dreg-success.dreg-active { display: block; }

.dreg-success-icon {
    width: 88px; height: 88px;
    background: var(--success-color);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 24px;
    font-size: 2.5rem;
    color: var(--white-color);
    animation: dregScaleSuccess 0.45s ease-out;
    box-shadow: 0 6px 20px rgba(34,187,51,0.3);
}

@keyframes dregScaleSuccess { from { transform: scale(0); } to { transform: scale(1); } }

.dreg-success h2 { font-size: 1.5rem; margin-bottom: 12px; }
.dreg-success p  { font-size: 12px; color: var(--gray-500); line-height: 1.7; }

/* ============================================================
   AADHAAR RESUBMIT
   ============================================================ */
.aadhaar-flag-banner {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: var(--white-color);
    border: 1px solid var(--gray-100);
    border-left: 4px solid var(--dark-red);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.aadhaar-flag-icon {
    flex-shrink: 0;
    width: 48px; height: 48px;
    background: #fdf2f2;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    color: var(--dark-red);
}

.aadhaar-flag-content { flex: 1; min-width: 0; }
.aadhaar-flag-title { font-size: 13px; font-weight: 800; color: var(--dark-red); margin-bottom: 8px; }

.aadhaar-flag-reason {
    font-size: 12px;
    color: var(--primary-color);
    background: #fffbf0;
    border: 1px solid var(--warning-color);
    border-radius: var(--radius);
    padding: 10px 14px;
    margin-bottom: 12px;
}

.aadhaar-flag-steps { font-size: 12px; color: var(--gray-500); margin-bottom: 16px; line-height: 1.7; }
.aadhaar-flag-steps ul { margin: 8px 0 0; padding-left: 18px; line-height: 2; }
.aadhaar-flag-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.aadhaar-flag-note { font-size: 11px; color: var(--gray-400); line-height: 1.4; }

.resubmit-header {
    background: var(--primary-color);
    border-radius: var(--radius);
    padding: 24px 28px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-md);
}

.resubmit-header-icon {
    width: 52px; height: 52px;
    background: var(--whitesmoke);
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    color: var(--dark-red);
    flex-shrink: 0;
}

.resubmit-header-text h2 { color: var(--white-color); font-size: 1.1rem; margin: 0 0 3px; }
.resubmit-header-text p  { color: rgba(255,255,255,0.55); font-size: 12px; margin: 0; }

.resubmit-card {
    background: var(--white-color);
    border-radius: var(--radius);
    padding: 24px 28px;
    margin-bottom: 18px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
}

.resubmit-card-title {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--gray-500);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.resubmit-checklist { font-size: 12px; color: var(--gray-500); line-height: 2; padding-left: 18px; }

.reason-box {
    background: #fdf2f2;
    border: 1px solid var(--dark-red);
    border-radius: var(--radius);
    padding: 14px 18px;
    margin-bottom: 20px;
}

.reason-box .reason-label { font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--dark-red); margin-bottom: 4px; }
.reason-box .reason-text  { font-size: 12px; color: #7f1d1d; font-weight: 500; }

/* ============================================================
   ONBOARDING INDEX
   ============================================================ */
.step-card { border: none; border-radius: var(--radius); box-shadow: var(--shadow-md); }

.step-card .badge {
    background: var(--primary-color);
    color: var(--white-color);
    padding: 6px 16px;
    font-size: 11px;
    border-radius: var(--radius);
    font-weight: 700;
}

.step-item {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    margin-bottom: 10px;
    background: var(--white-color);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius);
    transition: all 0.18s;
    text-decoration: none;
    color: var(--primary-color);
    font-size: 12px;
}

.step-item:hover { border-color: var(--primary-color); box-shadow: var(--shadow-sm); transform: translateX(2px); color: var(--primary-color); }
.step-item.completed { border-color: var(--success-color); background: #eafaf1; }
.step-item.active    { border-color: var(--primary-color); background: var(--whitesmoke); box-shadow: var(--shadow-sm); }

.step-icon {
    width: 44px; height: 44px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    margin-right: 16px;
    flex-shrink: 0;
}

.step-icon.done    { background: #eafaf1; color: var(--success-color); }
.step-icon.current { background: var(--primary-color); color: var(--white-color); }
.step-icon.locked  { background: var(--gray-100); color: var(--gray-400); }

.progress-bar-alt { height: 6px; background: var(--gray-200); border-radius: var(--radius); overflow: hidden; margin-bottom: 20px; }
.progress-bar-alt-fill { height: 100%; background: var(--dark-red); border-radius: var(--radius); transition: width 0.5s ease; }

.brand-badge {
    background: var(--primary-color);
    color: var(--white-color);
    padding: 8px 18px;
    border-radius: var(--radius);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.onboarding-title  { font-size: 1.4rem; }
.step-item-title   { font-size: 12px; font-weight: 700; }

/* ============================================================
   ONBOARDING — BUSINESS / BANK / SHIPPING / AGREEMENT
   ============================================================ */
.onboard-header {
    background: var(--primary-color);
    color: var(--white-color);
    padding: 28px 0;
}

.onboard-header h4 { font-size: 1.2rem; color: var(--white-color); }
.onboard-header p  { font-size: 12px; color: rgba(255,255,255,0.65); }

.onboard-header .step-badge {
    background: var(--dark-red);
    color: var(--white-color);
    padding: 5px 14px;
    border-radius: var(--radius);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.4px;
}

div.section-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--gray-500);
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1.5px solid var(--gray-100);
}

.step-progress { display: flex; gap: 5px; }
.sp-dot { height: 5px; flex: 1; border-radius: var(--radius); background: rgba(255,255,255,0.22); }
.sp-dot.done   { background: var(--success-color); }
.sp-dot.active { background: var(--dark-red); }

.security-note {
    background: #eafaf1;
    border: 1px solid var(--success-color);
    border-radius: var(--radius);
    padding: 14px 18px;
    font-size: 12px;
    box-shadow: var(--shadow-sm);
}

/* Brand section */
.brand-item {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 16px;
    border: 1.5px solid var(--gray-200);
    background: var(--white-color);
    margin-bottom: 8px;
    border-radius: var(--radius);
    transition: all 0.18s;
    box-shadow: var(--shadow-sm);
    font-size: 12px;
}

.brand-item:hover { border-color: var(--dark-red); transform: translateX(2px); }

.brand-logo-wrap {
    width: 42px; height: 42px;
    background: var(--whitesmoke);
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    color: var(--primary-color);
    font-size: 1.2rem;
    overflow: hidden;
}
.brand-logo-wrap img { width: 100%; height: 100%; object-fit: cover; }

.brand-name { font-weight: 700; font-size: 12px; color: var(--primary-color); }
.brand-desc { font-size: 11px; color: var(--gray-400); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.brand-tag-blue {
    font-size: 11px;
    background: #e8f4fd;
    color: #0c4a6e;
    padding: 3px 9px;
    border-radius: var(--radius);
    font-weight: 700;
}

.add-brand-panel { margin-top: 14px; border: 1.5px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; display: none; }
.add-brand-panel.open { display: block; border-color: var(--primary-color); box-shadow: var(--shadow-sm); }

.add-brand-header {
    background: var(--whitesmoke);
    padding: 12px 16px;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-color);
    border-bottom: 1px solid var(--gray-100);
}

.add-brand-body { padding: 16px; }

#logoPreview { max-height: 60px; border-radius: var(--radius); border: 1px solid var(--gray-200); margin-top: 8px; display: none; }

.add-brand-close { float: right; background: none; border: none; color: var(--gray-400); font-size: 1.5rem; cursor: pointer; line-height: 1; }
.add-brand-close:hover { color: var(--dark-red); }

#noBrandsMsg {
    padding: 20px;
    text-align: center;
    color: var(--gray-400);
    font-size: 12px;
    background: var(--whitesmoke);
    border-radius: var(--radius);
    border: 1.5px dashed var(--gray-200);
}
.no-brands-icon { font-size: 1.8rem; color: var(--gray-300); margin-bottom: 6px; }

/* Brand pills */
.brand-pills-box {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 16px;
    background: var(--white-color);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    font-size: 12px;
    transition: all 0.2s;
}
.brand-pills-box:hover { border-color: var(--dark-red); }

.brand-pill-logo { width: 26px; height: 26px; border-radius: var(--radius); object-fit: cover; }
.brand-pill-logo-placeholder { width: 26px; height: 26px; border-radius: var(--radius); background: var(--whitesmoke); display: flex; align-items: center; justify-content: center; color: var(--primary-color); font-size: 11px; }
.brand-pill-name { font-weight: 700; font-size: 12px; }
.brand-pill-remove { background: none; border: none; padding: 0; color: var(--dark-red); font-size: 11px; cursor: pointer; }

/* Brand name suggestions */
.brand-name-input-wrap { position: relative; }
.brand-name-status-icon { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-size: 1rem; }
.brand-name-feedback { font-size: 11px; margin-top: 4px; min-height: 14px; font-weight: 600; }
.brand-name-suggestions { display: none; border: 1.5px solid var(--gray-200); border-top: none; border-radius: 0 0 var(--radius) var(--radius); background: var(--white-color); overflow: hidden; box-shadow: var(--shadow-sm); }
.suggestion-header { padding: 6px 12px; font-size: 11px; color: var(--gray-400); border-bottom: 1px solid var(--gray-100); }
.suggestion-row { padding: 8px 12px; font-size: 12px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--gray-50); }
.suggestion-name { font-weight: 700; flex: 1; }
.suggestion-badge { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: var(--radius); }
.sugg-badge-approved { background: #eafaf1; color: var(--success-color); }
.sugg-badge-pending  { background: #fffbf0; color: #9a6700; }
.sugg-badge-rejected { background: #fdf2f2; color: var(--dark-red); }

/* ============================================================
   AGREEMENT PAGE
   ============================================================ */
.agreement-box {
    max-height: 340px;
    overflow-y: scroll;
    padding: 20px 24px;
    background: var(--whitesmoke);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 12px;
    line-height: 1.85;
    color: #444;
}

.agreement-box h6 { color: var(--primary-color); font-weight: 700; margin-top: 18px; font-size: 12px; }

.term-item {
    display: flex; gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: 12px;
}
.term-icon { color: var(--dark-red); flex-shrink: 0; margin-top: 1px; }
.key-terms-heading { color: var(--primary-color); font-size: 13px; }
.term-item-last { border: none; }
.agreement-check-label { color: var(--primary-color); font-size: 12px; }

/* Declaration box */
.dreg-declaration-box {
    background: var(--whitesmoke);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 22px;
    margin: 24px 0;
}
.dreg-declaration-box h4 { font-size: 13px; margin-bottom: 12px; }
.dreg-declaration-box p  { font-size: 12px; line-height: 1.8; margin-bottom: 16px; }
.dreg-declaration-check  { display: flex; align-items: flex-start; gap: 10px; }
.dreg-declaration-check input[type="checkbox"] { width: 18px; height: 18px; margin-top: 2px; cursor: pointer; accent-color: var(--dark-red); }
.dreg-declaration-check label { font-size: 12px; cursor: pointer; }

/* ============================================================
   SIDEBAR
   ============================================================ */
.dash-sidebar {
    width: 240px;
    background: var(--primary-color);
    min-height: 100vh;
    position: fixed;
    top: 72px; left: 0;
    display: flex;
    flex-direction: column;
    z-index: 100;
    box-shadow: 3px 0 20px rgba(0,0,0,0.10);
}

.sidebar-nav { padding: 16px 10px; flex: 1; }

.nav-section-title {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    color: rgba(255,255,255,0.30);
    padding: 12px 10px 5px;
    font-weight: 700;
}

.nav-section-spaced { margin-top: 8px; }

.sidebar-link {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px;
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--radius);
    margin-bottom: 2px;
    transition: all 0.16s;
}

.sidebar-link:hover { color: var(--white-color); background: rgba(255,255,255,0.08); text-decoration: none; }

.sidebar-link.active {
    color: var(--white-color);
    background: var(--dark-red);
    font-weight: 700;
    box-shadow: 0 3px 10px rgba(235,38,39,0.30);
}

.sidebar-link i { font-size: 1rem; width: 18px; text-align: center; }

.sidebar-footer { padding: 14px 16px; border-top: 1px solid rgba(255,255,255,0.08); }

.sidebar-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--dark-red);
}

.sidebar-avatar-placeholder {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.55);
    font-size: 1rem;
    flex-shrink: 0;
}

.sidebar-user-info { min-width: 0; }
.sidebar-user-name { color: var(--white-color); font-size: 12px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar-user-role { color: rgba(255,255,255,0.38); font-size: 11px; }
.sidebar-logout-link { color: rgba(255,255,255,0.38); font-size: 1.1rem; transition: color 0.2s; }
.sidebar-logout-link:hover { color: var(--dark-red); }

/* Mobile toggle */
.sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.48); z-index: 1040; backdrop-filter: blur(2px); }
.sidebar-overlay.active { display: block; }

.sidebar-toggle {
    display: none;
    position: fixed;
    top: 14px; right: 14px;
    z-index: 1060;
    width: 40px; height: 40px;
    border: none;
    border-radius: var(--radius);
    background: var(--primary-color);
    color: var(--white-color);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: var(--shadow-md);
}

.sidebar-toggle i { font-size: 1.3rem; }
.sidebar-toggle:hover { background: var(--dark-red); }
#sidebar.open { left: 0 !important; box-shadow: 4px 0 24px rgba(0,0,0,0.22) !important; }

/* ============================================================
   DASHBOARD — MAIN LAYOUT
   ============================================================ */
.dash-main { margin-left: 240px; min-height: 100vh; }

.dash-topbar {
    background: var(--white-color);
    padding: 14px 26px;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: var(--shadow-sm);
}

.dash-topbar .page-title { font-size: 1.1rem; font-weight: 800; color: var(--primary-color); margin: 0; }
.dash-body { padding: 24px; }

/* ── Welcome bar ──────────────────────────────────────────── */
.welcome-bar {
    background: var(--primary-color);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    justify-content: space-between;
    box-shadow: var(--shadow-md);
}

.welcome-bar h5 { font-size: 1rem; color: var(--white-color); }
.welcome-bar p  { font-size: 12px; color: rgba(255,255,255,0.65); }

.welcome-bar .brand-tag {
    background: var(--dark-red);
    color: var(--white-color);
    padding: 4px 12px;
    border-radius: var(--radius);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.date_designer { font-size: 12px; color: var(--gray-500); font-weight: 500; }

.photo_file_designer_dashboard {
    width: 56px; height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.3);
}

.photo_div_dashboard {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    display: flex; align-items: center; justify-content: center;
    color: var(--white-color);
    font-size: 1.3rem;
}

/* ── Stat cards ───────────────────────────────────────────── */
.stat-card {
    background: var(--white-color);
    border-radius: var(--radius);
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    height: 100%;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: all 0.18s;
}

.stat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.stat-icon {
    width: 44px; height: 44px;
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.stat-icon i { font-size: 1.3rem; }

.stat-icon.gold   { background: #fffbf0; color: #9a6700; }
.stat-icon.blue   { background: #e8f4fd; color: #0c4a6e; }
.stat-icon.green  { background: #eafaf1; color: var(--success-color); }
.stat-icon.purple { background: #f3f0ff; color: #4c1d95; }
.stat-icon.red    { background: #fdf2f2; color: var(--dark-red); }

.stat-val { font-size: 1.5rem; font-weight: 800; color: var(--primary-color); line-height: 1; }
.stat-lbl { font-size: 11px; color: var(--gray-500); margin-top: 3px; }
.stat-sub { font-size: 10px; color: var(--gray-400); margin-top: 2px; }

/* ── Section cards ────────────────────────────────────────── */
.section-card {
    background: var(--white-color);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
}

.section-card .card-head {
    padding: 14px 18px;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--whitesmoke);
}

.section-card .card-head h6 { margin: 0; font-weight: 700; font-size: 12px; color: var(--primary-color); }
.section-card .card-head a { color: var(--dark-red); font-weight: 700; font-size: 12px; }
.section-card .card-head a:hover { text-decoration: underline; }
.section-card .card-body-pad,
.section-card .card-body { padding: 18px; font-size: 12px; }

/* ── Quick action buttons ─────────────────────────────────── */
.qa-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px 14px;
    background: var(--white-color);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius);
    color: var(--primary-color);
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    transition: all 0.18s;
    text-align: center;
    height: 100%;
    box-shadow: var(--shadow-sm);
}

.qa-btn:hover { border-color: var(--dark-red); transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--primary-color); }
.qa-btn i { font-size: 1.5rem; color: var(--dark-red); }
.qa-btn.qa-btn-alert { border-color: var(--dark-red); position: relative; }
.qa-btn.qa-btn-warn  { border-color: var(--warning-color); position: relative; }
.qa-btn.qa-btn-alert i { color: var(--dark-red); }
.qa-btn.qa-btn-warn i.icon-warn { color: var(--warning-color); }

.qa-alert-dot {
    position: absolute; top: -5px; right: -5px;
    background: var(--dark-red); color: var(--white-color);
    border-radius: 50%; width: 18px; height: 18px;
    font-size: 10px; display: flex; align-items: center; justify-content: center;
    font-weight: 800;
}
.qa-alert-dot.warn-dot { background: var(--warning-color); color: var(--primary-color); }

/* ── Onboarding banner ────────────────────────────────────── */
.onboarding-banner {
    background: var(--dark-red);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin-bottom: 22px;
    color: var(--white-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    box-shadow: var(--shadow-red);
    font-size: 12px;
}

.ob-step { display: flex; align-items: center; gap: 7px; font-size: 12px; color: rgba(255,255,255,0.55); padding: 5px 12px; border-radius: var(--radius); }
.ob-step.done   { color: var(--success-color); background: rgba(34,187,51,0.12); }
.ob-step.active { color: var(--primary-color); background: var(--warning-color); }

/* ── Order pipeline cards ─────────────────────────────────── */
.order-pipeline-card {
    padding: 16px;
    border-radius: var(--radius);
    text-align: center;
    transition: transform 0.18s;
    font-size: 12px;
}
.order-pipeline-card:hover { transform: translateY(-2px); }
.order-pipeline-card .pipeline-icon { font-size: 1.5rem; }
.order-pipeline-card .pipeline-value { font-size: 1.4rem; font-weight: 800; color: var(--primary-color); margin-top: 6px; }
.order-pipeline-card .pipeline-label { font-size: 11px; color: var(--gray-500); margin-top: 2px; }

.pipeline-blue   { background: #e8f4fd; }
.pipeline-blue   .pipeline-icon { color: #0c4a6e; }
.pipeline-orange { background: #fff3e0; }
.pipeline-orange .pipeline-icon { color: #e65100; }
.pipeline-green  { background: #eafaf1; }
.pipeline-green  .pipeline-icon { color: var(--success-color); }
.pipeline-gold   { background: #fffbf0; }
.pipeline-gold   .pipeline-icon { color: #9a6700; }

/* ── How it works ─────────────────────────────────────────── */
.howitworks-step-icon {
    width: 34px; height: 34px;
    border-radius: var(--radius);
    background: #fffbf0;
    color: #9a6700;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}
.howitworks-title { font-size: 12px; font-weight: 700; }
.howitworks-desc  { font-size: 11px; color: var(--gray-400); }

/* ── Account info rows ────────────────────────────────────── */
.account_info_div {
    background: var(--whitesmoke);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius);
    font-size: 12px;
    transition: all 0.18s;
    padding: 10px 14px;
}
.account_info_div:hover { border-color: var(--gray-200); }
.account_info_div > div:first-child { font-size: 11px; color: var(--gray-400); margin-bottom: 3px; }
.account_info_div .fw-semibold { font-weight: 700; font-size: 12px; }

/* ── Verify status rows ───────────────────────────────────── */
.verify-status-card {
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 16px;
    font-size: 12px;
}
.verify-status-card.verify-status-warn { background: #fffbf0; border: 1px solid var(--warning-color); }
.verify-status-card .verify-status-label { font-size: 11px; color: var(--gray-400); }
.verify-status-card .verify-status-value { font-weight: 700; margin-top: 3px; }

.aadhaar-status-card {
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 16px;
    font-size: 12px;
}
.aadhaar-status-card.aadhaar-flagged { background: #fdf2f2; border: 1px solid var(--dark-red); }
.aadhaar-status-card .aadhaar-status-label { font-size: 11px; color: var(--gray-400); }
.aadhaar-status-card .aadhaar-status-value { font-weight: 700; margin-top: 3px; }

/* Badges */
.badge-pending  { background: var(--gray-100); color: var(--gray-500); }
.badge-review   { background: #fffbf0; color: #9a6700; }
.badge-live     { background: #eafaf1; color: var(--success-color); }
.badge-rejected { background: #fdf2f2; color: var(--dark-red); }

/* Empty states */
.empty-state      { text-align: center; padding: 48px 20px; color: var(--gray-400); font-size: 12px; }
.empty-state-icon { font-size: 2rem; color: var(--gray-300); }

/* ============================================================
   VERIFICATION BANNERS (email / phone)
   ============================================================ */
.verify-banner {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    border-radius: var(--radius);
    padding: 16px 18px;
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
    font-size: 12px;
}

.verify-banner.email-banner {
    background: #fffbf0;
    border: 1px solid var(--warning-color);
}

.verify-banner.phone-banner {
    background: #f0f8ff;
    border: 1px solid #7ec8f0;
}

.verify-banner-icon {
    width: 40px; height: 40px;
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.email-banner .verify-banner-icon { background: var(--warning-color); color: var(--primary-color); }
.phone-banner .verify-banner-icon { background: #7ec8f0; color: #0c4a6e; }

.verify-banner-body { flex: 1; min-width: 0; }
.verify-banner-title { font-weight: 800; font-size: 12px; margin-bottom: 4px; }
.email-banner .verify-banner-title { color: #9a6700; }
.phone-banner .verify-banner-title { color: #0c4a6e; }
.verify-banner-text { font-size: 12px; color: var(--gray-500); margin-bottom: 10px; }

/* ============================================================
   PROFILE PAGE
   ============================================================ */
.profile-avatar {
    width: 88px; height: 88px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.avatar-placeholder {
    width: 88px; height: 88px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 2px solid var(--gray-200);
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem;
    color: var(--white-color);
}

.profile-name-heading { font-size: 1.3rem; }

.profile-badge { font-size: 11px; padding: 4px 12px; border-radius: var(--radius); font-weight: 700; }
.profile-badge-approved { background: #eafaf1; color: var(--success-color); }
.profile-badge-style    { background: var(--whitesmoke); color: var(--primary-color); }
.profile-badge-location { background: var(--gray-100); color: var(--gray-500); }

.tab-nav  { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.tab-pane { display: none; }
.tab-pane.active { display: block; animation: fadeIn 0.25s; }

.info-label { font-size: 11px; font-weight: 700; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 3px; }
.info-value { font-size: 12px; color: var(--primary-color); font-weight: 600; }
.info-value.empty { color: var(--gray-300); font-style: italic; font-weight: 400; }

.doc-tile {
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 18px 12px;
    text-align: center;
    transition: all 0.18s;
    background: var(--white-color);
    font-size: 12px;
}
.doc-tile:hover { border-color: var(--dark-red); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.doc-tile i { font-size: 1.7rem; margin-bottom: 8px; }

/* ============================================================
   ACCOUNT SETUP (ONBOARDING SUMMARY)
   ============================================================ */
.setup-card {
    background: var(--white-color);
    border-radius: var(--radius);
    margin-bottom: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: box-shadow 0.18s;
}
.setup-card:hover { box-shadow: var(--shadow-md); }

.setup-card-head {
    padding: 16px 22px;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--whitesmoke);
}

.setup-card .step-badge {
    width: 32px; height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px;
    font-weight: 800;
}
.setup-card .step-badge.done    { background: #eafaf1; color: var(--success-color); }
.setup-card .step-badge.pending { background: var(--gray-100); color: var(--gray-400); }
.setup-card .step-badge.current { background: var(--primary-color); color: var(--white-color); }
.setup-card-body { padding: 18px 22px; font-size: 12px; }

.progress-wrap { background: var(--white-color); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 20px; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-100); }
.progress-steps { display: flex; align-items: flex-start; }
.progress-step { flex: 1; display: flex; flex-direction: column; align-items: center; position: relative; }
.progress-step:not(:last-child)::after { content: ''; position: absolute; top: 16px; left: 50%; width: 100%; height: 2px; background: var(--gray-200); z-index: 0; }
.progress-step.done:not(:last-child)::after { background: var(--dark-red); }

.step-circle {
    width: 32px; height: 32px;
    border-radius: 50%;
    z-index: 1;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px;
    font-weight: 800;
    border: 2px solid var(--gray-200);
    background: var(--white-color);
    color: var(--gray-400);
}
.progress-step.done .step-circle    { background: var(--primary-color); border-color: var(--primary-color); color: var(--white-color); }
.progress-step.current .step-circle { background: var(--dark-red); border-color: var(--dark-red); color: var(--white-color); box-shadow: 0 3px 10px rgba(235,38,39,0.25); }

.step-label { font-size: 11px; font-weight: 700; color: var(--gray-400); margin-top: 7px; text-align: center; }
.progress-step.done .step-label, .progress-step.current .step-label { color: var(--primary-color); }

.badge-setup-complete { background: #eafaf1; color: var(--success-color); font-size: 11px; font-weight: 700; padding: 4px 14px; border-radius: var(--radius); }
.badge-setup-pending  { background: #fffbf0; color: #9a6700; font-size: 11px; font-weight: 700; padding: 4px 14px; border-radius: var(--radius); }

.commission-rate-value { color: var(--dark-red); font-size: 1.1rem; font-weight: 800; }
.agreement-status-signed { color: var(--success-color); font-weight: 700; }
.badge-agreement-signed  { background: #eafaf1; color: var(--success-color); }

.btn-add-brand-outline { font-size: 11px; font-weight: 700; padding: 5px 14px; background: transparent; border: 1.5px solid var(--dark-red); color: var(--dark-red); border-radius: var(--radius); transition: all 0.18s; }
.btn-add-brand-outline:hover { background: var(--dark-red); color: var(--white-color); }
.btn-link-gold { background: none; border: none; padding: 0; color: var(--dark-red); font-weight: 700; font-size: 12px; cursor: pointer; }

.address-section-title { color: var(--primary-color); font-size: 12px; font-weight: 700; }
.field-row-label { font-weight: 600; font-size: 12px; color: var(--gray-500); }
.setup-progress-title { color: var(--primary-color); font-size: 13px; font-weight: 700; }
.setup-step-title { color: var(--primary-color); font-size: 12px; font-weight: 700; }

.bank-security-note { background: #fffbf0; color: #9a6700; border: none; border-radius: var(--radius); font-size: 12px; padding: 12px 16px; }
.address-modal-heading { color: var(--primary-color); font-size: 13px; font-weight: 700; }
.admin-review-note { font-size: 11px; color: var(--gray-400); }
.rejection-note    { font-size: 11px; }
.input-uppercase   { text-transform: uppercase; }

/* Modals */
.modal-content { border-radius: var(--radius) !important; border: 0; box-shadow: var(--shadow-lg); }
.modal-header  { background: var(--primary-color); color: var(--white-color); border-radius: var(--radius) var(--radius) 0 0 !important; padding: 14px 20px; }
.modal-header .btn-close { filter: invert(1) opacity(0.7); }
.modal-title   { font-size: 13px; font-weight: 700; }
.modal-body    { font-size: 12px; }

.edit-profile-modal-header { background: var(--primary-color); color: var(--white-color); border-radius: var(--radius) var(--radius) 0 0; }

/* ============================================================
   ORDER LIST / VIEW
   ============================================================ */
.order-row {
    border: 1px solid var(--gray-100);
    margin-bottom: 10px;
    padding: 16px 18px;
    background: var(--white-color);
    border-radius: var(--radius);
    transition: all 0.18s;
    box-shadow: var(--shadow-sm);
    font-size: 12px;
}
.order-row:hover { box-shadow: var(--shadow-md); border-color: var(--gray-200); }

.order-img {
    width: 54px; height: 54px;
    object-fit: cover;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
}

.order-img-placeholder {
    width: 54px; height: 54px;
    border-radius: var(--radius);
    background: var(--whitesmoke);
    display: flex; align-items: center; justify-content: center;
    color: var(--gray-300); font-size: 1.2rem;
}

.order-number-text   { font-size: 12px; font-weight: 700; }
.order-product-line  { font-size: 12px; color: #333; }
.order-meta-line     { font-size: 11px; color: var(--gray-400); }
.order-shipping-line { font-size: 11px; color: #0c4a6e; }

.order-price-block  { text-align: right; min-width: 100px; }
.order-price-total  { font-weight: 800; color: var(--primary-color); font-size: 12px; }
.order-price-label  { font-size: 11px; color: var(--gray-400); }
.order-price-payout { font-weight: 700; font-size: 12px; color: var(--success-color); }

/* Orders stat boxes */
.orders-stat-box {
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: all 0.18s;
}
.orders-stat-box:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.orders-stat-box .orders-stat-value { font-weight: 800; font-size: 1.2rem; }
.orders-stat-box .orders-stat-label { color: var(--gray-500); font-size: 11px; margin-top: 3px; }

.orders-stat-total       { background: var(--white-color); }
.orders-stat-total .orders-stat-value       { color: var(--primary-color); }
.orders-stat-new         { background: #fffbf0; }
.orders-stat-new .orders-stat-value         { color: #9a6700; }
.orders-stat-production  { background: #fff3e0; }
.orders-stat-production .orders-stat-value  { color: #e65100; }
.orders-stat-delivered   { background: #eafaf1; }
.orders-stat-delivered .orders-stat-value   { color: var(--success-color); }
.orders-stat-earned      { background: #eafaf1; }
.orders-stat-earned .orders-stat-value      { color: var(--success-color); }
.orders-stat-pending-payout { background: #fdf2f2; border-color: var(--dark-red); }
.orders-stat-pending-payout .orders-stat-value { color: var(--dark-red); }

/* Order detail */
.detail-card {
    background: var(--white-color);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin-bottom: 18px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    font-size: 12px;
}
.detail-card h6 { color: var(--primary-color); font-size: 12px; margin-bottom: 12px; font-weight: 700; }
.detail-label { font-size: 11px; font-weight: 700; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.4px; margin-bottom: 3px; }
.detail-value { font-size: 12px; color: var(--primary-color); font-weight: 500; }

.order-detail-back { text-decoration: none; color: var(--gray-400); font-size: 12px; transition: color 0.18s; }
.order-detail-back:hover { color: var(--dark-red); }
.order-detail-number { color: var(--primary-color); font-size: 12px; font-weight: 700; }

/* Timeline */
.timeline-step { display: flex; align-items: flex-start; gap: 14px; padding-bottom: 18px; position: relative; }
.timeline-step:not(:last-child)::after { content: ''; position: absolute; left: 14px; top: 30px; width: 2px; bottom: 0; background: var(--gray-200); }

.timeline-dot {
    width: 28px; height: 28px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}
.dot-done    { background: #eafaf1; color: var(--success-color); }
.dot-current { background: var(--primary-color); color: var(--white-color); }
.dot-pending { background: var(--gray-100); color: var(--gray-400); }

.payout-box { background: var(--whitesmoke); border-radius: var(--radius); padding: 16px 20px; box-shadow: var(--shadow-sm); font-size: 12px; border: 1px solid var(--gray-100); }

/* Product thumbnail in orders */
.order-product-thumb {
    width: 76px; height: 76px;
    object-fit: cover;
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
}
.order-product-thumb-placeholder {
    width: 76px; height: 76px;
    border-radius: var(--radius);
    background: var(--whitesmoke);
    display: flex; align-items: center; justify-content: center;
    color: var(--gray-300); font-size: 1.4rem;
}
.order-product-name { color: var(--primary-color); font-size: 13px; font-weight: 700; }

.pay-badge-method-online { background: #eafaf1; color: var(--success-color); border-radius: var(--radius); font-size: 11px; font-weight: 700; padding: 3px 10px; }
.pay-badge-method-cod    { background: var(--gray-100); color: var(--gray-500); border-radius: var(--radius); font-size: 11px; font-weight: 700; padding: 3px 10px; }

.shipping-info-title { color: #0c4a6e; font-size: 13px; font-weight: 700; }
.payout-status-text    { font-size: 12px; color: var(--gray-500); }
.payout-status-paid    { color: var(--success-color); font-weight: 700; }
.payout-status-pending { color: #9a6700; font-weight: 700; }

.timeline-step .timeline-step-label   { font-size: 12px; }
.timeline-step .timeline-step-current { font-size: 11px; color: var(--gray-400); }

/* ============================================================
   PRODUCT ADD / EDIT
   ============================================================ */
.back-link-product { color: var(--primary-color); text-decoration: none; font-weight: 700; font-size: 12px; display: inline-flex; align-items: center; gap: 6px; transition: color 0.18s; }
.back-link-product:hover { color: var(--dark-red); }
.product-page-subtitle { font-size: 12px; color: var(--gray-400); }

.img-drop-zone .drop-icon { color: var(--dark-red); }

#imgGrid, #existingGrid, #newImgGrid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }

.img-thumb-wrap {
    position: relative;
    width: 100px; height: 100px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1.5px solid var(--gray-200);
    cursor: grab;
    box-shadow: var(--shadow-sm);
    transition: all 0.18s;
}
.img-thumb-wrap.primary { border-color: var(--dark-red); box-shadow: 0 0 0 2px rgba(235,38,39,0.16); }
.img-thumb-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }

.img-thumb-actions {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,0.6));
    display: flex; justify-content: center; gap: 6px; padding: 5px;
    opacity: 0; transition: opacity 0.18s;
}
.img-thumb-wrap:hover .img-thumb-actions { opacity: 1; }
.img-thumb-actions button { background: rgba(255,255,255,0.15); border: none; color: var(--white-color); font-size: 11px; cursor: pointer; padding: 3px 6px; border-radius: var(--radius); transition: background 0.2s; }
.img-thumb-actions button:hover { background: rgba(255,255,255,0.28); }

.primary-badge { position: absolute; top: 4px; left: 4px; background: var(--dark-red); color: var(--white-color); font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: var(--radius); }
.drag-hint { position: absolute; top: 4px; right: 4px; color: rgba(255,255,255,0.8); font-size: 11px; }

.new-thumb-wrap { position: relative; width: 100px; height: 100px; border-radius: var(--radius); overflow: hidden; border: 2px dashed var(--gray-300); }
.new-thumb-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.new-thumb-remove { position: absolute; top: 4px; right: 4px; background: var(--dark-red); color: var(--white-color); border: none; border-radius: 50%; width: 20px; height: 20px; font-size: 11px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.18s; }
.new-thumb-remove:hover { background: var(--dark-red-dark); }
.img-thumb-wrap.drag-over-thumb { outline: 2px dashed var(--dark-red); }

/* Size grid */
.size-grid-header { display: grid; grid-template-columns: 100px 44px 1fr 1fr; gap: 8px; padding: 0 12px; margin-bottom: 6px; font-size: 11px; font-weight: 700; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.4px; }
.size-row { display: grid; grid-template-columns: 100px 44px 1fr 1fr; align-items: center; gap: 8px; padding: 10px 12px; border: 1.5px solid var(--gray-200); border-radius: var(--radius); margin-bottom: 8px; transition: all 0.18s; background: var(--white-color); font-size: 12px; }
.size-row.active { border-color: var(--dark-red); background: #fdf2f2; }
.size-row-label { font-weight: 700; font-size: 12px; }

/* Payout calc */
.payout-calc-box { background: #eafaf1; border: 1px solid var(--success-color); border-radius: var(--radius); padding: 14px; font-size: 12px; margin-bottom: 12px; display: none; }
.payout-calc-box .payout-row { display: flex; justify-content: space-between; }
.payout-calc-box .payout-you-receive { font-weight: 800; margin-top: 6px; }
.payout-calc-box .payout-amount-value { color: var(--success-color); }

/* Review / lock banners */
.review-banner { background: #fffbf0; border: 1px solid var(--warning-color); border-radius: var(--radius); padding: 14px 18px; margin-bottom: 18px; font-size: 12px; }
.lock-note-box { text-align: center; color: var(--gray-400); font-size: 12px; padding: 8px 0; }

/* ============================================================
   PRODUCT LIST
   ============================================================ */
.products-page-header h4 { font-size: 1.2rem; }
.products-page-header p  { font-size: 12px; }

.stat-box-product {
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: all 0.18s;
}
.stat-box-product:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.stat-box-product .stat-box-value { font-weight: 800; font-size: 1.5rem; }
.stat-box-product .stat-box-label { color: var(--gray-500); font-size: 11px; margin-top: 3px; }

.stat-box-total    { background: var(--white-color); }
.stat-box-total .stat-box-value       { color: var(--primary-color); }
.stat-box-approved { background: #eafaf1; }
.stat-box-approved .stat-box-value    { color: var(--success-color); }
.stat-box-review   { background: #fffbf0; }
.stat-box-review .stat-box-value      { color: #9a6700; }
.stat-box-draft    { background: var(--whitesmoke); }
.stat-box-draft .stat-box-value       { color: var(--gray-500); }

.product-card {
    border: 1px solid var(--gray-100);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.22s;
    background: var(--white-color);
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.product-img { width: 100%; height: 180px; object-fit: cover; }
.product-img-placeholder { width: 100%; height: 180px; background: var(--whitesmoke); display: flex; align-items: center; justify-content: center; color: var(--gray-300); font-size: 2rem; }

.product-card-title    { font-size: 12px; font-weight: 700; color: var(--primary-color); line-height: 1.35; }
.product-card-category { font-size: 11px; color: var(--gray-400); }
.product-card-price    { color: var(--dark-red); font-size: 1.1rem; font-weight: 800; }

.product-rejection-note { font-size: 11px; border-radius: var(--radius); }

.empty-products-state { text-align: center; padding: 60px 20px; }
.empty-products-icon  { font-size: 2.5rem; color: var(--gray-300); }
.empty-products-title { color: var(--gray-500); margin-top: 14px; font-size: 13px; }
.empty-products-text  { color: var(--gray-400); font-size: 12px; }

/* ============================================================
   PHONE VERIFICATION PAGE
   ============================================================ */
.phone-display-box { background: var(--whitesmoke); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 14px; font-size: 12px; }
.phone-display-label { font-size: 11px; color: var(--gray-400); margin-bottom: 3px; }
.phone-display { font-family: monospace; font-size: 1.1rem; font-weight: 700; color: var(--primary-color); letter-spacing: 2px; }

.otp-helper-text { font-size: 11px; color: var(--gray-400); text-align: center; margin-top: 8px; }

.resend-otp-link { background: none; border: none; color: var(--dark-red); font-size: 12px; font-weight: 600; cursor: pointer; display: none; transition: color 0.18s; }
.resend-otp-link:hover { color: var(--dark-red-dark); }

.verify-card { background: var(--white-color); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-md); border: 1px solid var(--gray-100); }

.verify-icon {
    width: 60px; height: 60px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white-color);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
    box-shadow: var(--shadow-sm);
}
.verify-icon i { font-size: 1.4rem; }

/* ============================================================
   UTILITY — Stat box (generic)
   ============================================================ */
.stat-box { border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow-sm); font-size: 12px; }
.stat-box small { font-size: 11px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
    .dreg-header h1 { font-size: 1.35rem; }
    .dreg-form-card { padding: 22px 20px; }
}

@media (max-width: 767px) {
    .designer-status-page,
    .dreg-page  { padding: 20px 12px; }
    .dash-sidebar { transform: translateX(-100%); transition: transform 0.25s; }
    .dash-sidebar.open { transform: translateX(0); }
    .dash-main { margin-left: 0; }
    .sidebar-toggle { display: flex; align-items: center; justify-content: center; }
    .dash-body { padding: 14px; }
    .dash-topbar { padding: 12px 16px 12px 58px; }
    .dreg-form-card { padding: 20px 16px; }
    .dreg-form-row { grid-template-columns: 1fr; }
    .dreg-progress-steps { flex-wrap: wrap; }
    .dreg-progress-step { flex: 0 0 50%; margin-bottom: 16px; }
    .aadhaar-flag-banner { flex-direction: column; }
    .verify-banner { flex-direction: column; }
    .verify-card { padding: 24px 20px; }
    .status-card { padding: 24px 18px; }
    .resubmit-card { padding: 18px; }
}

@media (min-width: 0) and (max-width: 787px) {
    #sidebar {
        position: fixed !important;
        top: 72px !important;
        left: -260px !important;
        height: 100vh !important;
        width: 240px !important;
        z-index: 1050 !important;
        overflow-y: auto !important;
        transition: left 0.26s cubic-bezier(0.4,0,0.2,1) !important;
        box-shadow: none;
    }
    .sidebar-toggle { display: block !important; }
}

@media (max-width: 576px) {
    .aadhaar-flag-icon { width: 40px; height: 40px; font-size: 1.1rem; }
    .aadhaar-flag-note { display: none; }
    .verify-card { padding: 20px 14px; }
}

@media (max-width: 420px) {
    .dreg-progress-tracker { padding: 14px 16px; }
    .dreg-step-circle { width: 32px; height: 32px; }
    .dreg-step-label  { font-size: 10px; }
}