/* ========== Authentication Pages Styles ========== */

.auth-page {
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 25%, #e0d4ff 50%, #d8ccfe 75%, #ddd6fe 100%);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

/* === Dot Grid Pattern Overlay === */
.auth-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(124, 58, 237, 0.06) 1.5px, transparent 1.5px);
    background-size: 32px 32px;
    z-index: 0;
    pointer-events: none;
}

/* === Main Gradient Mesh Overlay === */
.auth-page::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse 600px 600px at 10% 10%, rgba(124, 58, 237, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 500px 500px at 90% 85%, rgba(167, 139, 250, 0.10) 0%, transparent 60%),
        radial-gradient(ellipse 400px 400px at 50% 50%, rgba(139, 92, 246, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse 350px 350px at 80% 20%, rgba(196, 181, 253, 0.10) 0%, transparent 55%),
        radial-gradient(ellipse 300px 300px at 20% 80%, rgba(109, 40, 217, 0.08) 0%, transparent 55%);
    z-index: 0;
    pointer-events: none;
    animation: meshShift 12s ease-in-out infinite alternate;
}

@keyframes meshShift {
    0% {
        opacity: 0.8;
        filter: hue-rotate(0deg);
    }

    50% {
        opacity: 1;
        filter: hue-rotate(8deg);
    }

    100% {
        opacity: 0.85;
        filter: hue-rotate(-5deg);
    }
}

.auth-section {
    padding: 50px 0 40px;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

/* === Animated Floating Blobs (via box-shadows on auth-section) === */
.auth-section::before {
    content: '';
    position: fixed;
    top: -80px;
    left: -60px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.14) 0%, rgba(124, 58, 237, 0.04) 50%, transparent 70%);
    border-radius: 50%;
    animation: blobFloat1 9s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
    filter: blur(2px);
}

.auth-section::after {
    content: '';
    position: fixed;
    bottom: -60px;
    right: -60px;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.12) 0%, rgba(196, 181, 253, 0.05) 50%, transparent 70%);
    border-radius: 50%;
    animation: blobFloat2 11s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
    filter: blur(2px);
}

@keyframes blobFloat1 {

    0%,
    100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }

    25% {
        transform: translate(50px, 40px) scale(1.08) rotate(3deg);
    }

    50% {
        transform: translate(20px, 70px) scale(0.95) rotate(-2deg);
    }

    75% {
        transform: translate(-30px, 30px) scale(1.03) rotate(1deg);
    }
}

@keyframes blobFloat2 {

    0%,
    100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }

    25% {
        transform: translate(-40px, -50px) scale(1.1) rotate(-3deg);
    }

    50% {
        transform: translate(30px, -30px) scale(0.93) rotate(2deg);
    }

    75% {
        transform: translate(-15px, -60px) scale(1.05) rotate(-1deg);
    }
}



/* === Glow ring behind the card === */
.auth-breadcrumb {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(124, 58, 237, 0.1);
}

.auth-breadcrumb .breadcrumb {
    background: transparent;
    margin: 0;
    padding: 0;
    font-size: 0.9rem;
}

.auth-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: #9ca3af;
    font-weight: bold;
}

.auth-breadcrumb .breadcrumb-item a {
    color: #7c3aed;
    text-decoration: none;
    transition: color 0.3s ease;
}

.auth-breadcrumb .breadcrumb-item a:hover {
    color: #6d28d9;
    text-decoration: underline;
}

.auth-breadcrumb .breadcrumb-item.active {
    color: #6b7280;
    font-weight: 500;
}

/* ========== Field Icons ========== */
.field-icon {
    color: #7c3aed;
    margin-right: 10px;
    font-weight: bold;
    font-size: 0.9rem;
}

