/* =====================================================
   BOZASHOP - SISTEMA DE ACCESO CENTRALIZADO (SSO)
===================================================== */
.bz-sso-page {
    min-height: calc(100vh - 135px);
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 4%;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

.bz-sso-container {
    width: 100%;
    max-width: 1040px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(7, 19, 41, 0.1);
    border: 1px solid #e2e8f0;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    overflow: hidden;
    min-height: 580px;
}

@media (max-width: 900px) {
    .bz-sso-container { grid-template-columns: 1fr; }
    .bz-sso-visual { display: none; }
}

/* Lado Izquierdo: Video Corporativo y Explicación de Roles */
.bz-sso-visual {
    position: relative;
    background: #071329;
    color: #ffffff;
    padding: 48px 42px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.bz-sso-visual video {
    position: absolute;
    top: 50%; left: 50%;
    min-width: 100%; min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.38) contrast(1.1);
}

.bz-sso-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, rgba(7, 19, 41, 0.92) 0%, rgba(0, 86, 179, 0.75) 100%);
    z-index: 2;
}

.bz-sso-content {
    position: relative;
    z-index: 3;
}

.bz-sso-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    padding: 10px 18px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 28px;
}

.bz-sso-brand img {
    width: 42px; height: 42px;
    border-radius: 8px; background: #fff;
    padding: 3px; object-fit: contain;
}

.bz-sso-brand span {
    font-size: 13px; font-weight: 800;
    letter-spacing: 1px; text-transform: uppercase;
}

.bz-sso-content h2 {
    font-size: 2rem; font-weight: 800;
    line-height: 1.22; margin: 0 0 14px 0;
}

.bz-sso-content p {
    font-size: 0.96rem; color: #cbd5e1;
    line-height: 1.6; margin: 0 0 28px 0;
}

.bz-role-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bz-role-badge-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    padding: 13px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
}

.bz-role-badge-card strong {
    color: #38bdf8;
    display: block;
    font-size: 13.5px;
}

/* Lado Derecho: Formulario Centralizado */
.bz-sso-form-side {
    padding: 46px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 600px) {
    .bz-sso-form-side { padding: 32px 24px; }
}

.bz-sso-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #f1f5f9;
    padding: 5px;
    border-radius: 12px;
    margin-bottom: 26px;
}

.bz-sso-tab {
    background: transparent;
    border: none;
    padding: 12px;
    font-size: 13.5px;
    font-weight: 800;
    color: #64748b;
    border-radius: 9px;
    cursor: pointer;
    transition: 0.2s;
}

.bz-sso-tab.active {
    background: #ffffff;
    color: #071329;
    box-shadow: 0 4px 12px rgba(7, 19, 41, 0.08);
}

.bz-sso-pane { display: none; }
.bz-sso-pane.active { display: block; }

.bz-sso-title h1 {
    margin: 0 0 6px 0;
    font-size: 1.65rem;
    font-weight: 800;
    color: #071329;
}

.bz-sso-title p {
    margin: 0 0 22px 0;
    font-size: 13.5px;
    color: #64748b;
}

.bz-f-group { margin-bottom: 16px; }
.bz-f-group label {
    display: block; font-size: 12.5px;
    font-weight: 700; color: #334155; margin-bottom: 6px;
}

.bz-f-input {
    width: 100%; padding: 13px 15px;
    border: 1.5px solid #cbd5e1; border-radius: 10px;
    font-size: 14px; color: #0f172a; background: #f8fafc;
    box-sizing: border-box; transition: 0.2s;
}

.bz-f-input:focus {
    background: #ffffff; border-color: #0056b3;
    outline: none; box-shadow: 0 0 0 4px rgba(0, 86, 179, 0.12);
}

.bz-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .bz-grid-2 { grid-template-columns: 1fr; } }

.bz-btn-submit {
    width: 100%;
    background: linear-gradient(135deg, #071329 0%, #0056b3 100%);
    color: #ffffff; border: none; padding: 15px;
    border-radius: 10px; font-size: 14.5px; font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.7px;
    cursor: pointer; margin-top: 8px;
    box-shadow: 0 8px 20px rgba(0, 86, 179, 0.25);
    transition: 0.2s;
}

.bz-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(0, 86, 179, 0.35);
}

.bz-sso-alert {
    padding: 14px 16px; border-radius: 10px;
    margin-bottom: 20px; font-size: 13.5px;
    font-weight: 600; line-height: 1.45;
}
.bz-sso-alert.error { background: #fef2f2; color: #991b1b; border-left: 4px solid #dc2626; }
.bz-sso-alert.warning { background: #fffbeb; color: #92400e; border-left: 4px solid #f59e0b; }
.bz-sso-alert.info { background: #eff6ff; color: #1e40af; border-left: 4px solid #2563eb; }

.bz-seller-cta {
    margin-top: 24px; padding-top: 18px;
    border-top: 1px solid #e2e8f0; text-align: center;
    font-size: 13px; color: #475569;
}

.bz-seller-cta a {
    color: #ff3b4e; font-weight: 800; text-decoration: none;
}
.bz-seller-cta a:hover { text-decoration: underline; }