/**
 * EgyZone - Merchant Auth Luxury Styling (Login & Register)
 * Executive Modern Slate & Soft Light Canvas | Stepper Wizard | High Contrast
 */

:root {
    --ez-slate-950: #020617;
    --ez-slate-900: #0f172a;
    --ez-slate-800: #1e293b;
    --ez-slate-700: #334155;
    --ez-slate-600: #475569;
    --ez-slate-500: #64748b;
    --ez-slate-400: #94a3b8;
    --ez-slate-300: #cbd5e1;
    --ez-slate-200: #e2e8f0;
    --ez-slate-100: #f1f5f9;
    --ez-slate-50:  #f8fafc;
    --ez-primary:    #2563eb;
    --ez-primary-hover: #1d4ed8;
    --ez-primary-light: #eff6ff;
    --ez-gold:       #f59e0b;
    --ez-emerald:    #10b981;
    --ez-rose:       #ef4444;
}

/* Base Body Styling */
body.rtl {
    font-family: 'Cairo', system-ui, -apple-system, sans-serif !important;
    direction: rtl;
    text-align: right;
}

body.ltr {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
    direction: ltr;
    text-align: left;
}

body {
    background-color: #f8fafc !important;
    background-image: 
        radial-gradient(at 100% 0%, rgba(37, 99, 235, 0.05) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(245, 158, 11, 0.04) 0px, transparent 50%),
        linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%) !important;
    background-attachment: fixed !important;
    min-height: 100vh;
    color: var(--ez-slate-800);
    margin: 0;
    padding: 0;
}

/* Page Frame & Centering (Fixes negative margin cutoff bug) */
.authentication-box {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 35px 20px 60px;
}

.authentication-box .container {
    max-width: 1020px;
    margin: 0 auto;
    width: 100%;
}

.authentication-box.register-mode .container {
    max-width: 1360px;
    width: 96%;
}

@media (min-width: 1440px) {
    .authentication-box.register-mode .container {
        max-width: 1400px;
    }
}

/* Floating Top Brand Header */
.auth-page-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 24px;
    padding: 0 4px;
}

.auth-page-topbar .brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--ez-slate-700);
    background: #ffffff;
    padding: 8px 16px;
    border-radius: 9999px;
    border: 1px solid var(--ez-slate-200);
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.auth-page-topbar .top-action-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ez-primary);
    text-decoration: none;
    background: #ffffff;
    padding: 8px 16px;
    border-radius: 9999px;
    border: 1px solid var(--ez-slate-200);
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
    transition: all 0.2s ease;
}

.auth-page-topbar .top-action-link:hover {
    color: var(--ez-primary-hover);
    border-color: var(--ez-primary);
    transform: translateY(-1px);
}

/* Master Card Container */
.auth-master-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 35px -10px rgba(15, 23, 42, 0.1), 0 1px 3px rgba(15, 23, 42, 0.05);
    border: 1px solid var(--ez-slate-200);
}

/* Left Hero Brand Panel */
.auth-hero-col {
    background: linear-gradient(150deg, #090d16 0%, #0f172a 60%, #1e293b 100%) !important;
    position: relative;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

body.rtl .auth-hero-col {
    border-right: none;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-hero-panel {
    background: linear-gradient(150deg, #090d16 0%, #0f172a 60%, #1e293b 100%) !important;
    color: #ffffff;
    padding: 45px 36px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.register-mode .auth-hero-panel {
    height: auto !important;
    min-height: auto !important;
    justify-content: flex-start !important;
    gap: 16px !important;
    padding: 34px 24px !important;
    position: sticky !important;
    top: 24px !important;
    background: transparent !important;
}

.auth-hero-panel::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.auth-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 700;
    color: var(--ez-gold);
    backdrop-filter: blur(10px);
    width: fit-content;
    margin-bottom: 20px;
}

.auth-hero-slide {
    text-align: center;
    padding: 4px;
    outline: none !important;
}

.auth-hero-img-wrapper {
    width: 100%;
    max-width: 220px;
    height: 155px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.16) 0%, transparent 70%);
    border-radius: 18px;
}

.auth-hero-img-wrapper img {
    max-height: 145px;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.42));
}

