/* =========================================================
   SHUVAM INFOTECH - AUTHENTICATION PAGE
========================================================= */

.auth-page {
    min-height: 70vh;
    padding: 70px 20px;

    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(121, 58, 133, 0.08),
            transparent 35%
        ),
        #f8fafc;
}


.auth-container {
    width: 100%;
    max-width: 1150px;

    min-height: 650px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: 1fr 1fr;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid #e8e8ef;

    border-radius: 24px;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.08);
}


/* =========================================================
   LEFT SIDE
========================================================= */

.auth-visual {
    position: relative;

    display: flex;

    align-items: center;

    padding: 60px 50px;

    overflow: hidden;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #793a85,
            #4e2460
        );
}


.auth-visual::before {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    top: -120px;
    right: -120px;

    border-radius: 50%;

    border:
        1px solid
        rgba(255, 255, 255, 0.15);
}


.auth-visual::after {
    content: "";

    position: absolute;

    width: 220px;
    height: 220px;

    left: -100px;
    bottom: -100px;

    border-radius: 50%;

    border:
        1px solid
        rgba(255, 255, 255, 0.12);
}


.auth-visual-overlay {
    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(255, 193, 7, 0.18),
            transparent 35%
        );
}


.auth-visual-content {
    position: relative;

    z-index: 2;

    width: 100%;
}


.auth-brand-badge {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 20px;

    padding: 8px 14px;

    border:
        1px solid
        rgba(255, 255, 255, 0.25);

    border-radius: 30px;

    background:
        rgba(255, 255, 255, 0.10);

    font-size: 12px;

    font-weight: 700;
}


.auth-visual-content h1 {
    margin: 0 0 18px;

    color: #ffffff;

    font-size: 42px;

    line-height: 1.15;

    font-weight: 800;
}


.auth-visual-content h1 span {
    display: block;

    color: #ffc107;
}


.auth-visual-content > p {
    max-width: 470px;

    margin: 0 0 35px;

    color:
        rgba(255, 255, 255, 0.80);

    font-size: 15px;

    line-height: 1.8;
}


/* =========================================================
   FEATURES
========================================================= */

.auth-features {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 14px;
}


.auth-feature {
    display: flex;

    align-items: flex-start;

    gap: 12px;

    padding: 16px;

    background:
        rgba(255, 255, 255, 0.08);

    border:
        1px solid
        rgba(255, 255, 255, 0.12);

    border-radius: 13px;

    backdrop-filter: blur(10px);
}


.auth-feature-icon {
    width: 42px;
    height: 42px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #793a85;

    background: #ffffff;

    border-radius: 10px;
}


.auth-feature h4 {
    margin: 0 0 5px;

    color: #ffffff;

    font-size: 14px;

    font-weight: 800;
}


.auth-feature p {
    margin: 0;

    color:
        rgba(255, 255, 255, 0.68);

    font-size: 11px;

    line-height: 1.5;
}


/* =========================================================
   RIGHT FORM
========================================================= */

.auth-form-area {
    padding: 55px 55px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    background: #ffffff;
}


.auth-form-header {
    margin-bottom: 28px;
}


.auth-form-icon {
    width: 52px;
    height: 52px;

    margin-bottom: 16px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #793a85,
            #5a2c6a
        );

    border-radius: 14px;

    box-shadow:
        0 8px 20px
        rgba(121, 58, 133, 0.18);
}


.auth-form-header h2 {
    margin: 0 0 7px;

    color: #343a40;

    font-size: 30px;

    font-weight: 800;
}


.auth-form-header p {
    margin: 0;

    color: #64748b;

    font-size: 13px;
}


/* =========================================================
   ALERT
========================================================= */

.auth-alert {
    display: flex;

    align-items: flex-start;

    gap: 10px;

    margin-bottom: 20px;

    padding: 13px 15px;

    border-radius: 10px;

    font-size: 13px;

    line-height: 1.5;
}


.auth-alert-error {
    color: #991b1b;

    background: #fff5f5;

    border: 1px solid #fecaca;
}


.auth-alert-success {
    color: #166534;

    background: #f0fdf4;

    border: 1px solid #bbf7d0;
}


/* =========================================================
   TABS
========================================================= */

.auth-tabs {
    position: relative;

    display: flex;

    padding: 5px;

    margin-bottom: 25px;

    background: #f8fafc;

    border-radius: 11px;
}


.auth-tab-indicator {
    position: absolute;

    top: 5px;
    left: 5px;

    width: calc(50% - 5px);

    height: calc(100% - 10px);

    background: #ffffff;

    border-radius: 8px;

    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.07);

    transition:
        transform 0.3s ease;
}


.auth-tab {
    position: relative;

    z-index: 2;

    flex: 1;

    padding: 11px;

    border: 0;

    background: transparent;

    color: #64748b;

    border-radius: 8px;

    font-size: 13px;

    font-weight: 700;

    cursor: pointer;
}


