* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background: #f4f7fb;
    min-height: 100vh;
    display: flex;
    padding: 2rem 20px; /* Safe padding top and bottom */
    overflow-x: hidden;
    overflow-y: auto; /* Allow scrolling on small screens */
    position: relative;
    z-index: 0;
}

/* Background Glowing Blobs for depth */
body::before {
    content: "";
    position: absolute;
    top: -10%; left: -10%; width: 50vw; height: 50vw;
    background: radial-gradient(circle, rgba(224,231,255,0.7) 0%, rgba(244,247,251,0) 60%);
    z-index: -1;
    pointer-events: none;
}
body::after {
    content: "";
    position: absolute;
    bottom: -20%; right: 0%; width: 60vw; height: 60vw;
    background: radial-gradient(circle, rgba(219,234,254,0.6) 0%, rgba(244,247,251,0) 60%);
    z-index: -1;
    pointer-events: none;
}

.container {
    display: flex;
    max-width: 1400px;
    width: 100%;
    background: transparent;
    gap: 50px;
    align-items: center;
    margin: auto; /* Safely center content */
    position: relative;
}

/* --- PARTIE GAUCHE (LOGIN/REGISTER) --- */
.login-card {
    background: white;
    padding: 35px 35px;
    border-radius: 24px;
    width: 100%;
    max-width: 440px; /* Compact width as requested */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03);
    flex-shrink: 0;
    border: 1px solid #f1f5f9;
    z-index: 20;
    position: relative;
}

.logo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    background: #2563eb;
    color: white;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.logo-text h1 {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
    margin: 0;
}

.logo-text h1 span {
    color: #2563eb;
}

.logo-text p {
    font-size: 11px;
    color: #64748b;
    margin: 0;
}

.lang-selector {
    background: white;
    border: 1px solid #e2e8f0;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    color: #334155;
}

.welcome-text h2 {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.welcome-text p {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 25px;
}

.input-group {
    margin-bottom: 14px; /* More compact */
    position: relative;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 16px;
    color: #94a3b8;
    font-size: 15px;
    z-index: 2;
}

.input-wrapper::after {
    content: "";
    position: absolute;
    left: 42px;
    top: 25%;
    bottom: 25%;
    width: 1px;
    background: #e2e8f0;
    z-index: 2;
}

.input-wrapper input,
.input-wrapper select {
    width: 100%;
    padding: 14px 16px 14px 54px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 14px;
    outline: none;
    transition: all 0.2s;
    background: #ffffff;
    color: #0f172a;
    position: relative;
    z-index: 1;
}
.input-wrapper select {
    appearance: none;
}

.input-wrapper input::placeholder {
    color: #94a3b8;
}

.input-wrapper input:focus,
.input-wrapper select:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.input-wrapper .eye-icon,
.input-wrapper .input-icon-right {
    left: auto;
    right: 16px;
    cursor: pointer;
    color: #94a3b8;
}

.options-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    font-size: 13px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #334155;
    cursor: pointer;
    font-weight: 500;
    margin: 0;
}

.remember-me input {
    accent-color: #2563eb;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.forgot-pass {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

.btn-primary {
    width: 100%;
    background: #2563eb;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
    background: #1d4ed8;
}

.btn-outline {
    width: 100%;
    background: white;
    color: #2563eb;
    border: 1px solid #2563eb;
    padding: 14px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: background 0.2s;
}

.btn-outline:hover {
    background: #f8fafc;
}

.divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}

.divider span {
    padding: 0 16px;
}

.social-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.btn-social {
    flex: 1;
    background: white;
    border: 1px solid #e2e8f0;
    padding: 10px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-social:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.footer-link {
    text-align: center;
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

.footer-link a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 700;
    margin-left: 4px;
    cursor: pointer;
}

/* --- PARTIE DROITE (PROMO) --- */
.promo-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    height: 100vh;
    padding-left: 20px;
}

.badge {
    background: #e0e7ff;
    color: #2563eb;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    display: inline-block;
    width: fit-content;
    margin-bottom: 16px;
    z-index: 10;
    position: relative;
}

.promo-section h2 {
    font-size: 46px; /* Exactly as requested: title visible but not dominating */
    font-weight: 800;
    color: #0f172a;
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -1px;
    z-index: 10;
    position: relative;
    max-width: 500px;
}

