/* =========================================================
   LOGIN
   ========================================================= */

.login-page {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px 20px;

    background:
        radial-gradient(
            circle at top,
            rgba(255, 193, 7, 0.08),
            transparent 45%
        ),
        #000000;

    font-family: 'Montserrat', sans-serif;
}


/* =========================================================
   LOGIN CARD
   ========================================================= */

.login-card {
    width: 100%;
    max-width: 420px;

    padding: 35px 30px 28px;

    background: #111317;

    border: 1px solid rgba(255, 193, 7, 0.20);

    border-radius: 14px;

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.55),
        0 0 30px rgba(255, 193, 7, 0.04);

    box-sizing: border-box;
}


/* =========================================================
   HEADER
   ========================================================= */

.login-card .header {
    display: flex;
    flex-direction: column;

    align-items: center;

    text-align: center;

    margin-bottom: 28px;
}


/* =========================================================
   LOGO / ÍCONE
   ========================================================= */

.login-card .logo-circle {
    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 15px;

    color: #FFC107;

    background:
        rgba(255, 193, 7, 0.08);

    border: 1.5px solid #FFC107;

    border-radius: 50%;

    box-shadow:
        0 0 20px rgba(255, 193, 7, 0.08);
}

.login-card .logo-circle svg {
    width: 28px;
    height: 28px;

    stroke-width: 1.8;
}


/* =========================================================
   TÍTULO
   ========================================================= */

.login-card h2 {
    margin: 0;

    color: #FFFFFF;

    font-size: 24px;
    font-weight: 800;

    letter-spacing: 0.3px;
}


/* =========================================================
   SUBTÍTULO
   ========================================================= */

.login-card .subtitle {
    margin: 7px 0 0;

    color: #888888;

    font-size: 13px;
    font-weight: 400;
}


/* =========================================================
   MENSAGEM
   ========================================================= */

.login-card .error-toast {
    display: flex;
    align-items: center;
    gap: 8px;

    width: 100%;

    margin-bottom: 20px;
    padding: 11px 12px;

    box-sizing: border-box;

    color: #FFC107;

    background:
        rgba(255, 193, 7, 0.08);

    border: 1px solid rgba(255, 193, 7, 0.20);

    border-radius: 8px;

    font-size: 12px;
    line-height: 18px;
}


/* =========================================================
   FORM
   ========================================================= */

.login-card form {
    width: 100%;
}


/* =========================================================
   FORM GROUP
   ========================================================= */

.login-card .form-group {
    width: 100%;

    margin-bottom: 15px;
}


/* =========================================================
   INPUT WRAPPER
   ========================================================= */

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

    width: 100%;

    display: flex;
    align-items: center;
}


/* =========================================================
   ÍCONE DO INPUT
   ========================================================= */

.login-card .input-wrapper svg {
    position: absolute;

    left: 14px;

    width: 18px;
    height: 18px;

    color: #666666;

    stroke-width: 1.8;

    pointer-events: none;

    transition:
        color 0.2s ease;
}


/* =========================================================
   INPUT
   ========================================================= */

.login-card input {
    width: 100%;

    height: 48px;

    padding: 0 14px 0 43px;

    box-sizing: border-box;

    color: #FFFFFF;

    background: #0B0C0E;

    border: 1px solid #292929;

    border-radius: 8px;

    outline: none;

    font-family: 'Montserrat', sans-serif;
    font-size: 13px;

    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}


/* =========================================================
   PLACEHOLDER
   ========================================================= */

.login-card input::placeholder {
    color: #666666;
}


/* =========================================================
   INPUT FOCUS
   ========================================================= */

.login-card .input-wrapper:focus-within svg {
    color: #FFC107;
}

.login-card input:focus {
    background: #0F1012;

    border-color: #FFC107;

    box-shadow:
        0 0 0 3px rgba(255, 193, 7, 0.08);
}


/* =========================================================
   BOTÃO ENTRAR
   ========================================================= */

.login-card button {
    width: 100%;

    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    margin-top: 5px;

    color: #000000;

    background: #FFC107;

    border: none;

    border-radius: 8px;

    cursor: pointer;

    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 0.4px;

    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


/* =========================================================
   BOTÃO HOVER
   ========================================================= */

.login-card button:hover {
    background: #FFD54F;

    transform: translateY(-1px);

    box-shadow:
        0 7px 20px rgba(255, 193, 7, 0.18);
}


/* =========================================================
   BOTÃO ACTIVE
   ========================================================= */

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

    box-shadow: none;
}


/* =========================================================
   ÍCONE DO BOTÃO
   ========================================================= */

.login-card button svg {
    width: 18px;
    height: 18px;

    stroke-width: 2.5;
}


/* =========================================================
   FOOTER LINKS
   ========================================================= */

.login-card .footer-links {
    display: flex;
    flex-direction: column;

    align-items: center;

    margin-top: 24px;

    text-align: center;
}


/* =========================================================
   LINKS
   ========================================================= */

.login-card .footer-links a {
    color: #FFC107;

    text-decoration: none;

    font-size: 12px;
    font-weight: 600;

    transition:
        color 0.2s ease;
}


/* =========================================================
   LINK HOVER
   ========================================================= */

.login-card .footer-links a:hover {
    color: #FFD54F;

    text-decoration: underline;
}


/* =========================================================
   TEXTO DO CADASTRO
   ========================================================= */

.login-card .footer-links p {
    margin: 0;

    color: #666666;

    font-size: 12px;
}


/* =========================================================
   LINK CADASTRE-SE
   ========================================================= */

.login-card .footer-links p a {
    color: #FFC107 !important;

    font-weight: 700;
}


/* =========================================================
   SEPARADOR
   ========================================================= */

.login-card .footer-links > span {
    margin: 9px 0;

    color: #333333 !important;

    font-size: 11px;
}


/* =========================================================
   RESPONSIVIDADE
   ========================================================= */

@media (max-width: 480px) {

    .login-page {
        padding: 20px 15px;
    }

    .login-card {
        padding: 30px 20px 24px;

        border-radius: 12px;
    }

    .login-card h2 {
        font-size: 22px;
    }

    .login-card .logo-circle {
        width: 54px;
        height: 54px;
    }

    .login-card input {
        height: 46px;
    }

    .login-card button {
        height: 46px;
    }
}


/* =========================================================
   TELAS MUITO PEQUENAS
   ========================================================= */

@media (max-height: 600px) {

    .login-page {
        align-items: flex-start;

        padding-top: 25px;
        padding-bottom: 25px;
    }

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

    .login-card .header {
        margin-bottom: 20px;
    }

    .login-card .logo-circle {
        width: 48px;
        height: 48px;

        margin-bottom: 10px;
    }

    .login-card .logo-circle svg {
        width: 23px;
        height: 23px;
    }
}