/* Admin Dashboard Styles */
.bg-dark {
    --bs-bg-opacity: 1;
    background-color: #141619 !important;
}

/* Dashboard Stats */
.dashboard-stats .modern-card {
    padding: 20px;
    text-align: center;
}

.dashboard-stats .stat-value {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-color);
}

.dashboard-stats .stat-label {
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* System Stats */
.system-stats .progress {
    height: 10px;
    margin: 10px 0;
    background-color: var(--bg-secondary);
}

.system-stats .progress-bar {
    background-color: var(--primary-color);
}

/* Table Styles */
.table {
    color: var(--text-color);
}

.table thead th {
    border-bottom: 2px solid var(--border-color);
}

.table td, .table th {
    border-color: var(--border-color);
    vertical-align: middle;
}

/* Search Container */
.search-container {
    max-width: 300px;
}

/* Actions Cell */
.actions-cell {
    white-space: nowrap;
}

/* Lock Icon */
.lock-icon {
    color: var(--text-muted);
}

/* Recent Activity */
#recentActivity {
    max-height: 300px;
    overflow-y: auto;
}

/* List Group Items */
.list-group-item {
    background: var(--bg-card);
    border: 1px solid rgba(0, 0, 0, 0.125);
    color: var(--text-color);
}

.list-group-item + .list-group-item {
    border-top: none;
}

/* Dark Theme Overrides */
body.dark-theme .modern-card {
    background-color: #212529;
    border-color: #373b3e;
}

body.dark-theme .table {
    color: #e9ecef;
}

body.dark-theme .table thead th {
    border-bottom-color: #373b3e;
}

body.dark-theme .table td {
    border-color: #373b3e;
}

body.dark-theme .list-group-item {
    background-color: #2b3035;
    border-color: #373b3e;
    color: #e9ecef;
}

body.dark-theme .modal-content {
    background-color: #212529;
    color: #e9ecef;
}

body.dark-theme .modal-header {
    border-bottom-color: #373b3e;
}

body.dark-theme .modal-footer {
    border-top-color: #373b3e;
}

body.dark-theme .form-control {
    background-color: #2c3034;
    border-color: #373b3e;
    color: #e9ecef;
}

body.dark-theme .form-control:focus {
    background-color: #2c3034;
    border-color: #4a90e2;
    color: #e9ecef;
}

body.dark-theme .input-group-text {
    background-color: #2c3034;
    border-color: #373b3e;
    color: #e9ecef;
}

body.dark-theme .progress {
    background-color: rgba(255, 255, 255, 0.1);
}

body.dark-theme .progress-bar {
    background-color: #4a90e2;
}

body.dark-theme .text-muted {
    color: #adb5bd !important;
} 