/* ========== Decorative Elements ========== */
.auth-decoration {
    position: relative;
    text-align: center;
    padding: 40px;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.decoration-circle.circle-1 {
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    top: -50px;
    left: -50px;
    animation: circleGrow1 7s ease-in-out infinite;
}

@keyframes circleGrow1 {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.1;
    }

    50% {
        transform: scale(1.15);
        opacity: 0.15;
    }
}

.decoration-circle.circle-2 {
    width: 200px;
    height: 200px;
    background: var(--secondary-color);
    bottom: -30px;
    right: -30px;
    animation: circleGrow2 9s ease-in-out infinite;
}

@keyframes circleGrow2 {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.18;
    }
}

.decoration-icon {
    position: relative;
    z-index: 1;
    font-size: 80px;
    color: var(--primary-color);
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 8px 20px rgba(124, 58, 237, 0.2));
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
        filter: drop-shadow(0 8px 20px rgba(124, 58, 237, 0.2));
    }

    50% {
        transform: translateY(-50px);
        filter: drop-shadow(0 20px 30px rgba(124, 58, 237, 0.15));
    }
}

.auth-decoration h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.auth-decoration p {
    font-size: 1.1rem;
    color: var(--text-gray);
    position: relative;
    z-index: 1;
}

/* ========== Checkbox Styles ========== */
.form-check-input {
    width: 18px;
    height: 18px;
    border: 2px solid #d1d5db;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-check-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.form-check-label {
    cursor: pointer;
    user-select: none;
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* Override Bootstrap's invalid color for checkbox label */
.form-check-input.is-invalid~.form-check-label,
.was-validated .form-check-input:invalid~.form-check-label {
    color: var(--text-gray) !important;
}

/* Override Bootstrap's invalid color for checked checkbox */
.form-check-input.is-invalid:checked,
.was-validated .form-check-input:invalid:checked {
    background-color: #2b7bf5 !important;
    border-color: #d5dce7 !important;
}



/* ========== English Numerals ========== */
#age {
    font-variant-numeric: lining-nums;
    direction: ltr;
    text-align: left;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Show number input spinners */
#age::-webkit-outer-spin-button,
#age::-webkit-inner-spin-button {
    -webkit-appearance: auto;
    appearance: auto;
    opacity: 1;
    cursor: pointer;
}

/* ========== Select Dropdown ========== */
select.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    padding-right: 36px;
    cursor: pointer;
    background-color: var(--white);
}

/* ========== Split Login Page Styles ========== */
.mobile-form-icon {
    display: none;
}

.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.login-container {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 14px 28px rgba(0,0,0,0.1), 0 10px 10px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    width: 1000px;
    max-width: calc(100% - 40px);
    min-height: 600px;
}

.form-container {
    position: absolute;
    top: 0;
    min-height: 100%;
    transition: all 0.6s ease-in-out;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    overflow-y: auto;
    overflow-x: hidden;
}

.sign-in-container {
    left: 0;
    width: 50%;
    z-index: 2;
    justify-content: center;  /* keep login form vertically centred */
}

.login-container.right-panel-active .sign-in-container {
    transform: translateX(100%);
}

.sign-up-container {
    left: 0;
    width: 50%;
    opacity: 0;
    z-index: 1;
    overflow-y: auto;
    overflow-x: hidden;
    justify-content: flex-start; /* allow register form to grow downward */
    padding-top: 20px;
    padding-bottom: 20px;
}

.login-container.right-panel-active .sign-up-container {
    transform: translateX(100%);
    opacity: 1;
    z-index: 5;
    transition: transform 0.6s ease-in-out, opacity 0.1s linear 0.25s, z-index 0.6s step-start;
}

.overlay-container {
    position: absolute;
    top: 0;
    left: 50%;
    width: 50%;
    height: 100%;
    overflow: hidden;
    transition: transform 0.6s ease-in-out, border-radius 0.6s ease-in-out;
    z-index: 10;
    border-top-left-radius: 120px;
    border-bottom-left-radius: 120px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    box-shadow: -10px 0 20px rgba(0,0,0,0.1);
}

