/* ============================================
   FORMULARIOS Y AUTH — CHEVROLET EVENT DESIGN
   Cards de autenticación, inputs, botones form.
   ============================================ */

/* ── LAYOUT PÁGINAS AUTH ─────────────────────── */

/* Login: dos columnas — formulario | gráfico */
.auth-page {
    min-height: calc(100vh - 68px);
    display: flex;
    align-items: stretch;
}

.auth-form-panel {
    flex: 0 0 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
}

.auth-graphic-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        140deg,
        rgba(12, 33, 86, 0.9) 0%,
        rgba(0, 51, 204, 0.5) 100%
    );
    padding: 3rem 2.5rem;
    gap: 2.4rem;
    position: relative;
    overflow: hidden;
}

/* Registro: card centrada */
.auth-page-centered {
    min-height: calc(100vh - 68px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1rem;
}

/* ── CARD DE AUTENTICACIÓN ─────────────────────── */

.auth-card {
    background: #ffffff;
    border-radius: 22px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.22);
    padding: 44px;
    width: 100%;
    max-width: 420px;
    color: #333333;
}

.auth-card-title {
    font-size: 28px;
    font-weight: 600;
    color: #0A1A40;
    text-align: center;
    margin-bottom: 6px;
}

.auth-card-subtitle {
    font-size: 14px;
    color: #555555;
    text-align: center;
    margin-bottom: 28px;
    font-weight: 300;
    line-height: 1.5;
}

/* ── GRUPOS DE FORMULARIO ──────────────────────── */

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 6px;
}

/* Input estándar */
.form-control {
    width: 100%;
    height: 45px;
    padding: 12px 14px;
    border: 1.5px solid #DADADA;
    border-radius: 9px;
    font-size: 0.95rem;
    font-family: inherit;
    background: #ffffff;
    color: #333333;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    appearance: none;
}

.form-control:focus {
    border-color: #0033CC;
    box-shadow: 0 0 0 3px rgba(0, 51, 204, 0.13);
}

.form-control::placeholder {
    color: #aaaaaa;
}

/* Wrapper para input con icono */
.input-icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon-wrap .input-icon {
    position: absolute;
    left: 13px;
    pointer-events: none;
    color: #888;
    display: flex;
    align-items: center;
    z-index: 1;
}

.input-icon-wrap .form-control {
    padding-left: 44px;
}

/* Input con tinte amarillo (usado en Login) */
.form-control-yellow {
    background: #FFFBEE;
    border-color: #FFE066;
}

.form-control-yellow:focus {
    border-color: #FFC300;
    box-shadow: 0 0 0 3px rgba(255, 195, 0, 0.16);
}

/* ── BOTÓN PRINCIPAL FORM ──────────────────────── */

.btn-form-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    height: 50px;
    background: linear-gradient(90deg, #0033CC, #0055FF);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 51, 204, 0.38);
    transition: box-shadow 0.2s, transform 0.15s;
    font-family: inherit;
    text-decoration: none;
    margin-top: 10px;
}

.btn-form-primary:hover {
    box-shadow: 0 6px 22px rgba(0, 51, 204, 0.52);
    transform: translateY(-1px);
    color: #ffffff;
}

.btn-form-primary:active {
    transform: translateY(0);
}

/* ── SWITCH DE AUTH (link amarillo) ────────────── */

.auth-switch {
    text-align: center;
    margin-top: 22px;
    font-size: 0.88rem;
    color: #666666;
}

.auth-link-yellow {
    color: #FFC300;
    font-weight: 600;
    text-decoration: none;
}

.auth-link-yellow:hover {
    text-decoration: underline;
}

/* ── GRÁFICO LATERAL LOGIN ─────────────────────── */

.graphic-arrows {
    width: 100%;
    max-width: 360px;
    filter: drop-shadow(0 8px 32px rgba(0, 0, 0, 0.25));
}

.graphic-tagline {
    text-align: center;
    color: rgba(255, 255, 255, 0.95);
}

.graphic-tagline h2 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.6rem;
}

.graphic-tagline p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 300;
}

/* ── RESPONSIVE AUTH ───────────────────────────── */

@media (max-width: 900px) {
    .auth-page {
        flex-direction: column;
    }

    .auth-form-panel {
        flex: none;
        padding: 2.5rem 1.5rem;
    }

    .auth-graphic-panel {
        padding: 2.5rem 1.5rem;
        min-height: 280px;
    }
}

@media (max-width: 540px) {
    .auth-card {
        padding: 32px 24px;
        border-radius: 16px;
    }

    .auth-card-title {
        font-size: 24px;
    }
}