.promo-section h2 span {
    color: #2563eb;
}

.promo-section > p {
    font-size: 15px;
    color: #475569;
    line-height: 1.5;
    margin-bottom: 30px;
    max-width: 480px;
    z-index: 10;
    position: relative;
}

.content-row {
    display: block;
    position: relative;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 16px; /* Plus compact */
    position: relative;
    z-index: 10;
    max-width: 380px;
}

.feature-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.feature-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.feature-icon.purple { background: #f3e8ff; color: #9333ea; }
.feature-icon.green { background: #dcfce7; color: #16a34a; }
.feature-icon.yellow { background: #fef9c3; color: #ca8a04; }

.feature-text h3 {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 3px;
}

.feature-text p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.4;
}

/* ====================================================
   LE PERSONNAGE (Correction Prioritaire)
==================================================== */
.hero-image-wrapper {
    position: absolute;
    bottom: -20px; /* Slight bleed to the bottom */
    right: -2%; /* Slight bleed to the right */
    width: 55%; /* Takes up just over half of the promo section */
    max-width: 700px; /* Limit maximum size */
    height: 85vh; /* Allow it to be tall but constrained */
    max-height: 800px;
    z-index: 0; /* Behind the text and features */
    pointer-events: none; /* Ne pas intercepter les clics */
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom right;
}

/* Floating Badges & Cards */
.floating-card {
    position: absolute;
    background: white;
    padding: 10px 14px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.8);
    z-index: 15;
    pointer-events: auto;
    animation: float 4s ease-in-out infinite;
}

.floating-card i {
    font-size: 16px;
}

.floating-card .card-detail {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.floating-card .card-detail div {
    font-size: 12px;
    font-weight: 700;
    color: #0f172a;
}

.floating-card .card-detail span {
    font-size: 10px;
    color: #64748b;
}

.floating-card > span {
    font-size: 12px;
    font-weight: 700;
    color: #22c55e;
    margin-left: 6px;
}

.progress-bar-container {
    width: 80px;
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
    overflow: hidden;
    margin-top: 2px;
}

.progress-fill {
    width: 72%;
    height: 100%;
    background: #22c55e;
    border-radius: 2px;
}

.card-1 {
    top: 15%;
    right: 16%;
    animation-delay: 0s;
}

.card-2 {
    top: 30%;
    right: 7%;
    animation-delay: 1s;
}

.card-3 {
    top: 50%;
    right: 6%;
    animation-delay: 2s;
}

.card-4 {
    bottom: 14%;
    left: 18%;
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ====================================================
   RESPONSIVE
==================================================== */
@media (max-width: 1200px) {
    .container { gap: 30px; }
    .promo-section h2 { font-size: 38px; }
    .hero-image-wrapper { width: 60vw; right: -5%; }
}

@media (max-width: 1024px) {
    body { overflow: auto; padding: 20px 10px; }
    .container { flex-direction: column; align-items: center; height: auto; }
    .promo-section { padding-left: 0; height: auto; align-items: center; text-align: center; margin-top: 40px; }
    .promo-section h2 { font-size: 34px; margin-left: auto; margin-right: auto; }
    .promo-section > p { margin-left: auto; margin-right: auto; }
    .content-row { display: flex; flex-direction: column; align-items: center; }
    .features-list { max-width: 100%; align-items: center; margin-bottom: 40px; }
    .feature-item { text-align: left; max-width: 450px; }
    
    .hero-image-wrapper { 
        position: relative; 
        bottom: 0; right: 0; 
        width: 100%; 
        height: auto; 
        min-height: 400px;
    }
    .floating-card { display: none; } /* Hide cards on tablet/mobile for simplicity */
    .login-card { margin-top: 20px; }
}

@media (max-width: 768px) {
    .promo-section { display: none; } /* On mobile, focus entirely on the login form */
}


/* Tabs & form transitions */
.form-tab { display: none; }
.form-tab.active { display: block; animation: fadeIn 0.3s; }
.form-page { display: none; }
.form-page.active { display: block; animation: fadeIn 0.3s; }

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

/* Verification Code Inputs */
.verification-code-container {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 20px 0;
}
.verification-code-container .code-input {
    width: 40px;
    height: 50px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    outline: none;
    transition: all 0.2s;
    background: #ffffff;
    color: #0f172a;
}
.verification-code-container .code-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.verification-info {
    text-align: center;
    margin-bottom: 16px;
    color: #475569;
}
.verification-info .email-display {
    font-weight: 700;
    color: #0f172a;
    margin: 8px 0;
}

.resend-link {
    text-align: center;
    margin-top: 16px;
    font-size: 13px;
}
.resend-link button {
    background: none;
    border: none;
    color: #2563eb;
    font-weight: 600;
    cursor: pointer;
}
.resend-link button:disabled {
    color: #94a3b8;
    cursor: not-allowed;
}

.alert-container { margin-bottom: 16px; }

/* Progress bar for steps */
.progress {
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 20px;
}
.progress-bar {
    height: 100%;
    background: #2563eb;
    transition: width 0.3s ease;
}

/* country dropdown in header */
.country-selector { position: relative; }
.country-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    width: 200px;
    z-index: 100;
    display: none;
    overflow: hidden;
}
.country-selector.open .country-dropdown { display: block; }
.country-selector-btn {
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    color: #334155;
    padding: 0;
}
.country-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    cursor: pointer;
    transition: background 0.2s;
}
.country-option:hover { background: #f8fafc; }
.country-option.active { background: #eff6ff; }
.country-option .country-info { flex: 1; }
.country-option .country-name { font-weight: 600; font-size: 13px; color: #0f172a; }
.country-option .country-lang { font-size: 11px; color: #64748b; }
.country-option i { color: #2563eb; font-size: 14px; opacity: 0; }
.country-option.active i { opacity: 1; }

.country-selector-btn .flag { font-size: 16px; }

/* ==========================================================================
   Custom Authentication Modal (Forgot Password & Reset)
   ========================================================================== */
.custom-auth-modal .modal-dialog {
    max-width: 440px;
    margin: 1.75rem auto;
}

.custom-auth-modal .forgot-modal-content {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.2), 0 0 0 1px rgba(226, 232, 240, 0.7);
    padding: 24px 28px 24px;
    overflow: hidden;
    position: relative;
}

.custom-auth-modal .modal-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 0 0 16px 0 !important;
    border: none !important;
    border-bottom: 1px solid #f1f5f9 !important;
    position: relative;
}

.custom-auth-modal .modal-header-icon-box {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 12px;
    background: #eff6ff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    border: 1px solid rgba(37, 99, 235, 0.15);
}

.custom-auth-modal .modal-header-text {
    flex: 1;
}

.custom-auth-modal .modal-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
    margin: 0 0 4px 0;
}

.custom-auth-modal .modal-subtitle {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    line-height: 1.45;
}

.custom-auth-modal .btn-modal-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: #f8fafc;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    flex-shrink: 0;
}

.custom-auth-modal .btn-modal-close:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.custom-auth-modal .modal-body {
    padding: 18px 0 !important;
}

#forgotStep2,
#forgotStep3 {
    display: none;
}

.custom-auth-modal .form-label {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 7px;
    display: block;
}

.custom-auth-modal .input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.custom-auth-modal .input-wrapper i {
    position: absolute;
    left: 14px;
    color: #94a3b8;
    font-size: 15px;
    pointer-events: none;
    transition: color 0.2s ease;
}

.custom-auth-modal .input-wrapper .form-control {
    width: 100%;
    height: 46px;
    padding: 10px 14px 10px 40px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    color: #0f172a;
    transition: all 0.2s ease;
    box-shadow: none;
}

.custom-auth-modal .input-wrapper .form-control:focus {
    background: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
    outline: none;
}

.custom-auth-modal .input-wrapper .form-control:focus + i,
.custom-auth-modal .input-wrapper:focus-within i {
    color: #2563eb;
}

.custom-auth-modal .input-wrapper .form-control.font-monospace {
    letter-spacing: 4px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    padding-left: 14px;
    padding-right: 14px;
}

.custom-auth-modal .form-hint {
    font-size: 12px;
    color: #64748b;
    margin: 7px 0 0 0;
    line-height: 1.45;
}

.custom-auth-modal .verification-badge-box {
    display: flex;
    align-items: center;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 13px;
    color: #1e40af;
    line-height: 1.4;
}

.custom-auth-modal .modal-step2-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    padding-top: 4px;
}