.auth-tab.active {
    color: #793a85;
}


/* =========================================================
   FORM SECTION
========================================================= */

.auth-form-section {
    display: none;
}


.auth-form-section.active {
    display: block;

    animation:
        authFadeIn 0.3s ease;
}


@keyframes authFadeIn {

    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* =========================================================
   FIELD
========================================================= */

.auth-field {
    margin-bottom: 17px;
}


.auth-field label {
    display: block;

    margin-bottom: 7px;

    color: #343a40;

    font-size: 12px;

    font-weight: 700;
}


.auth-input {
    position: relative;
}


.auth-input > i {
    position: absolute;

    left: 14px;
    top: 50%;

    z-index: 2;

    transform: translateY(-50%);

    color: #793a85;

    font-size: 13px;

    pointer-events: none;
}


.auth-input input {
    width: 100%;

    box-sizing: border-box;

    padding: 12px 43px;

    color: #334155;

    background: #f8fafc;

    border:
        1px solid
        #e2e8f0;

    border-radius: 8px;

    outline: none;

    font-size: 13px;

    transition: .25s ease;
}


.auth-input input:focus {
    background: #ffffff;

    border-color: #793a85;

    box-shadow:
        0 0 0 3px
        rgba(121, 58, 133, 0.08);
}


.auth-password-toggle {
    position: absolute;

    right: 12px;
    top: 50%;

    transform: translateY(-50%);

    padding: 4px;

    border: 0;

    background: transparent;

    color: #94a3b8;

    cursor: pointer;
}


.auth-password-toggle:hover {
    color: #793a85;
}


.auth-field small {
    display: block;

    margin-top: 5px;

    color: #94a3b8;

    font-size: 10px;
}


/* =========================================================
   OPTIONS
========================================================= */

.auth-options {
    display: flex;

    align-items: center;

    justify-content: space-between;

    margin: 5px 0 20px;
}


.auth-check {
    display: flex;

    align-items: center;

    gap: 7px;

    color: #64748b;

    font-size: 11px;

    cursor: pointer;
}


.auth-check input {
    accent-color: #793a85;
}


.auth-options a,
.auth-terms a,
.auth-switch-text a {
    color: #793a85;

    font-weight: 700;

    text-decoration: none;
}


.auth-options a:hover,
.auth-terms a:hover,
.auth-switch-text a:hover {
    text-decoration: underline;
}


/* =========================================================
   SUBMIT
========================================================= */

.auth-submit {
    width: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    padding: 13px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #793a85,
            #5a2c6a
        );

    border: 0;

    border-radius: 8px;

    font-size: 13px;

    font-weight: 800;

    cursor: pointer;

    transition: .3s ease;
}


.auth-submit:hover {
    transform: translateY(-2px);

    box-shadow:
        0 10px 22px
        rgba(121, 58, 133, 0.20);
}


/* =========================================================
   PASSWORD STRENGTH
========================================================= */

.password-strength {
    margin-top: 8px;
}


.password-strength-top {
    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 5px;

    color: #94a3b8;

    font-size: 10px;
}


.password-strength-top strong {
    font-weight: 700;
}


.password-strength-bar {
    height: 5px;

    overflow: hidden;

    background: #e2e8f0;

    border-radius: 5px;
}


.password-strength-fill {
    width: 0;

    height: 100%;

    border-radius: 5px;

    transition: .3s ease;
}


.strength-weak {
    width: 25%;

    background: #ef4444;
}


.strength-medium {
    width: 50%;

    background: #f59e0b;
}


.strength-good {
    width: 75%;

    background: #3b82f6;
}


.strength-strong {
    width: 100%;

    background: #10b981;
}


.auth-password-message {
    margin-top: 5px;

    font-size: 11px;
}


.auth-terms {
    margin: 8px 0 17px;

    align-items: flex-start;
}


.auth-switch-text {
    margin-top: 18px;

    text-align: center;

    color: #94a3b8;

    font-size: 11px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 950px) {

    .auth-container {
        grid-template-columns: 1fr;

        max-width: 650px;
    }


    .auth-visual {
        padding: 45px 40px;
    }


    .auth-visual-content h1 {
        font-size: 34px;
    }


    .auth-form-area {
        padding: 45px 40px;
    }

}


@media (max-width: 600px) {

    .auth-page {
        padding: 35px 15px;
    }


    .auth-container {
        border-radius: 18px;
    }


    .auth-visual {
        padding: 35px 25px;
    }


    .auth-visual-content h1 {
        font-size: 29px;
    }


    .auth-features {
        grid-template-columns: 1fr;
    }


    .auth-form-area {
        padding: 35px 22px;
    }


    .auth-form-header h2 {
        font-size: 26px;
    }


    .auth-options {
        flex-direction: column;

        align-items: flex-start;

        gap: 10px;
    }

}