/* ============================================
   Anun Merchant Portal — Brand Theme
   Colors: #01AF4D (green), Quicksand font
   ============================================ */

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

/* === Design Tokens === */
:root {
    --primary: #01AF4D;
    --primary-hover: #018F3F;
    --primary-light: #E8F8EF;
    --primary-glow: rgba(1, 175, 77, 0.15);

    --bg: #F6F6F6;
    --bg-alt: #F3F3F3;
    --card: #FFFFFF;
    --card-hover: #FAFAFA;

    --text: #000000;
    --text-secondary: #545454;
    --text-muted: #717171;
    --text-inverse: #FFFFFF;

    --border: #E0E0E0;
    --border-light: #F1F1F1;
    --border-focus: var(--primary);

    --danger: #E21B1B;
    --danger-bg: #FEF2F2;
    --danger-border: #FECACA;
    --warning: #D97706;
    --warning-bg: #FFFEBE;
    --warning-border: #FDE68A;
    --success: #01AF4D;
    --success-bg: #E8F8EF;
    --success-border: #A7F3D0;
    --info: #01AF4D;
    --info-bg: #E8F8EF;
    --info-border: #A7F3D0;

    --radius-sm: 10px;
    --radius: 14px;
    --radius-lg: 18px;

    --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.03);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -2px rgba(0,0,0,0.03);
    --shadow-md: 0 6px 16px -4px rgba(0,0,0,0.07), 0 2px 6px -2px rgba(0,0,0,0.03);
    --shadow-lg: 0 12px 32px -8px rgba(0,0,0,0.08);

    --font-sans: 'Quicksand', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-bn: 'Solaiman Lipi', 'Quicksand', sans-serif;

    --transition-fast: 120ms ease;
    --transition: 200ms ease;
    --transition-slow: 300ms ease;
}

/* === Base === */
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-size: 15px;
    font-weight: 500;
}

a { color: var(--primary); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--primary-hover); }

.container { max-width: 800px; margin: 0 auto; padding: 0 24px; }

/* === Navbar === */
.navbar {
    background: var(--card);
    border-bottom: 1px solid var(--border-light);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-xs);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.logo {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo-icon {
    width: 34px;
    height: 34px;
    background: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
}
.nav-links a {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}
.nav-links a:hover {
    background: var(--primary-light);
    color: var(--primary);
    text-decoration: none;
}

/* === Hero / Landing === */
.hero {
    text-align: center;
    padding: 52px 0 36px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 20px;
    border: 1px solid rgba(1, 175, 77, 0.15);
}
.hero h1 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 14px;
    color: var(--text);
    letter-spacing: -0.02em;
    line-height: 1.15;
}
.hero h1 span { color: var(--primary); }
.hero p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 440px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.steps-preview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 36px 0;
}
.step-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 20px 12px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    border: 1px solid var(--border-light);
    transition: all var(--transition);
}
.step-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    border-color: var(--primary);
}
.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: var(--primary);
    color: #fff;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 10px;
}
.step-card h3 { font-size: 0.8rem; font-weight: 700; margin-bottom: 3px; color: var(--text); }
.step-card p { font-size: 0.68rem; color: var(--text-muted); line-height: 1.4; }

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    letter-spacing: -0.01em;
}
.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 2px 8px rgba(1, 175, 77, 0.25);
}
.btn-primary:hover {
    background: var(--primary-hover);
    box-shadow: 0 4px 14px rgba(1, 175, 77, 0.35);
    transform: translateY(-1px);
    text-decoration: none;
    color: #fff;
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
    background: var(--card);
    color: var(--text-secondary);
    border: 1.5px solid var(--border);
    font-weight: 600;
}
.btn-secondary:hover {
    background: var(--bg);
    border-color: var(--text-muted);
    text-decoration: none;
}

