@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --app-font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --primary-color: #0d6efd;
    --primary-hover: #0b5ed7;
    --success-color: #198754;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --dark-color: #212529;
    --card-radius: 1rem;
    --btn-radius: 0.75rem;
}

body {
    font-family: var(--app-font);
    color: #334155;
    background-color: #f8fafc;
    -webkit-font-smoothing: antialiased;
}

/* Card Styling */
.card {
    border-radius: var(--card-radius);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.shadow-sm {
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px -1px rgba(0, 0, 0, 0.05) !important;
}

.shadow-md {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05) !important;
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04) !important;
}

/* Rounded inputs and buttons */
.form-control, .form-select {
    border-radius: 0.6rem;
    padding: 0.65rem 0.9rem;
    font-size: 0.95rem;
}

.form-control:focus, .form-select:focus {
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.15);
}

.btn {
    border-radius: var(--btn-radius);
    padding: 0.55rem 1.1rem;
    font-weight: 500;
}

/* Pulsing Live Dot */
.pulsing-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #22c55e;
    border-radius: 50%;
    margin-right: 6px;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: pulse-animation 1.8s infinite;
}

.pulsing-dot.paused {
    background-color: #eab308;
    box-shadow: none;
    animation: none;
}

.pulsing-dot.ended {
    background-color: #94a3b8;
    box-shadow: none;
    animation: none;
}

@keyframes pulse-animation {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

/* Sidebar navigation */
.sidebar-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    color: #475569;
    text-decoration: none;
    border-radius: 0.6rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.sidebar-link:hover, .sidebar-link.active {
    background-color: #e0e7ff;
    color: #4338ca;
}

.sidebar-link i {
    width: 24px;
    font-size: 1.1rem;
}