.auth-hero-slide h3 {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1.4;
}

.auth-hero-slide p {
    font-size: 12.5px;
    color: var(--ez-slate-400);
    line-height: 1.55;
    margin-bottom: 0;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

/* Slick Dots Styling */
.auth-hero-panel .slick-dots {
    bottom: -15px;
    position: relative;
    margin-top: 12px;
    display: flex !important;
    justify-content: center;
    gap: 8px;
    padding: 0;
    list-style: none;
}

.auth-hero-panel .slick-dots li {
    margin: 0;
    width: auto;
    height: auto;
}

.auth-hero-panel .slick-dots li button {
    width: 8px;
    height: 8px;
    padding: 0;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    font-size: 0;
    transition: all 0.3s ease;
}

.auth-hero-panel .slick-dots li button:before {
    display: none;
}

.auth-hero-panel .slick-dots li.slick-active button {
    width: 24px;
    background: var(--ez-gold);
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}

/* Sidebar Onboarding Roadmap */
.auth-hero-roadmap {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 14px 16px;
    margin: 8px 0 12px;
}

.auth-roadmap-step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 0;
    position: relative;
}

.auth-roadmap-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 28px;
    left: 13px;
    width: 2px;
    height: 16px;
    background: rgba(255, 255, 255, 0.15);
}

body.rtl .auth-roadmap-step:not(:last-child)::after {
    left: auto;
    right: 13px;
}

.auth-roadmap-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    flex-shrink: 0;
    z-index: 1;
}

.auth-roadmap-circle.active {
    background: var(--ez-primary);
    color: #ffffff;
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.6);
}

.auth-roadmap-circle.completed {
    background: var(--ez-emerald);
    color: #ffffff;
}

.auth-roadmap-circle.pending {
    background: rgba(255, 255, 255, 0.1);
    color: var(--ez-slate-400);
}

.auth-roadmap-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--ez-slate-200);
    line-height: 1.3;
}

/* Value Props Checklist */
.auth-hero-perks {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 16px;
}

.auth-hero-perks li {
    font-size: 12.5px;
    color: #e2e8f0;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.auth-hero-perks li i {
    color: var(--ez-emerald);
    font-size: 14px;
}

/* Right Form Panel */
.auth-form-panel {
    background: #ffffff;
    padding: 42px 40px;
}

.register-mode .auth-form-panel {
    padding: 44px 50px;
}

@media (max-width: 991.98px) {
    .register-mode .auth-form-panel {
        padding: 30px 20px;
    }
}

@media (max-width: 767.98px) {
    .auth-form-panel {
        padding: 30px 20px;
    }
    .auth-hero-panel {
        padding: 30px 20px;
    }
}

/* Brand Header */
.auth-brand-header {
    text-align: center;
    margin-bottom: 24px;
}

.auth-brand-logo {
    max-height: 48px;
    max-width: 190px;
    object-fit: contain;
    margin-bottom: 14px;
}

.auth-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--ez-slate-900);
    margin-bottom: 4px;
}

.auth-subtitle {
    font-size: 13.5px;
    color: var(--ez-slate-600);
    margin-bottom: 0;
}

/* Wizard Stepper Header */
.auth-stepper-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 28px;
    width: 100%;
}

.auth-stepper-bar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    width: 100%;
    max-width: 480px;
    padding: 0 10px;
}

.stepper-track {
    position: absolute;
    top: 18px;
    left: 45px;
    right: 45px;
    height: 2.5px;
    background: #e2e8f0;
    z-index: 1;
    overflow: hidden;
    border-radius: 2px;
}

.stepper-progress-fill {
    height: 100%;
    width: 50%;
    background: #2563eb;
    transition: width 0.35s ease;
}

body.rtl .stepper-progress-fill {
    float: right;
}

body.ltr .stepper-progress-fill {
    float: left;
}

.stepper-step {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    background: transparent;
    max-width: 180px;
}

.step-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #cbd5e1;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.3s ease;
    margin-bottom: 8px;
}

.stepper-step.active .step-circle {
    border-color: #2563eb;
    background: #2563eb;
    color: #ffffff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

.stepper-step.completed .step-circle {
    border-color: #10b981;
    background: #10b981;
    color: #ffffff;
}

.step-info .step-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 2px;
}

