/* =========================================================
   TALENTBRIDGE — LOGIN PAGE
   ========================================================= */

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 6%;
    position: relative;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(124, 108, 255, 0.14),
            transparent 30%
        ),
        radial-gradient(
            circle at 85% 80%,
            rgba(20, 184, 166, 0.10),
            transparent 30%
        ),
        #080B14;
}


/* BACKGROUND CIRCLES */

.login-page::before {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    top: -250px;
    left: -200px;

    border: 1px solid rgba(124, 108, 255, 0.10);

    border-radius: 50%;
}


.login-page::after {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    right: -210px;
    bottom: -210px;

    border: 1px solid rgba(20, 184, 166, 0.10);

    border-radius: 50%;
}


/* BACK TO HOME */

.login-back {
    position: absolute;

    top: 30px;
    left: 6%;

    color: #64748B;

    font-size: 12px;
    font-weight: 700;

    transition: 0.25s ease;
}

.login-back:hover {
    color: #A78BFA;
    transform: translateX(-3px);
}


/* MAIN CONTAINER */

.login-wrapper {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 1050px;

    min-height: 610px;

    display: grid;

    grid-template-columns: 1fr 0.9fr;

    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, 0.07);

    border-radius: 28px;

    background: rgba(13, 17, 28, 0.88);

    box-shadow:
        0 35px 90px rgba(0, 0, 0, 0.45);

    backdrop-filter: blur(25px);
}


/* =========================================================
   LEFT SIDE
   ========================================================= */

.login-info {
    padding: 55px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(124, 108, 255, 0.15),
            transparent 35%
        ),
        #0D111C;

    border-right: 1px solid rgba(255, 255, 255, 0.06);
}


.login-logo {
    color: #F8FAFC;

    font-size: 25px;
    font-weight: 900;

    letter-spacing: -1px;
}

.login-logo span {
    color: #8B7FFF;
}


.login-info-content {
    max-width: 430px;
}


.login-label {
    display: inline-block;

    margin-bottom: 18px;

    color: #8B7FFF;

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 2px;
}


.login-info h1 {
    margin-bottom: 22px;

    color: #F8FAFC;

    font-size: 58px;

    line-height: 1.04;

    letter-spacing: -3px;
}


.login-info h1 span {
    display: block;

    color: #8B7FFF;
}


.login-description {
    margin-bottom: 35px;

    color: #94A3B8;

    font-size: 14px;

    line-height: 1.8;
}


/* FEATURES */

.login-features {
    display: flex;

    flex-direction: column;

    gap: 17px;
}


.login-feature {
    display: flex;

    align-items: center;

    gap: 13px;
}


.login-feature-icon {
    width: 38px;
    height: 38px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    color: #A78BFA;

    background: rgba(124, 108, 255, 0.10);

    border: 1px solid rgba(124, 108, 255, 0.13);

    font-size: 14px;
}


.login-feature strong {
    display: block;

    margin-bottom: 2px;

    color: #E2E8F0;

    font-size: 11px;
}


.login-feature small {
    color: #64748B;

    font-size: 10px;
}


.login-footer {
    color: #475569;

    font-size: 9px;
}


/* =========================================================
   RIGHT LOGIN CARD
   ========================================================= */

.login-card {
    align-self: center;

    margin: 35px;

    padding: 38px;

    border-radius: 22px;

    background: rgba(17, 24, 39, 0.94);

    border: 1px solid rgba(255, 255, 255, 0.07);

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.22);
}


.login-card-top {
    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 25px;
}


.login-mobile-logo {
    display: none;

    color: #F8FAFC;

    font-size: 19px;
    font-weight: 900;
}


.login-mobile-logo span {
    color: #8B7FFF;
}


.login-account-label {
    color: #64748B;

    font-size: 8px;

    font-weight: 900;

    letter-spacing: 1.5px;
}


.login-card h2 {
    margin-bottom: 7px;

    color: #F8FAFC;

    font-size: 29px;

    letter-spacing: -1px;
}


.login-card .login-subtitle {
    margin-bottom: 27px;

    color: #64748B;

    font-size: 12px;
}


/* ERROR */

.login-error {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 20px;

    padding: 11px 13px;

    border: 1px solid rgba(239, 68, 68, 0.18);

    border-radius: 10px;

    background: rgba(239, 68, 68, 0.07);

    color: #FCA5A5;

    font-size: 10px;
}


.login-error-icon {
    width: 20px;
    height: 20px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: rgba(239, 68, 68, 0.12);

    font-weight: 900;
}


/* FORM */

.login-form {
    display: flex;

    flex-direction: column;

    gap: 19px;
}


.login-field {
    display: flex;

    flex-direction: column;

    gap: 8px;
}


.login-field label {
    color: #CBD5E1;

    font-size: 10px;

    font-weight: 800;
}


.login-input-wrap {
    position: relative;
}


.login-input-icon {
    position: absolute;

    left: 14px;

    top: 50%;

    transform: translateY(-50%);

    color: #64748B;

    font-size: 13px;

    pointer-events: none;
}


.login-input {
    width: 100%;

    height: 48px;

    padding: 0 14px 0 40px;

    border: 1px solid #1E293B;

    border-radius: 11px;

    background: #0B101B;

    color: #F8FAFC;

    font-size: 12px;

    outline: none;

    transition: 0.25s ease;
}


.login-input::placeholder {
    color: #475569;
}


.login-input:focus {
    border-color: #7C6CFF;

    background: #0D1320;

    box-shadow:
        0 0 0 3px rgba(124, 108, 255, 0.10);
}


/* BUTTON */

.login-submit {
    width: 100%;

    height: 50px;

    margin-top: 5px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0 17px;

    border: 1px solid rgba(139, 127, 255, 0.25);

    border-radius: 11px;

    background:
        linear-gradient(
            135deg,
            #7C6CFF,
            #6254E8
        );

    color: white;

    font-size: 12px;

    font-weight: 900;

    cursor: pointer;

    box-shadow:
        0 10px 25px rgba(98, 84, 232, 0.22);

    transition: 0.25s ease;
}


.login-submit:hover {
    transform: translateY(-2px);

    box-shadow:
        0 15px 30px rgba(98, 84, 232, 0.30);
}


/* DIVIDER */

.login-divider {
    display: flex;

    align-items: center;

    margin: 25px 0;

    color: #475569;

    font-size: 8px;

    font-weight: 900;
}


.login-divider::before,
.login-divider::after {
    content: "";

    flex: 1;

    height: 1px;

    background: #1E293B;
}


.login-divider span {
    padding: 0 12px;
}


/* REGISTER LINK */

.login-register {
    text-align: center;

    color: #64748B;

    font-size: 10px;
}


.login-register a {
    margin-left: 4px;

    color: #A78BFA;

    font-weight: 900;
}


.login-register a:hover {
    color: #C4B5FD;
}


.login-secure {
    margin-top: 24px;

    text-align: center;

    color: #475569;

    font-size: 8px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

    .login-wrapper {
        grid-template-columns: 1fr;

        max-width: 520px;
    }

    .login-info {
        display: none;
    }

    .login-card {
        margin: 25px;
    }

    .login-mobile-logo {
        display: block;
    }
}


@media (max-width: 550px) {

    .login-page {
        padding: 70px 18px 30px;
    }

    .login-back {
        top: 22px;
        left: 20px;
    }

    .login-wrapper {
        border-radius: 22px;
    }

    .login-card {
        margin: 10px;

        padding: 28px 22px;
    }

    .login-card h2 {
        font-size: 26px;
    }
}