/* Custom CSS for SBOT Spot - Bootstrap Override */

:root {
    --coral-500: #ff5a47;
    --coral-600: #ed3d29;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #f8f9fa;
}

/* Sidebar */
.sidebar {
    width: 260px;
    height: 100vh;
    background: white;
    border-right: 1px solid #dee2e6;
    position: fixed;
    top: 0;
    left: 0;
    overflow-y: auto;
}

.sidebar-brand {
    padding: 1.5rem;
    border-bottom: 1px solid #dee2e6;
}

.sidebar-brand h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.sidebar-nav {
    padding: 1rem;
}

.sidebar-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    color: #6c757d;
    text-decoration: none;
    border-radius: 0.5rem;
    margin-bottom: 0.25rem;
    transition: all 0.2s;
}

.sidebar-link:hover {
    background-color: #f8f9fa;
    color: #212529;
}

.sidebar-link.active {
    background-color: #fff1f0;
    color: var(--coral-500);
    font-weight: 500;
}

.sidebar-link svg {
    width: 20px;
    height: 20px;
    margin-right: 0.75rem;
}

/* Main Content */
.main-content {
    margin-left: 260px;
    min-height: 100vh;
}

/* Header */
.header {
    background: white;
    border-bottom: 1px solid #dee2e6;
    padding: 1rem 2rem;
}

/* Cards */
.card {
    border-radius: 1rem;
    border: 1px solid #e9ecef;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
}

.card-stat {
    padding: 1.5rem;
}

.card-stat .stat-label {
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.card-stat .stat-value {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

/* Buttons */
.btn-coral {
    background-color: var(--coral-500);
    border-color: var(--coral-500);
    color: white;
}

.btn-coral:hover {
    background-color: var(--coral-600);
    border-color: var(--coral-600);
    color: white;
}

/* Badges */
.badge-success-custom {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.badge-warning-custom {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.badge-danger-custom {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.badge-info-custom {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Tables */
.table-hover tbody tr:hover {
    background-color: #f8f9fa;
}

/* Animations */
@keyframes pulse-slow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.animate-pulse-slow {
    animation: pulse-slow 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Toggle Switch */
.form-switch .form-check-input {
    width: 3.5rem;
    height: 1.75rem;
    cursor: pointer;
}

.form-switch .form-check-input:checked {
    background-color: var(--coral-500);
    border-color: var(--coral-500);
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }
    .main-content {
        margin-left: 0;
    }
}