.custom-auth-modal .btn-link-action {
    background: transparent;
    border: none;
    color: #2563eb;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 8px;
    transition: all 0.15s ease;
    text-decoration: none;
}

.custom-auth-modal .btn-link-action:hover {
    background: #eff6ff;
    color: #1d4ed8;
}

.custom-auth-modal .success-box {
    padding: 12px 0;
}

.custom-auth-modal .success-icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #dcfce7;
    color: #16a34a;
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.2);
}

.custom-auth-modal .modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 16px 0 0 0 !important;
    border: none !important;
    border-top: 1px solid #f1f5f9 !important;
}

.custom-auth-modal .btn-secondary-modal {
    height: 44px;
    padding: 0 18px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #475569;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.custom-auth-modal .btn-secondary-modal:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #cbd5e1;
}

.custom-auth-modal .btn-primary-modal {
    height: 44px;
    padding: 0 22px;
    border-radius: 12px;
    border: none;
    background: #2563eb;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.28);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.custom-auth-modal .btn-primary-modal:hover {
    background: #1d4ed8;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.38);
    transform: translateY(-1px);
}

.custom-auth-modal .btn-primary-modal:disabled {
    background: #94a3b8;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

@media (max-width: 576px) {
    .custom-auth-modal .modal-dialog {
        max-width: 92%;
        margin: 1rem auto;
    }
    .custom-auth-modal .forgot-modal-content {
        padding: 20px 20px 22px;
        border-radius: 20px;
    }
    .custom-auth-modal .modal-step2-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }
    .custom-auth-modal .btn-link-action {
        justify-content: center;
    }
    .custom-auth-modal .modal-footer {
        flex-direction: column-reverse;
        gap: 8px;
    }
    .custom-auth-modal .btn-secondary-modal,
    .custom-auth-modal .btn-primary-modal {
        width: 100%;
    }
}

