@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --auth-bg-color: #f4f7fb; /* Clean light background */
    --auth-card-bg: #ffffff; /* White card */
    --auth-text: #1e293b;
    --auth-text-muted: #64748b;
    --auth-primary: #206bc4; /* WargaOnline blue */
    --auth-primary-hover: #1a569d;
    --auth-border: #e2e8f0;
    --auth-input-bg: #f8fafc;
}

[data-bs-theme="dark"] {
    --auth-bg-color: #0f172a;
    --auth-card-bg: #1e293b;
    --auth-text: #f8fafc;
    --auth-text-muted: #94a3b8;
    --auth-border: #334155;
    --auth-input-bg: #0f172a;
}

body.auth-page {
    background-color: var(--auth-bg-color);
    background-image: 
        linear-gradient(rgba(32, 107, 196, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(32, 107, 196, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: -1px -1px;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    color: var(--auth-text);
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    position: relative;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Background animated blobs to make it less empty */
body.auth-page::before {
    content: '';
    position: fixed;
    top: -10%; left: -10%;
    width: 50vw; height: 50vw;
    background: radial-gradient(circle, rgba(32,107,196,0.15) 0%, rgba(32,107,196,0) 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    animation: blob-float 15s ease-in-out infinite alternate;
}
body.auth-page::after {
    content: '';
    position: fixed;
    bottom: -10%; right: -10%;
    width: 60vw; height: 60vw;
    background: radial-gradient(circle, rgba(0,200,255,0.1) 0%, rgba(0,200,255,0) 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    animation: blob-float-reverse 20s ease-in-out infinite alternate;
}

@keyframes blob-float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(5%, 5%) scale(1.1); }
}
@keyframes blob-float-reverse {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-5%, -5%) scale(1.1); }
}

[data-bs-theme="dark"] body.auth-page {
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}
[data-bs-theme="dark"] body.auth-page::before {
    background: radial-gradient(circle, rgba(32,107,196,0.2) 0%, rgba(32,107,196,0) 70%);
}
[data-bs-theme="dark"] body.auth-page::after {
    background: radial-gradient(circle, rgba(139,92,246,0.15) 0%, rgba(139,92,246,0) 70%);
}

/* Top Nav Toggle */
.top-nav-toggle { position: absolute; top: 1.5rem; left: 50%; transform: translateX(-50%); display: flex; width: 240px; justify-content: space-between; background: var(--auth-input-bg); backdrop-filter: blur(10px); border-radius: 99px; padding: 0.35rem; z-index: 100; border: 1px solid var(--auth-border); box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05); }
.nav-toggle-btn { position: relative; width: 50%; text-align: center; padding: 0.6rem 0; font-size: 0.95rem; font-weight: 700; color: var(--auth-text-muted); text-decoration: none; border-radius: 99px; transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1); z-index: 2; }
.nav-toggle-btn.active { color: var(--auth-text); }
.nav-toggle-btn:not(.active):hover { color: var(--auth-text); }

