/* ================================
   RESET
================================ */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    min-height: 100%;
}

body {
    min-height: 100vh;

    font-family: "Inter", sans-serif;

    color: #f8fafc;

    background:
        radial-gradient(
            circle at 10% 0%,
            rgba(59, 130, 246, 0.14),
            transparent 35%
        ),
        radial-gradient(
            circle at 90% 100%,
            rgba(56, 189, 248, 0.08),
            transparent 35%
        ),
        #0f172a;
}

a {
    color: inherit;
    text-decoration: none;
}


/* ================================
   AUTH PAGE
================================ */

.auth-page {
    width: min(100%, 460px);

    min-height: 100vh;

    margin: 0 auto;
    padding: 34px 20px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


/* ================================
   LOGO
================================ */

.auth-logo {
    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 25px;

    transition: opacity 0.2s ease;
}

.auth-logo:hover {
    opacity: 0.82;
}

.auth-logo img {
    display: block;

    width: auto;
    height: 52px;

    max-width: 210px;

    object-fit: contain;
}


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

.auth-card {
    width: 100%;

    overflow: hidden;

    border: 1px solid rgba(148, 163, 184, 0.13);
    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            rgba(23, 37, 84, 0.94),
            rgba(15, 23, 42, 0.97)
        );

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.28);
}


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

.auth-header {
    padding: 30px 30px 24px;

    border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.auth-label {
    color: #38bdf8;

    font-family: "IBM Plex Mono", monospace;
    font-size: 8px;
    font-weight: 500;
    letter-spacing: 1px;
}

.auth-header h1 {
    margin-top: 11px;

    color: #f1f5f9;

    font-size: 28px;
    font-weight: 700;

    letter-spacing: -0.7px;
}

.auth-header p {
    margin-top: 7px;

    color: #64748b;

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


/* ================================
   CONTENT
================================ */

.auth-content {
    padding: 28px 30px 25px;
}


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

.google-login {
    width: 100%;

    display: flex;
    justify-content: center;
}

.google-login > div {
    max-width: 100%;
}


/* ================================
   DIVIDER
================================ */

.auth-divider {
    display: flex;
    align-items: center;

    gap: 10px;

    margin-top: 24px;
}

.auth-divider span {
    flex: 1;

    height: 1px;

    background: rgba(148, 163, 184, 0.08);
}

.auth-divider small {
    color: #475569;

    font-family: "IBM Plex Mono", monospace;
    font-size: 7px;
    letter-spacing: 0.7px;

    white-space: nowrap;
}


/* ================================
   MESSAGE
================================ */

.auth-message {
    min-height: 18px;

    margin-top: 16px;

    color: #f87171;

    font-size: 11px;
    line-height: 1.5;

    text-align: center;
}


/* ================================
   DEVELOPMENT STATUS
================================ */

.development-status {
    display: flex;
    align-items: flex-start;

    gap: 13px;

    padding: 15px;

    border: 1px solid rgba(56, 189, 248, 0.1);
    border-radius: 13px;

    background: rgba(56, 189, 248, 0.035);
}

.status-icon {
    flex-shrink: 0;

    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(56, 189, 248, 0.18);
    border-radius: 9px;

    background: rgba(56, 189, 248, 0.04);

    color: #7dd3fc;

    font-family: "IBM Plex Mono", monospace;
    font-size: 16px;
}

.development-status strong {
    display: block;

    color: #cbd5e1;

    font-size: 11px;
    font-weight: 600;
}

.development-status p {
    margin-top: 5px;

    color: #64748b;

    font-size: 9px;
    line-height: 1.6;
}


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

.login-link {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    width: 100%;

    margin-top: 18px;
    padding: 12px;

    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 10px;

    background: rgba(37, 99, 235, 0.1);

    color: #7dd3fc;

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

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

.login-link:hover {
    border-color: rgba(56, 189, 248, 0.4);

    background: rgba(37, 99, 235, 0.17);

    transform: translateY(-1px);
}

.login-link strong {
    font-size: 14px;
}


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

.auth-footer {
    padding: 18px 30px;

    border-top: 1px solid rgba(148, 163, 184, 0.08);

    background: rgba(2, 6, 23, 0.18);

    text-align: center;
}

.auth-footer p {
    color: #64748b;

    font-size: 10px;
}

.auth-footer a {
    color: #7dd3fc;

    font-weight: 600;

    transition: color 0.2s ease;
}

.auth-footer a:hover {
    color: #bae6fd;
}


/* ================================
   LEGAL
================================ */

.auth-legal {
    max-width: 370px;

    margin-top: 18px;

    color: #475569;

    font-size: 8px;
    line-height: 1.6;

    text-align: center;
}

.auth-legal a {
    color: #64748b;

    text-decoration: underline;
    text-decoration-color: rgba(100, 116, 139, 0.35);

    text-underline-offset: 2px;

    transition: color 0.2s ease;
}

.auth-legal a:hover {
    color: #7dd3fc;
}


/* ================================
   MOBILE
================================ */

@media (max-width: 500px) {

    .auth-page {
        padding: 25px 14px;
    }

    .auth-logo {
        margin-bottom: 20px;
    }

    .auth-logo img {
        height: 45px;

        max-width: 180px;
    }

    .auth-card {
        border-radius: 18px;
    }

    .auth-header {
        padding: 25px 22px 21px;
    }

    .auth-header h1 {
        font-size: 25px;
    }

    .auth-content {
        padding: 24px 22px 21px;
    }

    .auth-footer {
        padding: 17px 20px;
    }

    .auth-legal {
        padding: 0 8px;
    }
}


/* ================================
   MOBILE PEQUENO
================================ */

@media (max-width: 360px) {

    .auth-page {
        padding: 20px 11px;
    }

    .auth-logo img {
        height: 40px;

        max-width: 160px;
    }

    .auth-header {
        padding: 22px 18px 19px;
    }

    .auth-content {
        padding: 21px 18px;
    }

    .auth-footer {
        padding: 16px 18px;
    }

    .development-status {
        padding: 13px;
    }
}