
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --background: #080808;
    --surface: #292929;
    --border: #484848;
    --gold: #ffd600;
    --gold-hover: #e5bf00;
    --text: #ffffff;
    --muted: #a1a1a1;
}

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

body {
    background: var(--background);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    min-height: 100dvh;
}

.auth-container {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px;
}

.auth-card {
    width: 100%;
    max-width: 400px;
    text-align: center;
}

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

    width: 90px;
    height: 90px;
    margin: 0 auto 24px;

    background: #171717;
    border: 1px solid #343434;
    border-radius: 18px;

    color: white;
    text-decoration: none;
    font-size: 55px;
    font-weight: 800;
    letter-spacing: -4px;
}

.logo span {
    color: var(--gold);
}

.auth-header h1 {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.2;
}

.auth-header p {
    margin-top: 16px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

form {
    margin-top: 38px;
}

.form-group {
    margin-bottom: 22px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    color: #c4c4c4;
}

.form-group input {
    width: 100%;
    height: 50px;
    padding: 0 15px;

    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;

    color: white;
    font-family: inherit;
    font-size: 14px;
    outline: none;

    transition: border-color .2s;
}

.form-group input:focus {
    border-color: var(--gold);
}

.form-group input::placeholder {
    color: #888888;
}

.btn-primary {
    width: 100%;
    height: 50px;
    margin-top: 10px;

    background: var(--gold);
    color: #080808;

    border: none;
    border-radius: 8px;

    font-family: inherit;
    font-size: 14px;
    font-weight: 700;

    cursor: pointer;
    transition: background .2s, transform .2s;
}

.btn-primary:hover {
    background: var(--gold-hover);
    transform: translateY(-1px);
}

.auth-footer {
    margin-top: 32px;
}

.auth-footer a {
    color: var(--gold);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.alerta {
    padding: 13px;
    margin-top: 24px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.5;
}

.alerta.success {
    background: #172e20;
    border: 1px solid #285b38;
    color: #a1e5b4;
}

.alerta.error {
    background: #3a1919;
    border: 1px solid #753232;
    color: #ffaaaa;
}

@media (max-width: 480px) {
    .auth-container {
        padding: 24px 20px;
    }

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

    .logo {
        width: 76px;
        height: 76px;
        font-size: 46px;
        margin-bottom: 20px;
    }

    form {
        margin-top: 30px;
    }
}

@media (max-height: 650px) {
    .auth-container {
        align-items: flex-start;
    }
}