.toggle-thumb {
    position: absolute;
    top: 0.35rem; left: 0.35rem;
    width: calc(50% - 0.35rem);
    height: calc(100% - 0.7rem);
    background: var(--auth-card-bg);
    border-radius: 99px;
    z-index: 1;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.top-nav-toggle[data-active="daftar"] .toggle-thumb {
    transform: translateX(100%);
}

.sub-nav-toggle { position: absolute; top: 5rem; left: 50%; transform: translateX(-50%); display: flex; background: var(--auth-card-bg); backdrop-filter: blur(10px); border-radius: 12px; padding: 0.25rem; z-index: 100; border: 1px solid var(--auth-border); box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.05); }
.sub-nav-btn { padding: 0.35rem 1.2rem; font-size: 0.85rem; font-weight: 600; color: var(--auth-text-muted); text-decoration: none; border-radius: 8px; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.sub-nav-btn.active { background: rgba(32, 107, 196, 0.1); color: var(--auth-primary); }
.sub-nav-btn:not(.active):hover { color: var(--auth-text); background: rgba(128,128,128,0.1); }

/* Theme Toggle - Sliding Pill */
.theme-toggle-btn {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    z-index: 100;
    background: var(--auth-input-bg);
    border: 1px solid var(--auth-border);
    border-radius: 99px;
    width: 68px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
    color: var(--auth-text-muted);
    cursor: pointer;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.theme-toggle-btn::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 32px;
    height: 32px;
    background: var(--auth-card-bg);
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

[data-bs-theme="dark"] .theme-toggle-btn::before {
    transform: translateX(30px);
    background: var(--auth-primary);
}

.theme-toggle-btn svg {
    width: 16px;
    height: 16px;
    z-index: 2;
    transition: color 0.3s;
}

.theme-toggle-btn .icon-sun {
    color: #f59e0b;
}

[data-bs-theme="dark"] .theme-toggle-btn .icon-moon {
    color: #fff;
}
[data-bs-theme="dark"] .theme-toggle-btn .icon-sun {
    color: var(--auth-text-muted);
}

/* Main Layout */
.hero-layout {
    display: flex;
    min-height: 100vh;
    width: 100%;
    position: relative;
    z-index: 10;
    justify-content: center;
    padding: 8rem 2rem 4rem; /* Added top padding to prevent toggles overlap */
    gap: 6rem;
}

/* Left Card Area */
.left-card-wrapper {
    flex: 0 1 450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Add a specific class for the wide layout */
.left-card-wrapper-wide {
    flex: 0 1 700px;
}

.auth-wrapper {
    width: 100%;
    max-width: 420px;
    background: var(--auth-card-bg);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 3.5rem 2.5rem 3rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0,0,0,0.05);
    animation: slideUpFade 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    border: 1px solid var(--auth-border);
    overflow: hidden;
}

.auth-wrapper-wide {
    max-width: 700px;
    padding: 3rem 2.5rem;
}

.auth-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #206bc4, #00c8ff);
}

.auth-logo {
    text-align: center;
    margin-bottom: 1.5rem;
}

.auth-logo img {
    height: 85px;
    width: auto;
    object-fit: contain;
}

.auth-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--auth-text);
    text-align: center;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.auth-subtitle-text {
    text-align: center;
    color: var(--auth-text-muted);
    margin-bottom: 2rem;
    font-size: 0.95rem;
    font-weight: 500;
}

/* Form Styles */
.auth-form-group { margin-bottom: 1.25rem; }
.auth-label { display: none; }

/* Apply auth-input styles to standard form-controls inside auth-wrapper */
.auth-input,
.auth-wrapper .form-control,
.auth-wrapper .form-select { 
    display: block; 
    width: 100%; 
    padding: 1rem 1.25rem; 
    font-size: 0.95rem; 
    font-weight: 500; 
    color: var(--auth-text); 
    background-color: var(--auth-input-bg); 
    border: 1px solid var(--auth-border); 
    border-radius: 16px; 
    transition: all 0.2s ease; 
    box-sizing: border-box; 
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.01);
}

/* For smaller inputs in registration */
.auth-wrapper-wide .form-control,
.auth-wrapper-wide .form-select {
    padding: 0.75rem 1rem;
    border-radius: 12px;
}

.auth-input:focus,
.auth-wrapper .form-control:focus,
.auth-wrapper .form-select:focus { 
    outline: none; 
    border-color: var(--auth-primary); 
    background-color: var(--auth-input-bg); 
    box-shadow: 0 0 0 4px rgba(32, 107, 196, 0.1), inset 0 2px 4px rgba(0,0,0,0.01); 
}
.auth-input::placeholder,
.auth-wrapper .form-control::placeholder { color: #94a3b8; }

.auth-input.readonly-bg {
    background-color: #e2e8f0;
}
[data-bs-theme="dark"] .auth-input.readonly-bg {
    background-color: #334155;
    color: #94a3b8;
}

.auth-wrapper .form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--auth-text-muted);
    margin-bottom: 0.5rem;
}

