/* ===================================================
   CICRM Customer Service Week 2026 (CSW 26)
   Theme: "THE EXTRA MILE"
   Primary Stylesheet with Multi-Step Wizard & Full Mobile Responsiveness
   =================================================== */

:root {
    --primary: #240a45;
    --primary-light: #3d1472;
    --primary-dark: #16042d;
    --accent: #f5a623;
    --accent-hover: #d97706;
    --accent-light: #fef3c7;
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --bg-page: #f8f9fd;
    --bg-card: #ffffff;
    --border-color: #e5e7eb;
    --success: #10b981;
    --success-bg: #ecfdf5;
    --warning: #f59e0b;
    --warning-bg: #fffbeb;
    --danger: #ef4444;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 15px rgba(36, 10, 69, 0.08);
    --shadow-lg: 0 12px 30px rgba(36, 10, 69, 0.14);
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-page);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Header & Top Bar */
.top-bar {
    background: var(--primary-dark);
    color: #e5e7eb;
    font-size: 0.82rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.top-bar a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.navbar {
    background: var(--primary);
    padding: 12px 0;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    min-width: 0;
}

.brand-logo {
    height: 48px;
    width: 48px;
    object-fit: contain;
    background: #ffffff;
    border-radius: 50%;
    padding: 2px;
    flex-shrink: 0;
}

.brand-text {
    min-width: 0;
}

.brand-text h1 {
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    letter-spacing: 0.3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.brand-text p {
    font-size: 0.72rem;
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-shrink: 0;
}

.btn-nav {
    background: var(--accent);
    color: var(--primary-dark);
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.btn-nav:hover {
    background: #ffffff;
    color: var(--primary);
    transform: translateY(-1px);
}

/* CPD Ribbon Banner */
.cpd-banner {
    background: linear-gradient(90deg, #059669 0%, #10b981 100%);
    color: #ffffff;
    padding: 10px 16px;
    text-align: center;
    font-weight: 600;
    font-size: 0.88rem;
    line-height: 1.4;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.2);
}

.cpd-banner span {
    background: rgba(0, 0, 0, 0.25);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.78rem;
    margin-right: 6px;
    font-weight: 800;
    display: inline-block;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1c0533 0%, #350f5c 50%, #1e0536 100%);
    color: #ffffff;
    padding: 40px 16px 50px;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: radial-gradient(circle at 80% 20%, rgba(245, 166, 35, 0.12), transparent 45%);
    pointer-events: none;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 35px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 166, 35, 0.15);
    color: var(--accent);
    border: 1px solid rgba(245, 166, 35, 0.4);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.hero-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 12px;
}

.hero-title span {
    color: var(--accent);
    display: inline-block;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: #e2d9f3;
    font-style: italic;
    margin-bottom: 25px;
    border-left: 3px solid var(--accent);
    padding-left: 14px;
    line-height: 1.5;
}

.hero-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 25px;
}

.meta-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 12px 14px;
    border-radius: var(--radius-sm);
}

.meta-card .label {
    font-size: 0.72rem;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 800;
    display: block;
    margin-bottom: 2px;
}

.meta-card .value {
    font-size: 0.98rem;
    font-weight: 800;
    color: #ffffff;
}

.meta-card .sub {
    font-size: 0.75rem;
    color: #c4b5fd;
}

.hero-flyer-wrapper {
    position: relative;
    max-width: 420px;
    margin: 0 auto;
}

.flyer-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 8px;
    box-shadow: var(--shadow-lg);
    border: 2px solid rgba(245, 166, 35, 0.35);
    overflow: hidden;
}

.flyer-card img {
    width: 100%;
    height: auto;
    border-radius: calc(var(--radius-md) - 4px);
    display: block;
}

/* Main Container & Layout */
.main-container {
    max-width: 1200px;
    margin: 30px auto 60px;
    padding: 0 16px;
}

.portal-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 30px;
    align-items: start;
}

/* Card Component */
.card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.card-header {
    background: var(--primary);
    color: #ffffff;
    padding: 20px 24px;
}

