/* --- RESET & BASE --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #050505;
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-wrapper {
    width: 100%;
    max-width: 1100px;
    padding: 20px;
}

.content-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

/* --- LOGO Y SLOGAN --- */
.brand-section {
    flex: 1.2;
    max-width: 550px;
}

.main-logo {
    width: 420px; /* Tamaño prominente */
    max-width: 100%;
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

.main-logo:hover {
    transform: scale(1.02);
}

.slogan {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
}

.sub-slogan {
    font-size: 1.2rem;
    color: #888;
    line-height: 1.4;
}

/* --- TARJETA DE LOGIN --- */
.form-section {
    flex: 0.8;
    max-width: 400px;
}

.login-card {
    background: #111;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #222;
    box-shadow: 0 15px 35px rgba(0,0,0,0.7);
    text-align: center;
}

.input-field {
    margin-bottom: 12px;
    text-align: left;
}

input {
    width: 100%;
    padding: 14px;
    background: #000;
    border: 1px solid #333;
    border-radius: 6px;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
}

input:focus {
    border-color: #8A0100;
}

/* --- ESTADOS DE ERROR RED --- */
.input-field.error input {
    border-color: #8A0100;
}

.error-text {
    color: #8A0100;
    font-size: 0.75rem;
    margin-top: 5px;
    display: none;
    font-weight: 600;
}

.input-field.error .error-text {
    display: block;
}

/* --- BOTONES Y LINKS --- */
.login-btn {
    width: 100%;
    padding: 14px;
    background-color: #8A0100;
    color: white;
    border: none;
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    margin: 10px 0;
    transition: background 0.3s;
}

.login-btn:hover {
    background-color: #a30000;
}

.forgot-link {
    display: block;
    color: #8A0100;
    text-decoration: none;
    font-size: 0.85rem;
    margin: 10px 0 20px;
}

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

.divider {
    border: 0;
    border-top: 1px solid #333;
    margin-bottom: 20px;
}

.signup-btn {
    background: transparent;
    border: 1px solid #8A0100;
    color: #fff;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.signup-btn:hover {
    background: #8A0100;
}

/* --- LEGAL --- */
.legal-links {
    margin-top: 25px;
    font-size: 0.8rem;
    color: #666;
    text-align: center;
}

.legal-links a {
    color: #888;
    text-decoration: none;
    margin: 0 5px;
}

.legal-links a:hover {
    text-decoration: underline;
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .content-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    .main-logo {
        width: 300px;
    }
    .brand-section {
        max-width: 100%;
    }
    .form-section {
        width: 100%;
    }
}