.stepper-step.active .step-info .step-title {
    color: #2563eb;
    font-weight: 800;
}

.stepper-step.completed .step-info .step-title {
    color: #0f172a;
    font-weight: 700;
}

.step-info .step-desc {
    font-size: 11px;
    color: #94a3b8;
    line-height: 1.3;
}

/* Form Controls & Input Groups */
.auth-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--ez-slate-800);
    margin-bottom: 6px;
}

.auth-label .required-star {
    color: var(--ez-rose);
    margin-left: 2px;
    margin-right: 2px;
}

.auth-input-group {
    position: relative;
    display: flex;
    align-items: stretch;
    width: 100%;
}

.auth-input-group .input-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ez-slate-400);
    font-size: 15px;
    z-index: 4;
    pointer-events: none;
    transition: color 0.2s ease;
}

body.rtl .auth-input-group .input-icon {
    right: 14px;
    left: auto;
}

body.ltr .auth-input-group .input-icon {
    left: 14px;
    right: auto;
}

.auth-input-group .form-control {
    height: 48px;
    border: 1.5px solid var(--ez-slate-300);
    border-radius: 12px !important;
    background-color: #ffffff;
    font-size: 14px;
    color: var(--ez-slate-900);
    font-weight: 500;
    transition: all 0.2s ease;
}

body.rtl .auth-input-group .form-control {
    padding-right: 42px;
    padding-left: 42px;
}

body.ltr .auth-input-group .form-control {
    padding-left: 42px;
    padding-right: 42px;
}

.auth-input-group .form-control:focus {
    border-color: var(--ez-primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14);
}

.auth-input-group:focus-within .input-icon {
    color: var(--ez-primary);
}

/* Password Toggle */
.auth-input-group .togglePassword {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    padding: 0;
    color: var(--ez-slate-400);
    cursor: pointer;
    z-index: 5;
    font-size: 15px;
    transition: color 0.2s ease;
}

body.rtl .auth-input-group .togglePassword {
    left: 14px;
    right: auto;
}

body.ltr .auth-input-group .togglePassword {
    right: 14px;
    left: auto;
}

.auth-input-group .togglePassword:hover {
    color: var(--ez-slate-800);
}

/* Input Error States */
.auth-input-group .form-control.is-invalid,
.form-control.is-invalid {
    border-color: var(--ez-rose) !important;
    background-color: #fff8f8 !important;
    color: #991b1b !important;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.14) !important;
}

.auth-field-error {
    font-size: 12px;
    font-weight: 700;
    color: #b91c1c;
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    padding: 6px 12px;
    border-radius: 8px;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
}

/* Stepper Step Error Indicator */
.stepper-step.has-error .step-circle {
    border-color: var(--ez-rose) !important;
    background-color: var(--ez-rose) !important;
    color: #ffffff !important;
    box-shadow: 0 0 0 5px rgba(239, 68, 68, 0.2) !important;
}

.stepper-step.has-error .step-info .step-title {
    color: var(--ez-rose) !important;
}

/* Buttons */
.btn-auth-primary {
    width: 100%;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
    border: none !important;
    border-radius: 12px !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    box-shadow: 0 8px 18px -4px rgba(37, 99, 235, 0.4) !important;
    transition: all 0.25s ease !important;
    cursor: pointer;
}

.btn-auth-primary:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%) !important;
    transform: translateY(-1px);
    box-shadow: 0 12px 22px -4px rgba(37, 99, 235, 0.5) !important;
}

.btn-auth-secondary {
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #ffffff !important;
    border: 1.5px solid var(--ez-slate-300) !important;
    border-radius: 12px !important;
    color: var(--ez-slate-700) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    padding: 0 22px !important;
    transition: all 0.2s ease !important;
    cursor: pointer;
}

.btn-auth-secondary:hover {
    background: var(--ez-slate-100) !important;
    border-color: var(--ez-slate-400) !important;
    color: var(--ez-slate-900) !important;
}