.card-header h2 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 3px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-header p {
    font-size: 0.85rem;
    color: #c4b5fd;
}

.card-body {
    padding: 24px;
}

/* ===================================================
   MULTI-STEP WIZARD PROGRESS BAR & INDICATORS
   =================================================== */

.wizard-progress-wrapper {
    background: #faf8fc;
    border-bottom: 1px solid #ede8f5;
    padding: 16px 20px 20px;
}

.wizard-progress-track {
    height: 6px;
    background: #e5e7eb;
    border-radius: 10px;
    margin: 0 15px 16px;
    position: relative;
    overflow: hidden;
}

.wizard-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #f5a623 0%, #10b981 100%);
    width: 25%;
    border-radius: 10px;
    transition: width 0.35s ease;
}

.wizard-steps-indicators {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    position: relative;
    z-index: 2;
    cursor: pointer;
    flex: 1;
    text-align: center;
}

.step-indicator .step-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #6b7280;
    font-size: 0.82rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    border: 2px solid transparent;
}

.step-indicator .step-label {
    font-size: 0.76rem;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    transition: color 0.25s ease;
}

.step-indicator.active .step-icon {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(245, 166, 35, 0.2);
    transform: scale(1.08);
}

.step-indicator.active .step-label {
    color: var(--primary);
    font-weight: 800;
}

.step-indicator.completed .step-icon {
    background: #10b981;
    color: #ffffff;
}

.step-indicator.completed .step-label {
    color: #059669;
}

/* Wizard Step Containers */
.wizard-step {
    display: none;
    animation: fadeSlide 0.3s ease-out;
}

.wizard-step.active {
    display: block;
}

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

.step-title-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.step-title-banner h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.step-stage-badge {
    background: var(--primary-light);
    color: #f3e8ff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Wizard Navigation Buttons */
.wizard-nav-btns {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.btn-wizard {
    padding: 13px 24px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
}

.btn-wizard.btn-back {
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #cbd5e1;
}

.btn-wizard.btn-back:hover {
    background: #e2e8f0;
}

.btn-wizard.btn-next {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(36, 10, 69, 0.25);
    margin-left: auto;
}

.btn-wizard.btn-next:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, #5b1b9e 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(36, 10, 69, 0.35);
}

/* Option Selectors */
.option-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.option-box {
    position: relative;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px 18px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #ffffff;
}

.option-box:hover {
    border-color: var(--primary-light);
    background: #fcfaff;
}

.option-box input[type="radio"] {
    position: absolute;
    top: 16px;
    right: 16px;
    accent-color: var(--primary);
    width: 20px;
    height: 20px;
}

.option-box.active {
    border-color: var(--primary);
    background: #faf6fe;
    box-shadow: 0 0 0 2px rgba(36, 10, 69, 0.12);
}

.option-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 6px;
}

.badge-free {
    background: #dcfce7;
    color: #166534;
}

.badge-paid {
    background: var(--accent-light);
    color: #92400e;
}

.option-name {
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.option-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.option-price {
    margin-top: 10px;
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--primary);
}

/* Verification Box */
.verify-container {
    background: #fbf8ff;
    border: 1.5px solid #e9d8fd;
    border-radius: var(--radius-md);
    padding: 18px;
    margin-top: 15px;
}

