/*
Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
Click nbfs://nbhost/SystemFileSystem/Templates/Other/CascadeStyleSheet.css to edit this template
*/
/* 
    Created on : 17 de jul. de 2026, 23:39:05
    Author     : glaub
*/

/* =========================================================
   PÁGINA DE LOGIN
========================================================= */

.login-page {
    position: relative;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 55px 0;
}

.login-page::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        );
    background-size: 45px 45px;
    pointer-events: none;
}

.login-page-decoration {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(15px);
}

.login-page-decoration-one {
    top: -180px;
    left: -140px;
    width: 430px;
    height: 430px;
    background: rgba(124, 58, 237, 0.19);
}

.login-page-decoration-two {
    top: 10%;
    right: -180px;
    width: 480px;
    height: 480px;
    background: rgba(59, 130, 246, 0.13);
}

.login-page-decoration-three {
    bottom: -220px;
    left: 35%;
    width: 520px;
    height: 420px;
    background: rgba(236, 72, 153, 0.12);
}

.login-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1080px;
    min-height: 680px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.85fr);
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    background: rgba(22, 27, 34, 0.82);
    box-shadow:
        0 35px 90px rgba(0, 0, 0, 0.45),
        0 0 60px rgba(124, 58, 237, 0.08);
    backdrop-filter: blur(22px);
}

.login-card {
    position: relative;
    padding: clamp(30px, 5vw, 58px);
    background: rgba(13, 17, 23, 0.78);
}

.login-brand {
    margin-bottom: 42px;
}

.login-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
}

.login-logo:hover {
    color: #fff;
}

.login-logo-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background:
        linear-gradient(
            135deg,
            var(--site-primary),
            var(--site-secondary)
        );
    color: #fff;
    font-size: 1.35rem;
    box-shadow:
        0 12px 28px rgba(124, 58, 237, 0.35);
}

.login-logo-text {
    display: flex;
    flex-direction: column;
    font-size: 0.79rem;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.login-logo-text strong {
    margin-top: 3px;
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: none;
}

.login-header {
    margin-bottom: 28px;
}

.login-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 16px;
    padding: 8px 13px;
    border: 1px solid rgba(192, 132, 252, 0.22);
    border-radius: 999px;
    background: rgba(124, 58, 237, 0.12);
    color: #d8b4fe;
    font-size: 0.8rem;
    font-weight: 800;
}

.login-header h1 {
    margin: 0 0 12px;
    color: #fff;
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 900;
    letter-spacing: -0.045em;
}

.login-header p {
    max-width: 530px;
    margin: 0;
    color: var(--site-muted);
    font-size: 0.96rem;
    line-height: 1.7;
}

.login-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 22px;
    padding: 14px 16px;
    border: 1px solid;
    border-radius: 15px;
}

.login-alert-icon {
    width: 34px;
    min-width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 1rem;
}

.login-alert strong {
    display: block;
    margin-bottom: 2px;
    color: #fff;
    font-size: 0.88rem;
}

.login-alert p {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.5;
}

.login-alert-error {
    border-color: rgba(239, 68, 68, 0.25);
    background: rgba(239, 68, 68, 0.09);
    color: #fca5a5;
}

.login-alert-error .login-alert-icon {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
}

.login-alert-success {
    border-color: rgba(34, 197, 94, 0.25);
    background: rgba(34, 197, 94, 0.09);
    color: #86efac;
}

.login-alert-success .login-alert-icon {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
}

.login-form {
    width: 100%;
}

.login-field {
    margin-bottom: 19px;
}

.login-field label {
    display: inline-block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.86rem;
    font-weight: 700;
}

.login-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.login-forgot-link {
    margin-bottom: 8px;
    color: #c084fc;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
}

.login-forgot-link:hover {
    color: #e9d5ff;
}

.login-input-wrapper {
    position: relative;
}

.login-input-icon {
    position: absolute;
    top: 50%;
    left: 17px;
    z-index: 2;
    display: inline-flex;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
    transform: translateY(-50%);
    pointer-events: none;
}