.btn-success { background: var(--success); color: #fff; }
.btn-success:hover { background: #018F3F; text-decoration: none; color: #fff; }

.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #c41818; text-decoration: none; color: #fff; }

.btn-block { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }

/* === Cards === */
.card {
    background: var(--card);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    box-shadow: var(--shadow-sm);
    margin: 24px 0;
    border: 1px solid var(--border-light);
}
.card h2 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 4px;
    letter-spacing: -0.02em;
    color: var(--text);
}
.card .subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 28px;
    font-weight: 500;
}

/* === Section Headers inside card === */
.card-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 28px 0 16px;
    padding-bottom: 12px;
    border-bottom: 1.5px solid var(--border-light);
}
.card-section-title h3 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text);
}
.card-section-title .section-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
}

/* === Form Elements === */
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-weight: 700;
    font-size: 0.82rem;
    margin-bottom: 7px;
    color: var(--text);
    letter-spacing: 0.01em;
}
.form-group label .required { color: var(--danger); margin-left: 2px; }

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="number"],
.form-group input[type="tel"],
.form-group input[type="url"],
.form-group input[type="date"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: inherit;
    font-weight: 500;
    transition: all var(--transition-fast);
    background: var(--card);
    color: var(--text);
    line-height: 1.5;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #B0B0B0;
}
.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23717171' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.form-hint {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 5px;
    font-weight: 500;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }

/* === Checkboxes === */
.checkbox-group { display: flex; flex-wrap: wrap; gap: 10px; }
.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    padding: 10px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    user-select: none;
}
.checkbox-group label:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}
.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    border-radius: 4px;
}

/* === Radio Cards === */
.radio-group { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-option { flex: 1; min-width: 120px; }
.radio-option input { display: none; }
.radio-option label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    text-align: center;
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 600;
    transition: all var(--transition-fast);
    background: var(--card);
}
.radio-option label:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}
.radio-option input:checked + label {
    border-color: var(--primary);
    background: var(--primary-light);
    color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary);
}

/* === Steps Indicator === */
.steps-bar {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 20px 0 8px;
    padding: 14px 0;
}
.steps-bar .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    transition: all var(--transition);
}
.steps-bar .dot.active {
    background: var(--primary);
    width: 30px;
    border-radius: 5px;
    box-shadow: 0 0 8px var(--primary-glow);
}
.steps-bar .dot.done { background: var(--primary); opacity: 0.5; }

/* === OTP Inputs === */
.otp-inputs { display: flex; gap: 8px; justify-content: center; margin: 20px 0; }
.otp-inputs input {
    width: 50px;
    height: 58px;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
    font-family: var(--font-sans);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    background: var(--card);
    color: var(--text);
}
.otp-inputs input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.otp-label {
    text-align: center;
    font-weight: 700;
    margin-bottom: 6px;
    font-size: 0.9rem;
    color: var(--text);
}
.otp-sublabel {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.82rem;
    margin-bottom: 4px;
    font-weight: 500;
}

/* === File Upload === */
.upload-area {
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition);
    position: relative;
    background: var(--card);
}
.upload-area:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}
.upload-area input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}
.upload-area .upload-icon {
    font-size: 2rem;
    margin-bottom: 8px;
    color: var(--text-muted);
    line-height: 1;
}
.upload-area p { color: var(--text-muted); font-size: 0.82rem; line-height: 1.5; font-weight: 500; }

/* === Plan Cards === */
.plan-cards { display: grid; gap: 14px; }
.plan-card {
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    cursor: pointer;
    transition: all var(--transition);
    position: relative;
    background: var(--card);
}
.plan-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}
.plan-card.selected {
    border-color: var(--primary);
    background: var(--primary-light);
    box-shadow: 0 0 0 1px var(--primary), var(--shadow-md);
}
.plan-card.selected::after {
    content: '\2713';
    position: absolute;
    top: 14px;
    right: 14px;
    width: 26px;
    height: 26px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
}
.plan-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.plan-card .commission {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.03em;
    line-height: 1.1;
}
.plan-card .commission span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
}
.plan-card .plan-desc { color: var(--text-secondary); font-size: 0.85rem; margin-top: 10px; line-height: 1.5; font-weight: 500; }

