:root {
    --bg-light: #f8fafc;        /* Fondo general suave */
    --card-bg: #ffffff;         /* Fondo de la tarjeta */
    --accent: #15803d;          /* Verde Bosque (Más oscuro y elegante) */
    --accent-hover: #166534;    /* Verde muy profundo para interacción */
    --text-main: #1e293b;       /* Texto principal */
    --text-dim: #64748b;        /* Texto secundario */
    --border: #e2e8f0;          /* Bordes */
    --input-bg: #f8fafc;        /* Fondo de los inputs */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.auth-container {
    width: 100%;
    max-width: 420px;
    padding: 20px;
}

.auth-card {
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border);
    /* Sombra refinada */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.logo-brand {
    font-size: 1.8rem;
    color: var(--accent);
    margin-bottom: 8px;
}

.auth-header p {
    color: var(--text-dim);
    font-size: 0.9rem;
}

/* Estilo de los campos */
.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 8px;
    color: var(--text-main);
    font-weight: 500;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 15px;
    color: var(--text-dim);
}

.input-wrapper input, .input-wrapper select {
    width: 100%;
    padding: 12px 12px 12px 45px;
    background-color: var(--input-bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-main);
    outline: none;
    transition: all 0.3s;
}

.input-wrapper input:focus, .input-wrapper select:focus {
    background-color: #ffffff;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(21, 128, 61, 0.1); /* Brillo sutil verde oscuro */
}

/* Botón con el verde más serio */
.btn-primary {
    width: 100%;
    padding: 14px;
    background-color: var(--accent);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    box-shadow: 0 10px 15px -3px rgba(21, 128, 61, 0.2);
}

.btn-primary:active {
    transform: translateY(0);
}

.switch-text {
    text-align: center;
    margin-top: 25px;
    font-size: 0.9rem;
    color: var(--text-dim);
}

.switch-text a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.switch-text a:hover {
    text-decoration: underline;
}

/* Utilidad */
.hidden {
    display: none;
}

/* Estilos para el Checkbox de Términos */
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0 25px 0;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
    cursor: pointer;
}

.checkbox-group label {
    font-size: 0.85rem;
    color: var(--text-dim);
    cursor: pointer;
}

.checkbox-group label a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

/* Ajuste visual para el icono de confirmar contraseña */
.input-wrapper i.fa-shield-halved {
    color: var(--text-dim);
}