/* Contract Download Card */
.contract-download-card {
    background: #ffffff !important;
    border: 1.5px solid var(--ez-slate-200) !important;
    border-left: 4px solid var(--ez-gold) !important;
    border-radius: 14px;
    padding: 20px 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

body.rtl .contract-download-card {
    border-left: 1.5px solid var(--ez-slate-200) !important;
    border-right: 4px solid var(--ez-gold) !important;
}

.contract-download-card h6 {
    font-size: 15px;
    font-weight: 800;
    color: var(--ez-slate-900);
    margin-bottom: 6px;
}

.contract-download-card p {
    font-size: 13.5px !important;
    color: #334155 !important;
    font-weight: 600 !important;
    line-height: 1.6 !important;
    margin-bottom: 0;
}

.btn-contract-download {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 10px 18px !important;
    font-size: 13.5px !important;
    box-shadow: 0 6px 14px -3px rgba(245, 158, 11, 0.4) !important;
    transition: all 0.2s ease !important;
    white-space: nowrap;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-contract-download:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

/* KYC Dropzone Cards */
.kyc-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 1.5px solid var(--ez-slate-200);
}

.kyc-dropzone-card {
    background: #ffffff;
    border: 2px dashed var(--ez-slate-300);
    border-radius: 14px;
    padding: 18px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s ease;
}

.kyc-dropzone-card:hover {
    border-color: var(--ez-primary);
    background-color: var(--ez-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px -4px rgba(37, 99, 235, 0.1);
}

.kyc-dropzone-card.has-file {
    border-color: var(--ez-emerald) !important;
    border-style: solid !important;
    background-color: #f0fdf4 !important;
}

.kyc-dropzone-card.has-error {
    border-color: var(--ez-rose) !important;
    border-style: solid !important;
    background-color: #fff5f5 !important;
}

.kyc-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.kyc-card-title {
    font-size: 14px;
    font-weight: 800;
    color: var(--ez-slate-900);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0;
}

/* HIGH CONTRAST READABLE TEXT FOR KYC CARDS */
.kyc-card-desc {
    font-size: 12.5px;
    color: var(--ez-slate-700);
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 14px;
}

.kyc-status-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 9px;
    border-radius: 6px;
}

.badge-required {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.badge-ready {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

/* Interactive Dropzone Box */
.kyc-upload-trigger-box {
    border: 1.5px dashed var(--ez-slate-300);
    background: #f8fafc;
    border-radius: 10px;
    padding: 16px 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    display: block;
    margin-bottom: 0;
}

.kyc-upload-trigger-box:hover {
    border-color: var(--ez-primary);
    background: #ffffff;
}

.kyc-upload-trigger-box .upload-icon {
    font-size: 26px;
    color: var(--ez-primary);
    margin-bottom: 6px;
    display: block;
}

.kyc-upload-trigger-box .upload-main-text {
    font-size: 13px;
    font-weight: 700;
    color: var(--ez-slate-800);
    display: block;
}

.kyc-upload-trigger-box .upload-sub-text {
    font-size: 11.5px;
    color: var(--ez-slate-500);
    display: block;
    margin-top: 2px;
}

/* Live Preview */
.kyc-preview-container {
    margin-top: 12px;
    text-align: center;
}

.kyc-preview-img {
    max-height: 110px;
    max-width: 100%;
    border-radius: 8px;
    border: 1px solid var(--ez-slate-200);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    object-fit: contain;
}

.kyc-pdf-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: #fee2e2;
    border: 1px solid #fca5a5;
    border-radius: 8px;
    color: #991b1b;
    font-size: 12.5px;
    font-weight: 700;
}

.btn-kyc-remove {
    border: none;
    background: transparent;
    color: var(--ez-rose);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 8px;
    cursor: pointer;
    margin-top: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
}

.btn-kyc-remove:hover {
    color: #b91c1c;
    text-decoration: underline;
}

/* Switch to Login / Register Prompt */
.auth-switch-prompt {
    text-align: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--ez-slate-200);
    font-size: 13.5px;
    color: var(--ez-slate-600);
}

.auth-switch-prompt a {
    color: var(--ez-primary);
    font-weight: 700;
    text-decoration: none;
    margin-left: 4px;
    margin-right: 4px;
}

.auth-switch-prompt a:hover {
    text-decoration: underline;
}

/* =========================================================
 * Reference Design Enhancements (Step 1 & Step 2 Perfection)
 * ========================================================= */

.auth-hero-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
    color: #f59e0b;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.auth-hero-title {
    font-size: 25px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.35;
    margin-bottom: 12px;
}