/* === Status Badge === */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.status-badge::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}
.status-draft { background: #F3F4F6; color: #6B7280; }
.status-draft::before { background: #9CA3AF; }
.status-submitted { background: #FFF3CD; color: #856404; }
.status-submitted::before { background: #F59E0B; }
.status-approved { background: var(--success-bg); color: var(--primary); }
.status-approved::before { background: var(--primary); }
.status-rejected { background: var(--danger-bg); color: var(--danger); }
.status-rejected::before { background: var(--danger); }

/* === Status Timeline === */
.status-timeline {
    margin: 28px 0;
    padding-left: 24px;
    border-left: 2px solid var(--border);
}
.status-item {
    position: relative;
    padding: 0 0 24px 24px;
}
.status-item:last-child { padding-bottom: 0; }
.status-item::before {
    content: '';
    position: absolute;
    left: -30px;
    top: 3px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border);
    border: 2px solid var(--bg);
}
.status-item.active::before { background: var(--primary); box-shadow: 0 0 0 3px var(--primary-glow); }
.status-item.done::before { background: var(--primary); }
.status-item h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 2px; color: var(--text); }
.status-item p { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; }

/* === Review Section === */
.review-section {
    padding: 18px 0;
    border-bottom: 1px solid var(--border-light);
}
.review-section:last-child { border-bottom: none; }
.review-section h4 {
    font-size: 0.72rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    font-weight: 700;
    margin-bottom: 6px;
}
.review-section .review-value { font-size: 0.95rem; font-weight: 600; color: var(--text); }

/* === Map === */
#map {
    height: 300px;
    border-radius: var(--radius);
    margin-top: 10px;
    border: 1.5px solid var(--border);
    overflow: hidden;
}

/* === Signature === */
.signature-pad {
    border: 2px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    touch-action: none;
    cursor: crosshair;
}
.signature-actions { display: flex; gap: 10px; margin-top: 14px; justify-content: center; }

/* === Alerts === */
.alert {
    padding: 13px 16px;
    border-radius: var(--radius-sm);
    margin: 16px 0;
    font-size: 0.88rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
    font-weight: 500;
}
.alert-success { background: var(--success-bg); color: #017A3A; border: 1px solid var(--success-border); }
.alert-danger { background: var(--danger-bg); color: #991B1B; border: 1px solid var(--danger-border); }
.alert-warning { background: var(--warning-bg); color: #92400E; border: 1px solid var(--warning-border); }
.alert-info { background: var(--info-bg); color: #017A3A; border: 1px solid var(--info-border); }

/* === Footer === */
.footer {
    margin-top: auto;
    padding: 28px 0;
    text-align: center;
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
    border-top: 1px solid var(--border-light);
}

/* === Loading State === */
.loading { opacity: 0.6; pointer-events: none; }
.spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2.5px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* === Navigation Buttons Row === */
.nav-buttons { display: flex; gap: 12px; margin-top: 28px; }
.nav-buttons .btn { flex: 1; }
.nav-buttons .btn-primary { flex: 2; }

/* === Contract Box === */
.contract-box {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card);
    max-height: 500px;
    overflow-y: auto;
    font-size: 0.82rem;
    line-height: 1.7;
    color: var(--text-secondary);
}
.contract-header {
    text-align: center;
    padding: 24px 24px 16px;
    border-bottom: 3px solid var(--primary);
    background: var(--primary-light);
    border-radius: var(--radius) var(--radius) 0 0;
}
.contract-header h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 2px;
    letter-spacing: 1px;
}
.contract-sub {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.contract-id-line {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 6px;
}
.contract-section {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-light);
}
.contract-section:last-of-type { border-bottom: none; }
.contract-section h4 {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 6px;
}
.contract-section p { margin-bottom: 4px; }
.contract-ack {
    padding: 16px 24px;
    border-top: 2px solid var(--primary);
    background: var(--primary-light);
    font-weight: 600;
    color: var(--text);
    font-size: 0.82rem;
}

/* === File Preview === */
.file-preview { margin-top: 8px; }
.file-preview-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--primary-light);
    border: 1.5px solid var(--primary);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
}
.file-preview-icon { font-size: 1.2rem; flex-shrink: 0; }
.file-preview-name {
    flex: 1;
    font-weight: 600;
    color: var(--text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.file-remove {
    width: 28px;
    height: 28px;
    border: none;
    background: var(--danger);
    color: #fff;
    border-radius: 50%;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background var(--transition-fast);
    line-height: 1;
}
.file-remove:hover { background: #b91c1c; }
.file-preview-photos { display: flex; flex-direction: column; gap: 6px; }
.file-preview-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: var(--primary-light);
    border: 1.5px solid var(--primary);
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text);
}
.file-remove-inline {
    margin-left: auto;
    width: 22px;
    height: 22px;
    border: none;
    background: var(--danger);
    color: #fff;
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* === Opening Hours === */
.hours-grid { display: flex; flex-direction: column; gap: 8px; }
.hours-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    background: var(--card);
}
.hours-day {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 60px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text);
}
.hours-day input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
}
.hours-times {
    display: flex;
    align-items: center;
    gap: 8px;
}
.hours-input {
    padding: 6px 10px;
    border: 1.5px solid var(--border);
    border-radius: 6px;
    font-size: 0.85rem;
    font-family: inherit;
    font-weight: 600;
    color: var(--text);
    background: var(--card);
}
.hours-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--primary-glow);
}
.hours-sep {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
}
.hours-closed-label {
    color: var(--danger);
    font-weight: 700;
    font-size: 0.85rem;
}

