body {
    background-color: #0f1117;
    color: #e0e0e0;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.navbar {
    background-color: #161b22 !important;
}

.stat-card {
    background: linear-gradient(145deg, #161b22, #1c2333);
    border: 1px solid #30363d;
    border-radius: 12px;
    padding: 1.25rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.stat-card .stat-icon {
    font-size: 2.2rem;
    opacity: 0.7;
}

.stat-card .stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.2;
}

.stat-card .stat-label {
    font-size: 0.8rem;
    color: #8b949e;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card {
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 12px;
}

.card-header {
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid #30363d;
    font-weight: 600;
}

.table-dark {
    --bs-table-bg: #161b22;
    --bs-table-border-color: #30363d;
}

.table-dark.table-hover > tbody > tr:hover {
    --bs-table-hover-bg: #1c2333;
}

.badge-active {
    background: #238636;
    color: #fff;
}

.badge-inactive {
    background: #6e7681;
    color: #fff;
}

.badge-disabled {
    background: #da3633;
    color: #fff;
}

.status-dot-active {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3fb950;
    box-shadow: 0 0 6px rgba(63, 185, 80, 0.6);
    animation: pulse-green 2s ease-in-out infinite;
}

.status-dot-inactive {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #6e7681;
}

@keyframes pulse-green {
    0%, 100% { opacity: 1; box-shadow: 0 0 6px rgba(63, 185, 80, 0.6); }
    50% { opacity: 0.6; box-shadow: 0 0 2px rgba(63, 185, 80, 0.2); }
}

.progress {
    background-color: #21262d;
}

code {
    color: #79c0ff;
    font-size: 0.85em;
}

a.text-decoration-none:hover {
    color: #58a6ff !important;
}

.form-control:focus,
.form-select:focus {
    background-color: #0d1117;
    border-color: #58a6ff;
    color: #e0e0e0;
    box-shadow: 0 0 0 0.2rem rgba(88, 166, 255, 0.15);
}

.form-control,
.form-select {
    background-color: #0d1117;
    border-color: #30363d;
    color: #e0e0e0;
}

.form-control::placeholder {
    color: #484f58;
}

.pagination .page-link {
    background-color: #161b22;
    border-color: #30363d;
    color: #8b949e;
}

.pagination .page-item.active .page-link {
    background-color: #238636;
    border-color: #238636;
    color: #fff;
}

.pagination .page-link:hover {
    background-color: #21262d;
    color: #e0e0e0;
}