/* Fix for Select2 to match */
.auth-wrapper .select2-container--bootstrap-5 .select2-selection {
    padding: 0.35rem 0.5rem; /* Base padding, select2 adds more internally */
    font-size: 0.95rem;
    font-weight: 500;
    border: 1px solid var(--auth-border);
    border-radius: 12px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.01);
    min-height: 46px; /* Match form-control height */
    display: flex;
    align-items: center;
}
.auth-wrapper .select2-container--bootstrap-5.select2-container--focus .select2-selection,
.auth-wrapper .select2-container--bootstrap-5.select2-container--open .select2-selection {
    border-color: var(--auth-primary);
    box-shadow: 0 0 0 4px rgba(32, 107, 196, 0.1), inset 0 2px 4px rgba(0,0,0,0.01);
}

.auth-password-toggle { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); background: none; border: none; padding: 0.25rem; color: #94a3b8; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: color 0.2s; border-radius: 50%; }
.auth-password-toggle:hover { color: var(--auth-primary); background: rgba(32, 107, 196, 0.05); }

.auth-input-group { position: relative; }
.auth-input-icon-left .auth-input { padding-left: 3.25rem; padding-right: 3.25rem; }
.auth-input-icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transition: color 0.2s ease;
}
.auth-input:focus ~ .auth-input-icon,
.auth-input:focus-within + .auth-input-icon { /* Depending on DOM structure */ }
.auth-input-group:focus-within .auth-input-icon { color: var(--auth-primary); }

.auth-btn { 
    display: flex; 
    width: 100%;
    justify-content: center; 
    align-items: center; 
    gap: 0.5rem; 
    padding: 0.875rem 2rem; 
    font-size: 1rem; 
    font-weight: 700; 
    color: #ffffff; 
    background-color: var(--auth-primary); 
    border: none; 
    border-radius: 16px; 
    cursor: pointer; 
    transition: all 0.2s ease; 
    text-decoration: none; 
    margin-top: 1.5rem;
}
.auth-btn:hover { background-color: var(--auth-primary-hover); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(32, 107, 196, 0.3); color: #fff; }

.form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 2rem;
}

.auth-label-link { 
    font-weight: 600; 
    color: var(--auth-text-muted); 
    text-decoration: none; 
    font-size: 0.85rem; 
    transition: color 0.2s; 
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
}
.auth-label-link:hover { color: var(--auth-primary); border-color: var(--auth-primary); }

/* Modern Saved Account Profile Card */
.profile-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: var(--auth-input-bg);
    border: 1px solid var(--auth-border);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    margin: 0;
    overflow: hidden;
}

.profile-card:hover {
    border-color: rgba(59, 130, 246, 0.5);
    background: var(--auth-card-bg);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.08);
    transform: translateY(-1px);
}

.profile-avatar {
    width: 2.75rem;
    height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    color: var(--auth-primary);
    font-size: 1.15rem;
    font-weight: 700;
    border-radius: 10px;
    border: 1px solid rgba(59, 130, 246, 0.1);
    text-transform: uppercase;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.profile-card:hover .profile-avatar {
    transform: scale(1.05) rotate(-3deg);
    background: linear-gradient(135deg, var(--auth-primary), #6366f1);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.25);
    border-color: transparent;
}

.profile-info {
    flex: 1;
    min-width: 0;
}

.profile-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--auth-text);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.01em;
}

.profile-sub {
    font-size: 0.85rem;
    color: var(--auth-text-muted);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.remove-account-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    opacity: 0.6;
}

.profile-card:hover .remove-account-btn {
    opacity: 1;
}

.remove-account-btn:hover {
    color: #ef4444;
    background: #fef2f2;
    transform: scale(1.1);
}

