/* Cuandeoro - Sistema de Validación Final - Estilo Fintech Institucional */

.validation-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    background: linear-gradient(135deg, #1e3a5f 0%, #2d4a6f 50%, #1e3a5f 100%);
    color: #e2e8f0;
    text-align: center;
    padding: 12px 20px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.25);
    border-bottom: 1px solid rgba(59, 130, 246, 0.3);
}

.validation-banner__content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: 0 auto;
}

.validation-banner__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.4);
    border-radius: 50%;
    flex-shrink: 0;
}

.validation-banner__icon svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: #60a5fa;
    stroke-width: 2;
}

.validation-banner__status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.validation-banner__indicator {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse-indicator 2s infinite;
}

@keyframes pulse-indicator {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
    50% { opacity: 0.8; box-shadow: 0 0 0 4px rgba(34, 197, 94, 0); }
}

.validation-banner__title {
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

.validation-banner__text {
    color: #cbd5e1;
    font-size: 0.82rem;
}

.validation-banner__network {
    background: rgba(100, 116, 139, 0.3);
    padding: 4px 12px;
    border-radius: 4px;
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.75rem;
    color: #94a3b8;
    border: 1px solid rgba(100, 116, 139, 0.3);
}

.validation-banner__version {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.7rem;
    color: #64748b;
    padding-left: 16px;
    border-left: 1px solid rgba(100, 116, 139, 0.3);
}

.validation-banner__link {
    color: #60a5fa;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border: 1px solid rgba(96, 165, 250, 0.3);
    border-radius: 4px;
    transition: all 0.2s ease;
}

.validation-banner__link:hover {
    background: rgba(96, 165, 250, 0.1);
    border-color: rgba(96, 165, 250, 0.5);
}

/* Ajuste del body para el banner */
body.has-validation-banner {
    padding-top: 56px !important;
}

body.has-validation-banner header {
    top: 56px !important;
}

/* Responsive */
@media (max-width: 768px) {
    .validation-banner {
        padding: 10px 15px;
    }
    .validation-banner__content {
        gap: 10px;
    }
    .validation-banner__version,
    .validation-banner__link {
        display: none;
    }
    .validation-banner__text {
        font-size: 0.78rem;
    }
    body.has-validation-banner {
        padding-top: 52px !important;
    }
    body.has-validation-banner header {
        top: 52px !important;
    }
}

@media (max-width: 480px) {
    .validation-banner__network {
        display: none;
    }
    .validation-banner__content {
        gap: 8px;
    }
}

/* Legacy class support */
.testnet-banner { display: none; }
