/* Sidebar Styles */
#wrapper {
    display: flex;
    width: 100%;
    align-items: stretch;
}

.sidebar {
    min-width: 250px;
    max-width: 250px;
    background: #1e2a3a;
    color: #e9ecef;
    transition: all 0.3s;
    min-height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.sidebar-header {
    padding: 20px;
    background: #0f1a24;
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    border-bottom: 1px solid #2c3e4e;
}

.sidebar .nav-link {
    color: #cfdde6;
    padding: 12px 20px;
    transition: all 0.3s;
    border-radius: 0;
}

.sidebar .nav-link:hover {
    background: #2c3e50;
    color: white;
}

.sidebar .nav-link.active {
    background: #0d6efd;
    color: white;
}

.sidebar .nav-link i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

#page-content-wrapper {
    width: 100%;
    margin-left: 250px;
    min-height: 100vh;
    background: #f4f6f9;
}

#wrapper.toggled .sidebar {
    margin-left: -250px;
}

#wrapper.toggled #page-content-wrapper {
    margin-left: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar {
        margin-left: -250px;
    }
    
    #page-content-wrapper {
        margin-left: 0;
    }
    
    #wrapper.toggled .sidebar {
        margin-left: 0;
    }
    
    #wrapper.toggled #page-content-wrapper {
        margin-left: 250px;
    }
}

/* Top Navbar */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#menu-toggle {
    font-size: 1.2rem;
    color: #1e2a3a;
}

.notification-bell {
    position: relative;
    cursor: pointer;
}

.badge-notify {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 10px;
    font-weight: bold;
}

/* Cards */
.stat-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    border-left: 4px solid #0d6efd;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.stat-card h3 {
    font-size: 2rem;
    margin: 10px 0;
    font-weight: bold;
}

.stat-card p {
    color: #6c757d;
    margin: 0;
}

/* Tables */
.table-responsive {
    background: white;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter {
    margin-bottom: 15px;
}

/* Badges */
.badge {
    padding: 5px 10px;
    font-weight: 500;
}

/* Modal */
.modal-content {
    border-radius: 10px;
}

.modal-header {
    background: #0d6efd;
    color: white;
    border-radius: 10px 10px 0 0;
}

/* Login Page */
.login-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.login-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.login-card h3 {
    margin-bottom: 30px;
    color: #333;
}

/* Form Styles */
.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13,110,253,0.25);
}

.btn-primary {
    padding: 10px 20px;
    font-weight: 500;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    color: #6c757d;
    margin-top: 30px;
}