/* === Checkbox Pill Grid === */
.checkbox-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.checkbox-pill {
    cursor: pointer;
    user-select: none;
}
.checkbox-pill input { display: none; }
.checkbox-pill span {
    display: inline-block;
    padding: 7px 14px;
    border: 1.5px solid var(--border);
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--card);
    transition: all var(--transition-fast);
}
.checkbox-pill span:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}
.checkbox-pill input:checked + span {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
}
.checkbox-pill.checked span {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
}

/* === Owner Cards === */
.owner-card {
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 16px;
    background: var(--card);
    position: relative;
}
.owner-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-light);
}
.owner-number {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary);
}
.owner-remove {
    width: 28px;
    height: 28px;
    border: none;
    background: var(--danger);
    color: #fff;
    border-radius: 50%;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* === Responsive === */
@media (min-width: 768px) {
    .container { max-width: 800px; }
    .hero h1 { font-size: 2.8rem; }
    .hero { padding: 70px 0 50px; }
    .card { padding: 40px; }
    .form-row { grid-template-columns: 1fr 1fr; gap: 20px; }
    .form-row-3 { grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
    .otp-inputs input { width: 56px; height: 64px; font-size: 1.6rem; }
    .steps-preview { grid-template-columns: repeat(4, 1fr); gap: 16px; }
    .nav-buttons { gap: 16px; }
    .contract-box { max-height: 600px; }
}

@media (max-width: 767px) {
    .container { padding: 0 16px; }
    .form-row, .form-row-3 { grid-template-columns: 1fr; }
    .hero h1 { font-size: 1.85rem; }
    .card { padding: 24px 18px; border-radius: var(--radius); }
    .otp-inputs input { width: 42px; height: 50px; font-size: 1.2rem; }
    .steps-preview { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .nav-buttons { flex-direction: column-reverse; }
    .nav-buttons .btn { flex: auto; }
    .checkbox-grid { gap: 6px; }
    .checkbox-pill span { padding: 6px 12px; font-size: 0.78rem; }
    .owner-card { padding: 16px; }
    .hours-row { flex-direction: column; gap: 8px; align-items: stretch; }
    .hours-times { justify-content: flex-start; }
}