.login-input {
    width: 100%;
    min-height: 54px;
    padding: 12px 48px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.055);
    color: #fff;
    font-size: 0.94rem;
    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.login-input::placeholder {
    color: rgba(255, 255, 255, 0.37);
}

.login-input:hover {
    border-color: rgba(255, 255, 255, 0.17);
}

.login-input:focus {
    border-color: rgba(168, 85, 247, 0.75);
    background: rgba(255, 255, 255, 0.075);
    color: #fff;
    box-shadow:
        0 0 0 4px rgba(124, 58, 237, 0.13);
}

.login-input:-webkit-autofill,
.login-input:-webkit-autofill:hover,
.login-input:-webkit-autofill:focus {
    -webkit-text-fill-color: #fff;
    -webkit-box-shadow:
        0 0 0 1000px #171c24 inset;
    transition:
        background-color 9999s ease-in-out 0s;
}

.login-password-input {
    padding-right: 52px;
}

.login-password-toggle {
    position: absolute;
    top: 50%;
    right: 9px;
    z-index: 3;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 11px;
    background: transparent;
    color: rgba(255, 255, 255, 0.53);
    transform: translateY(-50%);
    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.login-password-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 4px 0 24px;
}

.login-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.83rem;
    cursor: pointer;
    user-select: none;
}

.login-checkbox input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.login-checkbox-custom {
    width: 20px;
    min-width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    color: transparent;
    font-size: 0.82rem;
    transition: 0.2s ease;
}

.login-checkbox input:checked + .login-checkbox-custom {
    border-color: transparent;
    background:
        linear-gradient(
            135deg,
            var(--site-primary),
            var(--site-secondary)
        );
    color: #fff;
}

.login-checkbox input:focus-visible + .login-checkbox-custom {
    box-shadow:
        0 0 0 4px rgba(124, 58, 237, 0.18);
}

.login-submit-button {
    position: relative;
    width: 100%;
    min-height: 55px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    overflow: hidden;
    border: 0;
    border-radius: 15px;
    background:
        linear-gradient(
            135deg,
            #7c3aed,
            #9333ea,
            #ec4899
        );
    color: #fff;
    font-size: 0.94rem;
    font-weight: 900;
    box-shadow:
        0 15px 32px rgba(124, 58, 237, 0.29);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        opacity 0.2s ease;
}

.login-submit-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 70%;
    height: 100%;
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.18),
            transparent
        );
    transform: skewX(-15deg);
    transition: left 0.55s ease;
}

.login-submit-button:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow:
        0 20px 42px rgba(124, 58, 237, 0.36);
}

.login-submit-button:hover::before {
    left: 140%;
}

.login-submit-button:active {
    transform: translateY(0);
}

.login-submit-button:disabled {
    cursor: not-allowed;
    opacity: 0.7;
    transform: none;
}

.login-submit-text,
.login-submit-loading {
    position: relative;
    z-index: 2;
    align-items: center;
    gap: 8px;
}

.login-submit-text {
    display: inline-flex;
}

.login-submit-loading {
    display: none;
}

.login-submit-button.is-loading .login-submit-text {
    display: none;
}

.login-submit-button.is-loading .login-submit-loading {
    display: inline-flex;
}

.login-divider {
    position: relative;
    display: flex;
    align-items: center;
    margin: 28px 0 22px;
    color: rgba(255, 255, 255, 0.38);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
}

.login-divider::before,
.login-divider::after {
    content: "";
    height: 1px;
    flex: 1;
    background: rgba(255, 255, 255, 0.09);
}

.login-divider span {
    padding: 0 14px;
}

.login-register {
    text-align: center;
}

.login-register p {
    margin: 0 0 12px;
    color: var(--site-muted);
    font-size: 0.84rem;
}

.login-register-button {
    width: 100%;
    min-height: 51px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.055);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 800;
    text-decoration: none;
    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.login-register-button:hover {
    border-color: rgba(192, 132, 252, 0.4);
    background: rgba(124, 58, 237, 0.12);
    color: #fff;
    transform: translateY(-1px);
}

.login-footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 30px;
    color: rgba(255, 255, 255, 0.44);
    font-size: 0.72rem;
}

.login-footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: rgba(255, 255, 255, 0.49);
    text-decoration: none;
}

