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

body {
    font-family: 'Inter', Arial, sans-serif;
    background-color: #f0f2f5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.auth-header {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 0.75rem 1.5rem;
}

.auth-header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.auth-header .logo {
    height: 4rem;
}

.btn-volver {
    background: #0f172a;
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s;
}

.btn-volver:hover {
    background: #334155;
}

.auth-main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.auth-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    width: 100%;
    max-width: 400px;
}

.auth-card h2 {
    font-size: 1.5rem;
    color: #1c1b1c;
    margin-bottom: 1.5rem;
    text-align: center;
}

.auth-field {
    margin-bottom: 1rem;
}

.auth-field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #494548;
    margin-bottom: 0.3rem;
}

.auth-field input {
    width: 100%;
    padding: 0.7rem 0.75rem;
    border: 1px solid #cac4c8;
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.15s;
}

.auth-field input:focus {
    outline: none;
    border-color: #0f172a;
}

.btn-primary {
    width: 100%;
    padding: 0.75rem;
    background: #0f172a;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 0.5rem;
    transition: background 0.15s;
}

.btn-primary:hover {
    background: #334155;
}

.btn-secondary {
    width: 100%;
    padding: 0.75rem;
    background: transparent;
    color: #0f172a;
    border: 1px solid #0f172a;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 0.5rem;
    transition: background 0.15s, color 0.15s;
}

.btn-secondary:hover {
    background: #0f172a;
    color: #ffffff;
}

.btn-link {
    display: block;
    width: 100%;
    background: transparent;
    color: #0f172a;
    border: none;
    font-size: 0.85rem;
    cursor: pointer;
    margin-top: 0.75rem;
    text-align: center;
    text-decoration: underline;
    padding: 0.25rem;
}

.btn-link:hover {
    color: #334155;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1.25rem 0;
    color: #7a7579;
    font-size: 0.8rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #cac4c8;
}

.btn-social {
    width: 100%;
    padding: 0.7rem;
    background: #f1edf0;
    color: #1c1b1c;
    border: 1px solid #cac4c8;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 0.5rem;
    transition: background 0.15s;
}

.btn-social:hover {
    background: #e5e1e4;
}

.error {
    color: #b3261e;
    font-size: 0.85rem;
    margin-top: 0.75rem;
    text-align: center;
    display: none;
}