/* --------------------------------------------------------
   RESET BÁSICO
--------------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.login-page {
    font-family: "Segoe UI", sans-serif;
    background: #f5f7fb;
    color: #333;
}

/* --------------------------------------------------------
   TOPBAR SIN LOGO
--------------------------------------------------------- */
.topbar {
    width: 100%;
    height: 40px;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

/* --------------------------------------------------------
   SECCIÓN HERO DEL LOGIN
--------------------------------------------------------- */
.login-hero {
    width: 100%;
    min-height: calc(100vh - 40px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

/* Contenedor principal */
.login-card-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

/* --------------------------------------------------------
   BLOQUE DE MARCA / LOGO
--------------------------------------------------------- */
.login-brand {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-brand img {
    width: 90px;
    height: auto;
    margin-bottom: 12px;
}

.login-brand h1 {
    font-size: 1.8rem;
    color: #7a0826; /* Vino tinto */
    margin-bottom: 8px;
    font-weight: 700;
}

.login-mini-nav a {
    color: #0078D7;
    text-decoration: none;
    font-size: 0.95rem;
}

.login-mini-nav a:hover {
    text-decoration: underline;
}

/* --------------------------------------------------------
   TARJETA DEL LOGIN
--------------------------------------------------------- */
.login-card {
    background: #fff;
    width: 320px;
    border-radius: 12px;
    padding: 26px 22px;
    text-align: center;
    border: 1px solid #e5e7eb;
}

.shadow-soft {
    box-shadow: 0 5px 18px rgba(0,0,0,0.08);
}

.login-card h2 {
    font-size: 1.4rem;
    margin-bottom: 6px;
    font-weight: 600;
}

.login-card p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 16px;
}

/* --------------------------------------------------------
   ALERTAS
--------------------------------------------------------- */
.alert-danger {
    background: #ffe5e5;
    color: #b30000;
    border: 1px solid #ffb3b3;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

/* --------------------------------------------------------
   BOTÓN GOOGLE
--------------------------------------------------------- */
.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    background: #ffffff;
    border: 1px solid #d0d0d0;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    color: #444;
}

.btn-google:hover {
    background: #f3f3f3;
    border-color: #c2c2c2;
}

.g-icon {
    width: 18px;
    height: 18px;
    background-image: url('https://www.gstatic.com/firebasejs/ui/2.0.0/images/auth/google.svg');
    background-size: cover;
    display: inline-block;
}

/* --------------------------------------------------------
   BOTÓN SECUNDARIO ACCEDER
--------------------------------------------------------- */
.btn-access {
    display: block;
    background: #0078D7;
    color: white;
    padding: 10px 14px;
    border-radius: 6px;
    text-align: center;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: 0.2s;
}

.btn-access:hover {
    background: #005ea6;
}

/* --------------------------------------------------------
   RESPONSIVE
--------------------------------------------------------- */
@media (max-width: 480px) {
    .login-card {
        width: 90%;
    }
}