.login-container.right-panel-active .overlay-container {
    transform: translateX(-100%);
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 120px;
    border-bottom-right-radius: 120px;
    box-shadow: 10px 0 20px rgba(0,0,0,0.1);
}

.overlay {
    background: linear-gradient(to bottom, #5b21b6 0%, #7c3aed 55%, #9d5ff5 100%);
    position: relative;
    left: -100%;
    height: 100%;
    width: 200%;
    transform: translateX(0);
    transition: transform 0.6s ease-in-out;
}

.login-container.right-panel-active .overlay {
    transform: translateX(50%);
}

.overlay-panel {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 40px;
    text-align: center;
    top: 0;
    height: 100%;
    width: 50%;
    transform: translateX(0);
    transition: transform 0.6s ease-in-out;
    color: #fff;
    z-index: 2;
}

.overlay-left {
    transform: translateX(-20%);
}

.login-container.right-panel-active .overlay-left {
    transform: translateX(0);
}

.overlay-right {
    right: 0;
    transform: translateX(0);
}

.login-container.right-panel-active .overlay-right {
    transform: translateX(20%);
}



/* Decorative Blobs */
.overlay-blob {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    pointer-events: none;
    animation: blobPulse 6s ease-in-out infinite alternate;
}

.blob-1 {
    width: 350px;
    height: 350px;
    top: -80px;
    right: -80px;
    animation-delay: 0s;
}

.blob-2 {
    width: 200px;
    height: 200px;
    bottom: -60px;
    left: -40px;
    background: rgba(255, 255, 255, 0.05);
    animation-delay: 2s;
}

@keyframes blobPulse {
    0% { transform: scale(1) translate(0, 0); opacity: 0.7; }
    100% { transform: scale(1.1) translate(10px, 10px); opacity: 1; }
}

/* Decorative Rings */
.overlay-ring {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.15);
    pointer-events: none;
}

.ring-1 {
    width: 240px;
    height: 240px;
    bottom: 30px;
    right: -30px;
}

.ring-2 {
    width: 140px;
    height: 140px;
    top: 60px;
    left: 30px;
}

/* Overlay Logo Icon */
.overlay-logo {
    width: 72px;
    height: 72px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 2rem;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(4px);
}

/* ========== Alert Styles ========== */
.alert {
    border-radius: var(--border-radius);
    border: none;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
}

.alert-danger {
    background: #fee2e2;
    color: #991b1b;
}

.alert-info {
    background: #dbeafe;
    color: #0c2d6b;
}

.login-form {
    background-color: #fff;
    padding: 0;
    height: 100%;
    text-align: center;
    width: 100%;
}

.student-login-form {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#registerForm.student-login-form {
    padding-top: 60px !important;
}

.login-title {
    font-weight: 700;
    margin: 0;
    color: #111;
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.login-subtitle {
    font-size: 14px;
    color: #888;
    margin-bottom: 25px;
}

.login-input-group {
    width: 100%;
    margin-bottom: 20px;
    position: relative;
    box-sizing: border-box;
}

.form-row .login-input-group {
    flex: 1 1 50%;
    margin-bottom: 20px;
}

.login-input-group input {
    background-color: #fff;
    border: 2px solid #e8e3f8;
    padding: 14px 16px;
    width: 100%;
    border-radius: 12px;
    outline: none;
    font-size: 14px;
    color: #1e1035;
    transition: all 0.25s ease;
    box-sizing: border-box;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.04);
}

.login-input-group input::placeholder {
    color: #374151;
    font-weight: 500;
}

.login-input-group input:focus {
    background-color: #faf8ff;
    border-color: #7c3aed;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.12), 0 2px 8px rgba(124, 58, 237, 0.08);
}

.login-input-group input.error-active {
    border-color: #ef4444;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.login-input-group input.error-active:focus {
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.15);
}

