/* ==============================================================================
   custom.css: Estilos personalizados y utilidades de interfaz para CGC
   ============================================================================== */

:root {
    --brand-bg: #050b14;
    --brand-surface: #0d1829;
    --brand-card: #132238;
    --brand-primary: #2d8cf0;
    --brand-primary-hover: #1d70cb;
    --brand-accent: #ff733b;
    --brand-accent-hover: #e05923;
    --brand-border: #1e324f;
}

/* Efectos de brillo y gradientes */
.glow-radial {
    background: radial-gradient(circle at 50% 0%, rgba(45, 140, 240, 0.18) 0%, rgba(5, 11, 20, 0) 70%);
}

.glow-radial-accent {
    background: radial-gradient(circle at 50% 0%, rgba(255, 115, 59, 0.15) 0%, rgba(5, 11, 20, 0) 70%);
}

/* Transiciones de tarjetas */
.card-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
    transform: translateY(-4px);
    border-color: rgba(45, 140, 240, 0.5);
    box-shadow: 0 12px 30px -10px rgba(45, 140, 240, 0.25);
}

/* Carrusel interactivo */
.carousel-container {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
}

.carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    min-height: 420px;
    position: relative;
}

.carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 9999px;
    background-color: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.carousel-indicator.active {
    width: 28px;
    background-color: #2d8cf0;
}

/* Animaciones de tabs y modales */
.tab-content {
    display: none;
    animation: fadeIn 0.3s ease-out forwards;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Custom scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #050b14;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #2d8cf0;
}

/* Badges y estados */
.badge-active {
    background-color: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-inactive {
    background-color: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.badge-pending {
    background-color: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.3);
}