.auth-hero-title .text-gold {
    color: #f59e0b;
}

.auth-hero-subtitle {
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 22px;
}

.auth-hero-img-box {
    width: 100%;
    max-width: 250px;
    height: 190px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-hero-img-box img {
    max-height: 185px;
    max-width: 100%;
    object-fit: contain;
    border-radius: 16px;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.5));
}

.auth-hero-perks-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.auth-hero-perk-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.perk-circle-teal {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #06b6d4;
    color: #042f2e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 900;
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.4);
    margin-top: 2px;
}

.perk-circle-gold {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #f59e0b;
    background: transparent;
    color: #f59e0b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 900;
    flex-shrink: 0;
    margin-top: 2px;
}

.perk-content-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2px;
    line-height: 1.3;
}

.perk-content-desc {
    font-size: 11.5px;
    color: #94a3b8;
    margin-bottom: 0;
    line-height: 1.4;
}

.auth-hero-copyright {
    font-size: 11.5px;
    color: #64748b;
    text-align: center;
    margin-top: auto;
    padding-top: 8px;
}

.auth-security-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12.5px;
    color: #64748b;
    margin-top: 16px;
    text-align: center;
}

.btn-auth-back {
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 10px !important;
    color: #0f172a !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    padding: 0 24px !important;
    transition: all 0.2s ease !important;
    cursor: pointer;
    text-decoration: none;
}

.btn-auth-back:hover {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
}

.auth-brand-icon-box {
    width: 36px;
    height: 36px;
    background: #0f172a;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.15);
    flex-shrink: 0;
}

.auth-hero-step2-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.auth-hero-step2-brand .brand-text {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
}

.auth-hero-step2-brand .brand-subtext {
    font-size: 12px;
    font-weight: 500;
    color: #94a3b8;
    margin-top: 2px;
}

.auth-brand-logo-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.auth-brand-logo-text .brand-name {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.5px;
}

.auth-brand-logo-text .brand-separator {
    color: #cbd5e1;
    font-weight: 300;
    font-size: 18px;
}

.auth-brand-logo-text .brand-section {
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
}

.auth-topbar-login-link {
    font-size: 13.5px;
    color: #64748b;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

.auth-topbar-login-link strong {
    color: #2563eb;
    font-weight: 700;
}

.auth-topbar-login-link:hover strong {
    color: #1d4ed8;
    text-decoration: underline;
}

.auth-form-title {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}

.auth-form-subtitle {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 24px;
}

.partnership-agreement-card {
    background: #fffbeb !important;
    border: 1.5px solid #fed7aa !important;
    border-radius: 12px !important;
    padding: 16px 20px !important;
    margin-bottom: 24px !important;
}

.btn-agreement-download {
    background: #ffffff !important;
    border: 1.5px solid #f59e0b !important;
    color: #d97706 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    padding: 8px 16px !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    white-space: nowrap;
}

.btn-agreement-download:hover {
    background: #fef3c7 !important;
    color: #b45309 !important;
    transform: translateY(-1px);
}

.kyc-icon-badge {
    width: 26px;
    height: 26px;
    background: #eff6ff;
    border-radius: 6px;
    color: #2563eb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.kyc-dropzone-box {
    border: 1.5px dashed #cbd5e1;
    background: #f8fafc;
    border-radius: 10px;
    padding: 22px 14px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    display: block;
    margin-bottom: 0;
}

.kyc-dropzone-box:hover {
    border-color: #2563eb;
    background: #ffffff;
}

.kyc-dropzone-box.has-file {
    border-color: #10b981 !important;
    border-style: solid !important;
    background: #f0fdf4 !important;
}

.kyc-dropzone-box.has-error {
    border-color: #ef4444 !important;
    border-style: solid !important;
    background: #fef2f2 !important;
}

.kyc-dropzone-box.drag-over {
    border-color: #2563eb !important;
    background-color: #eff6ff !important;
    transform: scale(1.01);
}