.form-text.text-danger {
    color: #ef4444 !important;
    font-size: 13px;
    margin-top: 6px;
    display: block;
    position: absolute;
    bottom: -20px;
    left: 0;
}

.form-text.text-danger.d-none {
    display: none !important;
}

.password-wrapper {
    position: relative;
    width: 100%;
}
.password-wrapper input {
    padding-right: 45px;
}
.password-toggle-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #a78bfa;
    cursor: pointer;
    transition: color 0.2s ease;
    font-size: 0.95rem;
}

.password-toggle-btn:hover {
    color: #7c3aed;
}

.login-forgot {
    color: #888;
    font-size: 13px;
    text-decoration: none;
    margin: 10px 0 25px;
    transition: color 0.2s;
}

.login-forgot:hover {
    color: #7c3aed;
}

/* Remember Me row */
.login-remember-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 5px 0 20px;
}

.login-remember-row .login-forgot {
    margin: 0;
    margin-left: auto;
    padding-left: 15px;
}

.remember-label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #555;
    cursor: pointer;
    user-select: none;
}

/* Hide native checkbox */
.remember-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* Custom checkbox box */
.remember-label .custom-check {
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 2px solid #d1d5db;
    border-radius: 5px;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    position: relative;
}

/* Checkmark icon */
.remember-label .custom-check::after {
    content: '';
    width: 5px;
    height: 9px;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg) scale(0);
    transition: transform 0.15s ease;
    margin-top: -2px;
}

/* Checked state */
.remember-label input[type="checkbox"]:checked + .custom-check {
    background: #7c3aed;
    border-color: #7c3aed;
}

.remember-label input[type="checkbox"]:checked + .custom-check::after {
    transform: rotate(45deg) scale(1);
}

.login-submit-btn {
    border-radius: 15px;
    border: 1px solid var(--primary-color);
    background-color: var(--primary-color);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 14px 45px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: transform 80ms ease-in;
    cursor: pointer;
}
.login-submit-btn:focus {
    outline: none;
}
.login-submit-btn:active {
    transform: scale(0.95);
}

.login-overlay-panel {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 40px;
    text-align: center;
    color: #fff;
}

.overlay-title {
    font-weight: 700;
    margin: 0 0 15px;
    font-size: 2.2rem;
}

.overlay-text {
    font-size: 15px;
    line-height: 1.8;
    margin: 0 0 25px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
}

