/**
 * Mediando - Inteligência em Mediação e Solução de Conflitos
 * Estilos CSS Principais (Corporate Light Theme)
 * 
 * Estilos base e utilitários limpos para uma interface profissional.
 */

/* ==========================================================================
   1. Configurações Gerais e Base
   ========================================================================== */

body {
    background-color: #F8FAFC; /* slate-50 */
    color: #0F172A; /* slate-900 */
}

/* ==========================================================================
   2. Componentes Corporativos (Cards e Panels)
   ========================================================================== */

/**
 * Painel Corporativo (Corporate Card)
 * Fundo branco, borda sutil e sombra elegante.
 */
.corporate-card {
    background-color: #FFFFFF;
    border: 1px solid #E2E8F0; /* slate-200 */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border-radius: 0.75rem;
}

.corporate-card-light {
    background-color: #F1F5F9; /* slate-100 */
    border: 1px solid #E2E8F0;
    border-radius: 0.75rem;
}

/* ==========================================================================
   3. Efeitos Visuais
   ========================================================================== */

/**
 * Efeito de Elevação Hover (Hover Lift)
 */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
}

/* ==========================================================================
   4. Barra de Rolagem Personalizada
   ========================================================================== */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #F1F5F9;
}

::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94A3B8;
}

/* ==========================================================================
   5. Componente Carrossel
   ========================================================================== */

.carousel-slide {
    opacity: 0;
    pointer-events: none;
    z-index: 0;
}

.carousel-slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 10;
}

.carousel-dot {
    background-color: rgba(15, 23, 42, 0.2); /* slate-900 com opacidade */
}

.carousel-dot.active {
    background-color: #1D4ED8; /* blue-700 */
    transform: scale(1.3);
}

/* ==========================================================================
   6. Animações de Radar (Ajustadas para Light Mode)
   ========================================================================== */

.radar-sweep {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50%;
    height: 2px;
    background: linear-gradient(90deg, rgba(29, 78, 216, 0) 0%, rgba(29, 78, 216, 0.6) 100%);
    transform-origin: left center;
    animation: radar-spin 4s linear infinite;
}

.radar-dot {
    animation: radar-ping 4s infinite;
}

.radar-dot-1 { animation-delay: 1s; }
.radar-dot-2 { animation-delay: 2.5s; }
.radar-dot-3 { animation-delay: 3.2s; }

@keyframes radar-spin {
    from { transform: translateY(-50%) rotate(0deg); }
    to { transform: translateY(-50%) rotate(360deg); }
}

@keyframes radar-ping {
    0%, 10% { opacity: 0; transform: scale(0.5); }
    15%, 50% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(1); }
}

/* ==========================================================================
   7. Animações do Dashboard
   ========================================================================== */

.animated-bar-1 { animation: bar-wobble-1 3s ease-in-out infinite alternate; }
.animated-bar-2 { animation: bar-wobble-2 4s ease-in-out infinite alternate; }
.animated-bar-3 { animation: bar-wobble-3 3.5s ease-in-out infinite alternate; }
.animated-bar-4 { animation: bar-wobble-4 4.5s ease-in-out infinite alternate; }

@keyframes bar-wobble-1 { 0% { width: 60%; } 100% { width: 85%; } }
@keyframes bar-wobble-2 { 0% { width: 40%; } 100% { width: 65%; } }
@keyframes bar-wobble-3 { 0% { width: 75%; } 100% { width: 95%; } }
@keyframes bar-wobble-4 { 0% { width: 30%; } 100% { width: 50%; } }