/* Right Hero Text Area */
.right-hero-text {
    flex: 0 1 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-bottom: 5rem;
}

.hero-subtitle-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(32, 107, 196, 0.1);
    border-radius: 50px;
    color: var(--auth-primary);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}
.hero-subtitle-badge::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    background: #00ffc8;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ffc8;
}

.hero-title {
    font-size: 2.75rem; /* Reduced from 4.25rem for a softer look */
    font-weight: 800;
    color: var(--auth-text);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-top: 0;
    margin-bottom: 1rem;
}

.hero-desc {
    font-size: 1.05rem; /* Reduced slightly */
    line-height: 1.6;
    color: var(--auth-text-muted);
    margin-bottom: 2.5rem;
    max-width: 480px;
}

/* ==============================
   RIGHT HERO MODERN CONTENT (Light Theme)
============================== */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    margin-bottom: 20px;
    border-radius: 999px;
    background: rgba(32, 107, 196, 0.08);
    border: 1px solid rgba(32, 107, 196, 0.15);
    color: var(--auth-primary);
    font-size: 0.8rem;
    font-weight: 800;
}

.hero-badge i {
    color: #f59e0b; /* Golden/Orange spark */
}

.text-gradient {
    background: linear-gradient(135deg, var(--auth-primary), #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.hero-feature-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    border: 1px solid var(--auth-border);
    border-radius: 16px;
    background: var(--auth-card-bg);
    box-shadow: 0 12px 24px -6px rgba(0, 0, 0, 0.05);
    color: var(--auth-text);
    transition: all 0.3s ease;
}

.hero-feature-card:hover {
    background: var(--auth-input-bg);
    border-color: rgba(32, 107, 196, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 16px 32px -8px rgba(32, 107, 196, 0.12);
}

.hero-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(32, 107, 196, 0.08);
    color: var(--auth-primary);
    font-size: 1.1rem;
    transition: 0.3s ease;
}

.hero-feature-card:hover .hero-feature-icon {
    background: var(--auth-primary);
    color: #ffffff;
    transform: scale(1.05) rotate(-5deg);
}

.hero-feature-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-feature-text strong {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--auth-heading);
}

.hero-feature-text span {
    color: var(--auth-text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
}

.app-download-btn {
    display: inline-flex;
    align-items: center;
    background: #111315;
    color: #ffffff;
    padding: 0.6rem 1.5rem;
    border-radius: 14px;
    gap: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border: 1px solid rgba(255,255,255,0.1);
}

.app-download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(32, 107, 196, 0.3);
    background: #1c1f23;
}

