/* Páginas de autenticación */
body.auth-page {
    background: linear-gradient(135deg, #1877f2 0%, #0e3d8a 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-container {
    width: 100%;
    max-width: 480px;
}

.auth-card {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.auth-logo {
    text-align: center;
    margin-bottom: 10px;
}

.auth-logo a {
    font-size: 2em;
    font-weight: 900;
    color: #1877f2;
    text-decoration: none;
    letter-spacing: -1px;
}

.auth-card h2 {
    text-align: center;
    font-size: 1.6em;
    margin-bottom: 5px;
    color: #1a1a2e;
}

.auth-subtitle {
    text-align: center;
    color: #888;
    margin-bottom: 30px;
    font-size: 0.95em;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
    font-size: 0.9em;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1em;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #1877f2;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.form-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.form-check label {
    margin-bottom: 0;
    font-weight: normal;
    font-size: 0.88em;
    color: #555;
    flex: 1;
}

.forgot-link {
    margin-left: auto;
    font-size: 0.85em;
    color: #1877f2;
    text-decoration: none;
}

.forgot-link:hover { text-decoration: underline; }

.btn-block {
    width: 100%;
    padding: 14px;
    font-size: 1.05em;
    border-radius: 8px;
    margin-top: 8px;
    cursor: pointer;
    border: none;
}

.auth-footer {
    text-align: center;
    margin-top: 25px;
    font-size: 0.9em;
    color: #666;
}

.auth-footer a {
    color: #1877f2;
    font-weight: 600;
    text-decoration: none;
}

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

.alert p { margin: 4px 0; }

@media (max-width: 480px) {
    .auth-card { padding: 25px 20px; }
    .form-row { grid-template-columns: 1fr; }
}
