/* ===========================================
   WELCOME-BANNER.CSS - Banner de Bienvenida
   Muestra la motivacion del proyecto
   =========================================== */

/* Overlay oscuro */
.welcome-banner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.welcome-banner-overlay.visible {
    opacity: 1;
    visibility: visible;
}

/* Modal del banner - tono calido y acogedor */
.welcome-banner-modal {
    background: #FFFFFF;
    border: 2px solid var(--primary);
    border-radius: 16px;
    max-width: 650px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(21, 101, 192, 0.25), 0 0 0 6px rgba(21, 101, 192, 0.08);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.welcome-banner-overlay.visible .welcome-banner-modal {
    transform: translateY(0);
}

/* Header del banner - azul institucional calido */
.welcome-banner-header {
    background: linear-gradient(135deg, var(--primary) 0%, #0D47A1 100%);
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.welcome-banner-header .icon {
    font-size: 48px;
    margin-bottom: 0.5rem;
}

.welcome-banner-header h2 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
}

.welcome-banner-header .subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 0.25rem;
}

/* Contenido del banner */
.welcome-banner-content {
    padding: 1.5rem;
    max-height: 55vh;
    overflow-y: auto;
}

.welcome-banner-content p {
    margin-bottom: 1rem;
    line-height: 1.75;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.welcome-banner-content p:last-child {
    margin-bottom: 0;
}

.welcome-banner-content strong {
    color: var(--primary);
}

/* Lista de principios */
.welcome-banner-content ul {
    margin: 1rem 0;
    padding-left: 0;
    list-style: none;
}

.welcome-banner-content ul li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    line-height: 1.6;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.welcome-banner-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
}

/* Advertencia legal - MUY DESTACADA */
.welcome-banner-warning {
    background: linear-gradient(135deg, #FFF3E0 0%, #FFECB3 100%);
    border: 2px solid #E65100;
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(230, 81, 0, 0.15);
}

.welcome-banner-warning .warning-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: #BF360C;
}

.welcome-banner-warning .warning-header .material-icons-round {
    font-size: 28px;
    color: #E65100;
}

.welcome-banner-warning .warning-header strong {
    font-size: 1rem;
    color: #BF360C !important;
    letter-spacing: 0.5px;
}

.welcome-banner-warning p {
    color: #4E342E !important;
    margin-bottom: 0.75rem !important;
    font-size: 0.9rem !important;
}

.welcome-banner-warning ul {
    margin: 0 !important;
    padding-left: 0 !important;
}

.welcome-banner-warning ul li {
    color: #4E342E !important;
    font-size: 0.875rem !important;
    margin-bottom: 0.5rem !important;
}

.welcome-banner-warning ul li:last-child {
    margin-bottom: 0 !important;
}

.welcome-banner-warning ul li::before {
    background: #E65100 !important;
    width: 6px !important;
    height: 6px !important;
    top: 0.55rem !important;
}

.welcome-banner-warning ul li strong {
    color: #BF360C !important;
}

/* Nota sobre errores - destacada sutilmente */
.welcome-banner-note {
    background: var(--surface-variant);
    border-left: 3px solid var(--primary);
    padding: 1rem;
    border-radius: 0 8px 8px 0;
    margin: 1rem 0;
}

.welcome-banner-note p {
    margin-bottom: 0 !important;
    font-size: 0.9rem !important;
    color: var(--text-secondary);
}

/* Firma */
.welcome-banner-signature {
    text-align: right;
    font-style: italic;
    color: var(--text-secondary);
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--divider);
}

/* Footer del banner */
.welcome-banner-footer {
    padding: 1.25rem 1.5rem;
    background: var(--surface-variant);
    border-top: 1px solid var(--divider);
}

/* Boton de continuar */
.welcome-banner-continue {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.welcome-banner-continue:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.4);
}

.welcome-banner-continue:active {
    transform: translateY(0);
}

.welcome-banner-continue .material-icons-round {
    font-size: 20px;
}

/* Responsive */
@media (max-width: 640px) {
    .welcome-banner-modal {
        max-width: 100%;
        margin: 0.5rem;
        border-radius: 12px;
    }

    .welcome-banner-header {
        padding: 1rem;
    }

    .welcome-banner-header .icon {
        font-size: 36px;
    }

    .welcome-banner-header h2 {
        font-size: 1.2rem;
    }

    .welcome-banner-content {
        padding: 1rem;
        max-height: 45vh;
    }

    .welcome-banner-content p,
    .welcome-banner-content ul li {
        font-size: 0.875rem;
    }

    .welcome-banner-footer {
        padding: 1rem;
    }

    .welcome-banner-continue {
        padding: 0.875rem 1rem;
        font-size: 0.9375rem;
    }
}
