/**
 * EPAGOS STATUS DASHBOARD STYLES
 * High-performance dark UI theme for status monitoring
 */

:root {
    --bg-main: #0B0F17;
    --bg-card: #121824;
    --bg-card-hover: #161F30;
    --border-color: #1E2638;
    --text-primary: #F1F5F9;
    --text-secondary: #94A3B8;
    --color-emerald: #10B981;
    --color-amber: #F59E0B;
    --color-rose: #EF4444;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Animations */
.pulse-dot {
    animation: pulse-glow 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.4;
        transform: scale(0.85);
    }
}

/* 90-Day Timeline Bar Animations & Tooltips */
.bar-day {
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease, filter 0.2s ease;
    position: relative;
}

.bar-day:hover {
    transform: scaleY(1.35) scaleX(1.1);
    z-index: 10;
    filter: brightness(1.2);
}

/* Skeleton Loading Pulse */
.skeleton-pulse {
    animation: skeleton-loading 1.5s ease-in-out infinite;
}

@keyframes skeleton-loading {
    0% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.7;
    }
    100% {
        opacity: 0.3;
    }
}

/* Brand Custom Styles for Transparent Logos on Dark Theme */
.logo-badge {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 0.35rem 0.75rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.logo-badge:hover {
    background-color: #FFFFFF;
    transform: translateY(-1px);
}

.header-logo {
    max-height: 2.1rem;
    width: auto;
    object-fit: contain;
    display: block;
}

.footer-logo-badge {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 0.15rem 0.45rem;
    border-radius: 0.375rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.footer-logo-badge:hover {
    background-color: #FFFFFF;
    transform: translateY(-1px);
}

.footer-logo {
    max-height: 1.1rem;
    width: auto;
    object-fit: contain;
    display: block;
}

/* Smooth Fade Utilities */
.fade-in {
    animation: fadeIn 0.3s ease-in-out forwards;
}

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