.overlay-btn {
    background-color: rgba(255, 255, 255, 0.18);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    padding: 13px 40px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.overlay-btn:hover {
    background-color: #fff;
    color: #7b2fbe;
    border-color: #fff;
    box-shadow: 0 6px 25px rgba(0,0,0,0.2);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    /* Full page gradient background */
    .auth-section {
        background: linear-gradient(160deg, #ffffff 0%, #ffffff 50%, #ffffff 100%) !important;
        min-height: 100vh !important;
        padding-top: 80px !important;
        padding-bottom: 30px !important;
        align-items: flex-start !important;
    }

    /* Glass card wrapper */
    .login-wrapper {
        width: 100%;
        padding: 0 10px;
    }

    .login-container {
        min-height: auto;
        border-radius: 24px;
        width: 100%;
        margin: 0 auto;
        display: block;
        position: relative;
        overflow: visible;
        background: rgba(255, 255, 255, 0.88);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        box-shadow: 0 20px 60px rgba(109, 40, 217, 0.15), 0 4px 20px rgba(0,0,0,0.08);
        border: 1px solid rgba(255, 255, 255, 0.7);
    }

    /* Hide overlay */
    .overlay-container {
        display: none !important;
    }

    /* Forms: full width, auto height */
    .form-container {
        width: 100%;
        height: auto;
        min-height: unset;
        position: relative;
        padding: 30px 15px 15px;
        top: auto;
        left: auto;
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
        display: none;
        z-index: 1;
    }

    /* Override inline/bootstrap horizontal paddings on mobile */
    .login-form {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Show the correct form */
    .sign-in-container {
        display: flex;
    }

    .sign-up-container {
        display: none;
    }

    .login-container.right-panel-active .sign-in-container {
        display: none;
    }

    .login-container.right-panel-active .sign-up-container {
        display: flex;
    }

    /* Mobile top icon */
    .mobile-form-icon {
        display: flex !important;
        justify-content: center;
        font-size: 2.5rem;
        color: #7c3aed;
        margin: 0 auto 15px;
    }

    /* Title & subtitle */
    .login-title {
        font-size: 1.6rem;
        color: #1f2937;
        margin-bottom: 6px;
    }

    .login-subtitle {
        font-size: 13px;
        color: #6b7280;
        margin-bottom: 25px;
    }

    /* Input labels */
    .input-label {
        display: flex !important;
        align-items: center;
        gap: 6px;
        font-size: 13px;
        font-weight: 600;
        color: #374151;
        margin-bottom: 6px;
    }

    .input-label i {
        color: #7c3aed;
        font-size: 12px;
    }

    /* Inputs */
    .login-input-group {
        margin-bottom: 18px;
    }

    .login-input-group input {
        background-color: #f9f8ff;
        border: 1.5px solid #e5e7eb;
        border-radius: 12px;
        padding: 13px 15px;
        font-size: 15px;
        transition: border-color 0.2s, box-shadow 0.2s;
    }

    .login-input-group input:focus {
        border-color: #7c3aed;
        box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
        background-color: #fff;
    }

    /* Submit button */
    .login-submit-btn {
        width: 100%;
        background: linear-gradient(135deg, #7c3aed, #a78bfa);
        border: none;
        border-radius: 14px;
        padding: 15px;
        font-size: 15px;
        font-weight: 700;
        color: #fff;
        letter-spacing: 0.5px;
        box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
        margin-top: 10px;
        cursor: pointer;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .login-submit-btn:active {
        transform: scale(0.97);
    }

    /* Switch link */
    .mobile-auth-switch {
        display: block !important;
        text-align: center;
        padding: 18px 0 15px;
        color: #6b7280;
        font-size: 13px;
    }

    .mobile-auth-switch a {
        color: #7c3aed;
        font-weight: 700;
        text-decoration: none;
    }

    /* Row inputs stack */
    .form-row {
        flex-direction: column;
        gap: 0 !important;
    }

    .form-col {
        flex: 1 1 100%;
    }
}

/* ========== Multi-Step Indicator ========== */
.steps-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.step.active {
    opacity: 1;
}

.step-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f8f7fc;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid #ede9fe;
}

.step.active .step-icon {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    color: #fff;
    border-color: #7c3aed;
    box-shadow: 0 4px 12px rgba(124,58,237,0.3);
}

.step span {
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
}

.step.active span {
    color: #1e1035;
}

.step-connector {
    flex: 1;
    height: 2px;
    background: #ede9fe;
    margin: 0 15px;
    position: relative;
    top: -12px;
}

/* ── Company Register Step Dots (inside sliding panel) ── */
.co-steps-mini {
    padding: 4px 0 8px;
}

.co-step-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ede9fe;
    color: #9ca3af;
    font-size: 0.78rem;
    font-weight: 700;
    border: 2px solid #ddd6fe;
    transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
}

.co-step-dot.active {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    color: #fff;
    border-color: #7c3aed;
    box-shadow: 0 3px 10px rgba(124, 58, 237, 0.35);
}

.co-step-line {
    flex: 1;
    height: 2px;
    max-width: 60px;
    background: #ddd6fe;
    border-radius: 2px;
}

/* form-col helper for two-column rows */
.form-col {
    flex: 1 1 0;
    min-width: 0;
}

/* Hide browser native password reveal icon */
input::-ms-reveal,
input::-ms-clear {
    display: none;
}