/* Sidebar styling */
.sidebar {
    background-color: #2c2c2c;
    color: #ffffff;
    padding: 20px;
    height: 100vh;
    width: 250px;
    position: fixed;
}

.sidebar h2 {
    font-size: 24px;
    margin-bottom: 30px;
}

.sidebar nav a {
    color: #ffffff;
    font-size: 18px;
    text-decoration: none;
    display: block;
    margin: 10px 0;
}

.sidebar nav a:hover {
    background-color: #444444;
    padding-left: 10px;
}

.main-content {
    margin-left: 250px;
    padding: 20px;
}

/* Table Styling */
.table-container {
    margin-top: 20px;
}

.table {
    border: 1px solid #ccc;
    font-size: 14px;
}

.table th, .table td {
    text-align: center;
}

.table th {
    background-color: #444444;
    color: white;
}

.table td {
    background-color: #f9f9f9;
}

.table-responsive {
    overflow-x: auto;
}

/* Button Styling */
.btn {
    font-size: 14px;
    margin: 0 5px;
}

.modal-content {
    background-color: #2c2c2c;
    color: #fff;
}

/* Theme toggle */
.dark-theme {
    background-color: #1f1f1f;
    color: #ffffff;
}

.dark-theme .sidebar {
    background-color: #1a1a1a;
}

.dark-theme .table {
    background-color: #2c2c2c;
    color: #ffffff;
}

.dark-theme .btn {
    color: #ffffff;
}
/* Modal Background Blur */
.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

/* Centered Modal */
.modal-dialog {
    margin: auto;
    top: 50%;
    transform: translateY(-50%);
    position: relative;
}

/* Modal Content Style */
.modal-content {
    background: #f8f9fa; /* Match theme */
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.header {
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
}

.header-title {
    font-size: 1.5rem;
    font-weight: bold;
}

.header i {
    color: var(--text-success);
}

.header .btn {
    transition: all 0.3s ease;
}

.header .btn:hover {
    background-color: var(--success);
    color: #fff;
}