.login-footer-links a:hover {
    color: #fff;
}

.login-footer-links span {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.24);
}

/* =========================================================
   ÁREA LATERAL
========================================================= */

.login-showcase {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: clamp(35px, 5vw, 58px);
    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(96, 165, 250, 0.35),
            transparent 32%
        ),
        radial-gradient(
            circle at 20% 85%,
            rgba(236, 72, 153, 0.26),
            transparent 34%
        ),
        linear-gradient(
            145deg,
            #251044 0%,
            #172554 48%,
            #111827 100%
        );
}

.login-showcase::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.04) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.04) 1px,
            transparent 1px
        );
    background-size: 34px 34px;
    mask-image:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.8),
            transparent
        );
}

.login-showcase-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.login-showcase-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 20px;
    padding: 8px 13px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.78rem;
    font-weight: 800;
    backdrop-filter: blur(10px);
}

.login-showcase h2 {
    max-width: 420px;
    margin: 0 0 17px;
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.35rem);
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 1.02;
}

.login-showcase > .login-showcase-content > p {
    max-width: 430px;
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.93rem;
    line-height: 1.75;
}

.login-benefits {
    display: grid;
    gap: 13px;
    margin-top: 34px;
}

.login-benefit {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 13px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.055);
    backdrop-filter: blur(10px);
}

.login-benefit > span {
    width: 43px;
    min-width: 43px;
    height: 43px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1.05rem;
}

.login-benefit strong {
    display: block;
    margin-bottom: 2px;
    color: #fff;
    font-size: 0.85rem;
}

.login-benefit small {
    display: block;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.73rem;
    line-height: 1.45;
}

.login-showcase-controller {
    position: absolute;
    right: -45px;
    bottom: -45px;
    z-index: 1;
    color: rgba(255, 255, 255, 0.055);
    font-size: 15rem;
    line-height: 1;
    transform: rotate(-14deg);
    pointer-events: none;
}

.controller-glow {
    position: absolute;
    inset: 20%;
    border-radius: 50%;
    background: rgba(236, 72, 153, 0.3);
    filter: blur(60px);
}

.login-google-button {
    width: 100%;
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    padding: 12px 18px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 15px;
    background: #fff;
    color: #1f2937;
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.login-google-button:hover {
    color: #111827;
    transform: translateY(-1px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.login-google-icon {
    width: 25px;
    height: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #4285f4;
    font-size: 1rem;
    font-weight: 900;
}

/* =========================================================
   RESPONSIVIDADE DO LOGIN
========================================================= */

@media (max-width: 991.98px) {

    .login-page {
        padding: 35px 0;
    }

    .login-wrapper {
        max-width: 660px;
        grid-template-columns: 1fr;
    }

    .login-showcase {
        min-height: auto;
        padding: 40px;
    }

    .login-showcase h2 {
        max-width: 560px;
    }

    .login-showcase > .login-showcase-content > p {
        max-width: 560px;
    }

    .login-benefits {
        grid-template-columns: repeat(3, 1fr);
    }

    .login-benefit {
        align-items: flex-start;
        flex-direction: column;
    }

}

@media (max-width: 767.98px) {

    .login-wrapper {
        border-radius: 23px;
    }

    .login-card {
        padding: 34px 25px;
    }

    .login-brand {
        margin-bottom: 32px;
    }

    .login-showcase {
        display: none;
    }

}

@media (max-width: 575.98px) {

    .login-page {
        min-height: 100vh;
        align-items: flex-start;
        padding: 18px 0;
    }

    .login-page .container {
        padding-right: 13px;
        padding-left: 13px;
    }

    .login-wrapper {
        border-radius: 20px;
    }

    .login-card {
        padding: 28px 20px;
    }

    .login-logo-icon {
        width: 44px;
        height: 44px;
    }

    .login-header h1 {
        font-size: 2rem;
    }

    .login-header p {
        font-size: 0.88rem;
    }

    .login-label-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 0;
    }

    .login-forgot-link {
        order: 2;
    }

    .login-input {
        min-height: 52px;
    }

    .login-footer-links {
        gap: 7px;
    }

}