.verify-input-group {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.btn-verify {
    background: var(--primary);
    color: #ffffff;
    border: none;
    padding: 11px 20px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
    min-height: 46px;
}

.btn-verify:hover {
    background: var(--primary-light);
}

.verify-status-box {
    margin-top: 12px;
    padding: 12px 15px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    display: none;
}

.verify-status-box.success {
    display: block;
    background: var(--success-bg);
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.verify-status-box.error {
    display: block;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.name-search-trigger {
    display: inline-block;
    margin-top: 8px;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: underline;
    cursor: pointer;
}

.name-search-trigger:hover {
    color: var(--accent-hover);
}

/* Form Controls with 48px touch targets & 16px font to prevent mobile zoom */
.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: #374151;
    margin-bottom: 6px;
}

.form-group label .required {
    color: var(--danger);
}

.form-control {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 16px; /* 16px prevents iOS Safari auto-zoom */
    font-family: inherit;
    transition: all 0.2s;
    background: #ffffff;
    min-height: 48px;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(36, 10, 69, 0.1);
}

.form-control:user-invalid {
    border-color: var(--danger);
    background-color: #fffafa;
}

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

/* Payment Method Selection */
.payment-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.payment-tab {
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px 14px;
    text-align: center;
    cursor: pointer;
    background: #ffffff;
    transition: all 0.2s;
}

.payment-tab.active {
    border-color: var(--primary);
    background: #faf5ff;
    box-shadow: 0 0 0 2px rgba(36, 10, 69, 0.1);
}

.payment-tab .title {
    font-weight: 800;
    color: var(--primary-dark);
    display: block;
    font-size: 0.95rem;
    margin-bottom: 3px;
}

.payment-tab .subtitle {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Bank Account Detail Box */
.bank-details-box {
    background: #fdfbf7;
    border: 1.5px dashed var(--accent);
    border-radius: var(--radius-md);
    padding: 18px;
    margin-bottom: 20px;
}

.bank-details-box h4 {
    color: #92400e;
    font-size: 0.98rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bank-info-table {
    width: 100%;
    font-size: 0.88rem;
    border-collapse: collapse;
}

.bank-info-table td {
    padding: 6px 0;
    border-bottom: 1px solid #fef3c7;
}

.bank-info-table td.b-label {
    color: #78350f;
    font-weight: 700;
    width: 38%;
}

.bank-info-table td.b-val {
    font-weight: 800;
    color: var(--primary-dark);
}

.copy-btn {
    background: var(--accent-light);
    color: #92400e;
    border: 1px solid #fde68a;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 800;
    cursor: pointer;
    margin-left: 6px;
}

/* File Upload Field */
.file-dropzone {
    border: 2px dashed #cbd5e1;
    border-radius: var(--radius-md);
    padding: 18px;
    text-align: center;
    background: #f8fafc;
    cursor: pointer;
    transition: all 0.2s;
    display: block;
}

.file-dropzone:hover {
    border-color: var(--primary);
    background: #ffffff;
}

.file-dropzone input[type="file"] {
    display: none;
}

/* Review Card in Step 4 */
.review-box {
    background: #f9f8fc;
    border: 1px solid #ede8f5;
    border-radius: var(--radius-md);
    padding: 18px;
    margin-bottom: 20px;
}

.review-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 6px 0;
    border-bottom: 1px solid #eef0f5;
    font-size: 0.88rem;
}

.review-item:last-child {
    border-bottom: none;
}

.review-item .r-label {
    color: var(--text-muted);
    font-weight: 600;
}

.review-item .r-val {
    color: var(--primary-dark);
    font-weight: 800;
    text-align: right;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, #f5a623 0%, #d97706 100%);
    color: var(--primary-dark);
    border: none;
    padding: 15px 24px;
    border-radius: var(--radius-sm);
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(245, 166, 35, 0.35);
    transition: all 0.2s;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #fbb742 0%, #ea580c 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 166, 35, 0.45);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Summary Sidebar */
.order-summary-card {
    position: sticky;
    top: 85px;
}

.summary-header {
    background: var(--primary-dark);
    color: #ffffff;
    padding: 18px 22px;
}

.summary-header h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: #ffffff;
}

.summary-body {
    padding: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.88rem;
}

.summary-row.total {
    border-top: 2px solid var(--primary);
    border-bottom: none;
    margin-top: 12px;
    padding-top: 12px;
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--primary);
}

.summary-badge-list {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.summary-badge-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.summary-badge-item .icon {
    color: var(--success);
    font-weight: bold;
}

/* Modal Dialog */
.modal-overlay {
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    background: rgba(15, 3, 29, 0.75);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 580px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transform: translateY(20px);
    transition: transform 0.25s ease;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.modal-overlay.active .modal-card {
    transform: translateY(0);
}

.modal-header {
    background: var(--primary);
    color: #ffffff;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 1.1rem;
    font-weight: 800;
}

.modal-close {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1.6rem;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
}

.modal-body {
    padding: 20px;
    overflow-y: auto;
}

.member-search-results {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    margin-top: 10px;
}

.member-result-item {
    padding: 10px 12px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.15s;
    gap: 8px;
}

.member-result-item:hover {
    background: #f5f3ff;
}

.member-result-item.selected {
    background: #ede9fe;
    border-left: 4px solid var(--primary);
}

.member-result-name {
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 0.92rem;
}

.member-result-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.btn-select-member {
    background: var(--primary);
    color: #ffffff;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    left: 20px;
    max-width: 420px;
    margin-left: auto;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}

.toast {
    background: #1f2937;
    color: #ffffff;
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    font-size: 0.88rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideIn 0.3s ease;
    pointer-events: auto;
}

.toast.success { background: #065f46; border-left: 4px solid #34d399; }
.toast.error { background: #991b1b; border-left: 4px solid #f87171; }
.toast.info { background: #1e3a8a; border-left: 4px solid #60a5fa; }

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

/* Footer */
.site-footer {
    background: #140324;
    color: #c4b5fd;
    padding: 50px 16px 25px;
    margin-top: 60px;
    border-top: 4px solid var(--accent);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 35px;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 14px;
    position: relative;
    padding-bottom: 6px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 32px;
    height: 3px;
    background: var(--accent);
}

.footer-col p {
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 8px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 35px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    flex-wrap: wrap;
    gap: 10px;
}

/* ===================================================
   MOBILE RESPONSIVENESS MEDIA QUERIES
   =================================================== */

@media (max-width: 992px) {
    .portal-grid {
        grid-template-columns: 1fr;
    }
    .order-summary-card {
        position: static;
        margin-top: 20px;
    }
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-subtitle {
        border-left: none;
        padding-left: 0;
    }
    .hero-meta-grid {
        justify-content: center;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

@media (max-width: 680px) {
    .brand-text h1 {
        font-size: 0.88rem;
    }
    .brand-text p {
        font-size: 0.65rem;
    }
    .brand-logo {
        height: 40px;
        width: 40px;
    }
    .btn-nav {
        padding: 6px 12px;
        font-size: 0.78rem;
    }
    .top-bar-inner {
        flex-direction: column;
        text-align: center;
        gap: 4px;
        font-size: 0.75rem;
    }
    .hero {
        padding: 30px 14px 40px;
    }
    .hero-meta-grid {
        grid-template-columns: 1fr 1fr;
    }
    .meta-card {
        padding: 10px 12px;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .payment-tabs {
        grid-template-columns: 1fr;
    }
    .card-body {
        padding: 18px 14px;
    }
    .card-header {
        padding: 16px 18px;
    }
    .card-header h2 {
        font-size: 1.1rem;
    }
    .wizard-progress-wrapper {
        padding: 12px 14px 16px;
    }
    .step-indicator .step-icon {
        width: 28px;
        height: 28px;
        font-size: 0.76rem;
    }
    .step-indicator .step-label {
        font-size: 0.68rem;
    }
    .wizard-nav-btns {
        flex-direction: column-reverse;
        gap: 10px;
    }
    .btn-wizard {
        width: 100%;
        justify-content: center;
    }
    .btn-verify {
        padding: 10px 14px;
        font-size: 0.85rem;
    }
    .verify-input-group {
        flex-direction: column;
    }
    .bank-info-table td.b-label {
        width: 45%;
    }
}

@media (max-width: 400px) {
    .step-indicator .step-label {
        display: none; /* Keep numbers only on very small screens */
    }
    .hero-title {
        font-size: 1.85rem;
    }
    .hero-meta-grid {
        grid-template-columns: 1fr;
    }
}

/* Status Pills & Presets */
.status-pill.pill-failed,
.status-pill.pill-declined {
    background: #fee2e2 !important;
    color: #991b1b !important;
    border: 1px solid #fca5a5 !important;
}

.btn-preset {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #334155;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
}

.btn-preset:hover {
    background: #e2e8f0;
    border-color: #94a3b8;
    color: #0f172a;
}