.app-download-texts {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.app-download-sub {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #a0aab5;
    letter-spacing: 0.05em;
    margin-bottom: 0.1rem;
}

.app-download-main {
    font-size: 1.15rem;
    font-weight: 700;
}

/* Removed duplicate profile card styles */
.switch-account-link { display: inline-block; font-size: 0.85rem; color: var(--auth-text-muted); font-weight: 600; text-decoration: none; transition: color 0.2s; margin-top: 0.25rem; }
.switch-account-link:hover { color: var(--auth-text); }

.alert { padding: 1rem 1.25rem; border-radius: 12px; font-size: 0.9rem; margin-bottom: 1.5rem; border: none; }
.alert-danger { background-color: rgba(220, 53, 69, 0.15); color: #ff6b72; border: 1px solid rgba(220, 53, 69, 0.3); }

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

@media (max-width: 992px) {
    .hero-layout { flex-direction: column-reverse; gap: 3rem; text-align: center; }
    .right-hero-text { flex: none; align-items: center; padding-bottom: 3rem; }
    .hero-title { font-size: 2.2rem; }
    .left-card-wrapper { flex: none; width: 100%; justify-content: center; }
    .top-nav-toggle { top: 1.5rem; right: auto; left: 50%; transform: translateX(-50%); }
    .theme-toggle-btn { top: 1.5rem; right: 1.5rem; }
}

@media (max-width: 768px) {
    .hero-layout {
        padding: 6rem 1.5rem 3rem; /* Adjusted for mobile */
        gap: 2rem;
    }
    
    .hero-layout-center {
        grid-template-columns: 1fr;
    }

    .auth-wrapper, .auth-wrapper-wide {
        padding: 2rem 1.5rem;
    }
    
    .auth-logo-register {
        position: relative;
        top: 0; left: 0;
        margin: 0 auto 1.5rem;
        text-align: center;
    }
    
    .auth-logo-register img {
        width: 140px;
    }
    
    .top-nav-toggle {
        width: 85%;
        max-width: 320px;
        justify-content: space-between;
    }
    
    .nav-toggle-btn {
        width: 50%;
        text-align: center;
        padding: 0.5rem 0;
    }
}


/* ==============================
   REGISTER CHOICE MODERN
============================== */
.auth-choice-card {
    padding: 112px 34px 34px;
}

.auth-choice-head {
    text-align: center;
    margin-bottom: 26px;
}

.auth-choice-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(32, 107, 196, 0.08);
    color: var(--auth-primary);
    font-size: 0.78rem;
    font-weight: 800;
}

.hero-layout-center {
    position: relative;
    z-index: 1;
    width: min(100%, 1240px);
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0 auto;
    padding: 138px 28px 72px;
    display: grid;
    grid-template-columns: minmax(380px, 540px) minmax(320px, 1fr);
    align-items: center;
    gap: clamp(56px, 7vw, 110px);
}

.hero-layout-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.auth-logo-register {
    position: absolute;
    top: 1.5rem;
    left: 2rem;
    z-index: 50;
    pointer-events: auto;
}

.auth-logo-register img {
    height: auto;
    width: 140px;
    object-fit: contain;
}

.register-choice-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.register-choice-card {
    width: 100%;
    display: grid;
    grid-template-columns: 48px 1fr 34px;
    align-items: center;
    gap: 16px;
    padding: 18px;
    border: 1px solid var(--auth-border);
    border-radius: 18px;
    background: var(--auth-card-bg);
    color: var(--auth-text);
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.05);
    transition: 0.22s ease;
}

.register-choice-card:hover {
    color: var(--auth-text);
    border-color: rgba(32, 107, 196, 0.38);
    background: var(--auth-input-bg);
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(32, 107, 196, 0.12);
    text-decoration: none;
}

.register-choice-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: rgba(32, 107, 196, 0.10);
    color: var(--auth-primary);
    font-size: 1.1rem;
    transition: 0.22s ease;
}

.register-choice-card:hover .register-choice-icon {
    background: var(--auth-primary);
    color: #ffffff;
}

.register-choice-content strong {
    display: block;
    margin-bottom: 5px;
    color: var(--auth-heading);
    font-size: 0.98rem;
    font-weight: 800;
}

.register-choice-content small {
    display: block;
    color: var(--auth-muted);
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.55;
}

.register-choice-arrow {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(32, 107, 196, 0.08);
    color: var(--auth-primary);
    font-size: 0.85rem;
    transition: 0.22s ease;
}

.register-choice-card:hover .register-choice-arrow {
    background: var(--auth-primary);
    color: #ffffff;
    transform: translateX(2px);
}

.auth-choice-note {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-top: 18px;
    padding: 13px 14px;
    border-radius: 14px;
    background: rgba(32, 107, 196, 0.07);
    color: var(--auth-muted);
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.55;
}

.auth-choice-note i {
    margin-top: 2px;
    color: var(--auth-primary);
}

.choice-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding: 9px 13px;
    border: 1px solid var(--auth-border);
    border-radius: 999px;
    background: var(--auth-card-bg);
    color: var(--auth-text-muted);
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 800;
    cursor: pointer;
    transition: 0.2s ease;
}

.choice-back-btn:hover {
    border-color: rgba(32, 107, 196, 0.35);
    background: rgba(32, 107, 196, 0.08);
    color: var(--auth-primary);
}