/* ==========================================================================
   ROLE SELECTION & MULTI-STEP REGISTRATION (STUDY ORIENTED)
   ========================================================================== */
.role-group-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.role-group-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.role-group-badge.study-badge {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
}

.role-group-badge.school-badge {
    background: #fffbeb;
    color: #b45309;
    border: 1px solid #fde68a;
}

.role-group-hint {
    font-size: 11px;
    color: #64748b;
}

.type-selection {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 12px;
}

.type-card {
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
    user-select: none;
}

.type-card:hover {
    border-color: #93c5fd;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.06);
}

.type-card.selected {
    border-color: #2563eb;
    background: #f8faff;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.18);
}

.type-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.type-icon.icon-student {
    background: #dbeafe;
    color: #1d4ed8;
}

.type-icon.icon-parent {
    background: #ede9fe;
    color: #6d28d9;
}

.type-icon.icon-teacher {
    background: #dcfce7;
    color: #059669;
}

.type-icon.icon-college {
    background: #fef3c7;
    color: #d97706;
}

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

.type-name {
    font-weight: 700;
    font-size: 13px;
    color: #0f172a;
    margin-bottom: 2px;
}

.type-desc {
    font-size: 11px;
    color: #64748b;
    line-height: 1.3;
}

.type-radio-check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: transparent;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.type-card.selected .type-radio-check {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
}

.role-selection-actions {
    margin-top: 14px;
}

.selected-role-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 8px 14px;
    margin-bottom: 16px;
    font-size: 13px;
}

.selected-role-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #334155;
}

.selected-role-icon {
    color: #2563eb;
}

.btn-change-role {
    background: transparent;
    border: none;
    color: #2563eb;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: background 0.2s;
}

.btn-change-role:hover {
    background: #eff6ff;
    text-decoration: underline;
}

.register-actions-row {
    display: flex;
    gap: 10px;
    width: 100%;
}

.register-btn-back {
    flex: 1;
    max-width: 56px;
}

.register-btn-submit {
    flex: 3;
}

.progress-bar-container {
    width: 100%;
    margin-bottom: 20px;
}

.icon-google-colored {
    color: #4285F4;
    font-size: 18px;
}

.icon-apple-size {
    font-size: 20px;
}

.country-chevron-icon {
    font-size: 10px;
}

.d-none {
    display: none !important;
}


