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

:root {
    --background: #080808;
    --input-bg: #2c2c2c;
    --input-border: #595959;
    --text: #f5f5f5;
    --text-secondary: #999999;
    --gold: #ffd600;
    --gold-hover: #e6c000;
}

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

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

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

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

/* LOGO */

.logo {
    width: 96px;
    height: 96px;
    background: #151515;
    border: 1px solid #343434;
    border-radius: 18px;
    margin: 0 auto 20px;

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

.logo-letter {
    font-size: 59px;
    font-weight: 800;
    letter-spacing: -5px;
    color: white;
}

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

/* BIENVENIDA */

.login-header h1 {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -1px;
}

.login-header p {
    margin-top: 12px;
    color: #bdbdbd;
    font-size: 14px;
}

/* FORMULARIO */

.login-form {
    margin-top: 48px;
}

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

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

.form-group input {
    width: 100%;
    height: 48px;
    padding: 0 16px;

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

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

    outline: none;
    transition: border-color .2s;
}

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

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

/* ERROR */

.error-message {
    background: #3b1515;
    color: #ff9999;
    border: 1px solid #8d3030;
    border-radius: 8px;
    padding: 12px;
    font-size: 13px;
    margin-bottom: 20px;
}

/* RECUPERAR */

.forgot-password {
    text-align: right;
    margin-top: -8px;
    margin-bottom: 34px;
}

.forgot-password a {
    text-decoration: none;
    color: var(--gold);
    font-size: 13px;
    font-weight: 700;
}

/* BOTÓN LOGIN */

.btn-login {
    width: 100%;
    height: 48px;

    border: none;
    border-radius: 8px;

    background: var(--gold);
    color: black;

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

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

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

/* SEPARADOR */

.separator {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 44px 0 32px;
}

.separator span {
    height: 1px;
    flex: 1;
    background: #666;
}

.separator p {
    font-size: 15px;
    font-weight: 600;
}

/* GOOGLE */


.btn-google {
    width: 100%;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

    background: #303030;
    border: 1px solid #555;
    border-radius: 8px;

    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;

    cursor: pointer;
    transition: background .2s, border-color .2s;
}

.btn-google:hover {
    background: #393939;
    border-color: #ffd600;
}

.btn-google svg {
    flex-shrink: 0;
}

.google-icon {
    font-size: 16px;
    font-weight: 700;
}

/* REGISTRO */

.register {
    margin-top: 38px;
}

.register p {
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
}

.register a {
    display: inline-block;
    margin-top: 10px;
    color: var(--gold);

    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.register a:hover,
.forgot-password a:hover {
    text-decoration: underline;
}

/* CELULARES */

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

    .logo {
        width: 82px;
        height: 82px;
        margin-bottom: 16px;
    }

    .logo-letter {
        font-size: 50px;
    }

    .login-header h1 {
        font-size: 28px;
    }

    .login-form {
        margin-top: 38px;
    }

    .form-group {
        margin-bottom: 23px;
    }

    .separator {
        margin: 35px 0 27px;
    }

    .register {
        margin-top: 32px;
    }
}

@media (max-height: 740px) {
    .login-container {
        padding-top: 18px;
        padding-bottom: 18px;
    }

    .logo {
        width: 72px;
        height: 72px;
        margin-bottom: 12px;
    }

    .logo-letter {
        font-size: 44px;
    }

    .login-form {
        margin-top: 25px;
    }

    .form-group {
        margin-bottom: 18px;
    }

    .forgot-password {
        margin-bottom: 22px;
    }

    .separator {
        margin: 24px 0;
    }

    .register {
        margin-top: 24px;
    }
}


.alerta {
    padding: 12px;
    margin: 16px 0;
    border-radius: 8px;
    font-size: 13px;
    background: #163622;
    color: #98edb4;
}