@media (max-width: 768px) {
    .auth-choice-card {
        padding: 98px 20px 24px;
    }

    .register-choice-card {
        grid-template-columns: 44px 1fr 30px;
        gap: 13px;
        padding: 15px;
        border-radius: 16px;
    }

    .register-choice-icon {
        width: 44px;
        height: 44px;
        border-radius: 13px;
    }

    .register-choice-content strong {
        font-size: 0.92rem;
    }

    .register-choice-content small {
        font-size: 0.78rem;
    }
}

/* ==============================
/* ==============================
   SIMPLE WIREFRAME CHOICE
============================== */
.auth-choice-card-clean {
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.auth-choice-clean-head {
    margin-bottom: 32px;
    text-align: center;
}

.auth-choice-clean-label {
    display: none;
}

.register-choice-clean-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.register-choice-clean-item {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border: 1px solid var(--auth-border);
    border-radius: 12px;
    background: var(--auth-card-bg);
    color: var(--auth-text);
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

button.register-choice-clean-item {
    appearance: none;
    -webkit-appearance: none;
}

.register-choice-clean-item:hover {
    background: var(--auth-input-bg);
    border-color: var(--auth-primary);
    color: var(--auth-text);
}

.register-choice-clean-item:focus-visible {
    outline: none;
    border-color: var(--auth-primary);
    box-shadow: 0 0 0 4px rgba(32, 107, 196, 0.12);
}

.register-choice-clean-left {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.register-choice-clean-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid var(--auth-border);
    background: var(--auth-input-bg);
    color: var(--auth-text);
    font-size: 1.25rem;
    transition: all 0.2s ease;
}

.register-choice-clean-item:hover .register-choice-clean-icon {
    border-color: var(--auth-primary);
    color: var(--auth-primary);
}

.register-choice-clean-text {
    min-width: 0;
}

.register-choice-clean-text strong {
    display: block;
    margin-bottom: 2px;
    color: var(--auth-heading);
    font-size: 1.05rem;
    font-weight: 700;
}

.register-choice-clean-text small {
    display: block;
    color: var(--auth-muted);
    font-size: 0.85rem;
    font-weight: 500;
}

.register-choice-clean-action {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: transparent;
    color: var(--auth-text);
    font-size: 1.25rem;
    transition: all 0.2s ease;
}

.register-choice-clean-item:hover .register-choice-clean-action {
    transform: translateX(4px);
    color: var(--auth-primary);
}

.auth-choice-clean-note {
    margin: 24px 0 0;
    padding-top: 20px;
    border-top: 1px dashed rgba(226, 232, 240, 0.8);
    color: #94a3b8;
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.6;
    text-align: center;
}

/* Dark Mode Overrides (if needed) */
[data-bs-theme="dark"] .register-choice-clean-item,
body.auth-page.dark .register-choice-clean-item,
body.auth-page.theme-dark .register-choice-clean-item {
    background: var(--auth-card-bg);
}

[data-bs-theme="dark"] .register-choice-clean-item:hover,
body.auth-page.dark .register-choice-clean-item:hover,
body.auth-page.theme-dark .register-choice-clean-item:hover {
    background: var(--auth-input-bg);
}

/* Mobile */
@media (max-width: 768px) {
    .auth-choice-card-clean {
        padding: 0 10px 24px !important;
    }

    .register-choice-clean-item {
        padding: 16px 18px;
        border-radius: 16px;
    }

    .register-choice-clean-left {
        gap: 14px;
    }

    .register-choice-clean-icon {
        width: 44px;
        height: 44px;
        font-size: 1.15rem;
    }
}

@media (max-width: 420px) {
    .register-choice-clean-item {
        gap: 12px;
    }

    .register-choice-clean-text strong {
        font-size: 0.92rem;
    }

    .register-choice-clean-text small {
        font-size: 0.76rem;
    }
}