@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@500;600;700&family=Inter:wght@400;500;600&display=swap');

.gastos-auth {
    --bg: #121110;
    --surface: #1D1B18;
    --surface-2: #232019;
    --line: #322E28;
    --text: #F6F2EA;
    --muted: #948E82;
    --accent: #C7B6F3;
    --peach: #F3C7A6;

    min-height: 75vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 420px;
    margin: auto;
    padding: 40px 18px;
    color: var(--text);
    font-family: 'Inter', sans-serif;
}

.gastos-auth-brand {
    margin-bottom: 25px;
}

.gastos-auth-logo {
    font-family: 'Fredoka', sans-serif;
    font-size: 34px;
    font-weight: 600;
}

.gastos-auth-logo span {
    color: var(--accent);
}

.gastos-auth-subtitle {
    color: var(--muted);
    font-size: 13px;
    margin-top: 2px;
}

.gastos-auth-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 20px;
}

.gastos-auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--surface-2);
    padding: 4px;
    border-radius: 999px;
    margin-bottom: 24px;
}

.gastos-auth-tabs a {
    padding: 10px 8px;
    border-radius: 999px;
    color: var(--muted);
    text-decoration: none;
    font-size: 13px;
    text-align: center;
}

.gastos-auth-tabs a.active {
    background: var(--accent);
    color: #171410;
    font-weight: 600;
}

.gastos-auth form {
    display: flex;
    flex-direction: column;
}

.gastos-auth label {
    font-size: 13px;
    margin: 0 4px 7px;
    color: var(--muted);
}

.gastos-auth input {
    box-sizing: border-box;
    width: 100%;
    background: var(--surface-2);
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 13px 14px;
    font-size: 15px;
    margin-bottom: 16px;
    outline: none;
}

.gastos-auth input:focus {
    border-color: var(--accent);
}

.gastos-auth button {
    border: none;
    border-radius: 999px;
    padding: 13px 18px;
    background: var(--accent);
    color: #171410;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 4px;
}

.gastos-auth-error {
    background: rgba(243, 199, 166, .09);
    color: var(--peach);
    border: 1px solid rgba(243, 199, 166, .22);
    padding: 11px 13px;
    border-radius: 12px;
    font-size: 13px;
    margin-bottom: 18px;
}

.gastos-auth-hint {
    color: var(--muted);
    font-size: 11px;
    margin: -8px 4px 14px;
}

.gastos-honeypot {
    position: absolute !important;
    left: -99999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Mostrar contraseña */

.gastos-show-password {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 8px;
    margin: -4px 4px 16px !important;
    color: var(--muted);
    font-size: 12px !important;
    cursor: pointer;
    width: fit-content;
}

.gastos-show-password input[type="checkbox"] {
    appearance: auto;
    width: 16px !important;
    height: 16px !important;
    min-width: 16px;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 3px;
    cursor: pointer;
}

.gastos-forgot {
    display: block;
    text-align: right;
    color: var(--muted);
    font-size: 12px;
    text-decoration: none;
    margin: -5px 4px 16px;
}

.gastos-forgot:hover {
    color: var(--text);
}