/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    position: relative;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 250px;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    overflow-y: auto;
    color: white;
}

.logo-container {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.sidebar .nav-link {
    padding: 12px 20px;
    color: rgba(255, 255, 255, 0.8);
    border-left: 3px solid transparent;
    transition: all 0.3s;
}

.sidebar .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-left-color: white;
}

.sidebar .nav-link.active {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border-left-color: white;
}

.sidebar .nav-link i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

/* Main Content */
.main-content {
    margin-left: 250px;
    min-height: 100vh;
}

/* Responsive Sidebar */
@media (max-width: 768px) {
    .sidebar {
        width: 60px;
    }
    
    .sidebar .nav-link {
        padding: 12px 15px;
        text-align: center;
    }
    
    .sidebar .nav-link i {
        margin-right: 0;
        font-size: 1.2rem;
    }
    
    .sidebar .nav-link span,
    .sidebar .logo-container h5 {
        display: none;
    }
    
    .logo-container img {
        max-width: 40px;
    }
    
    .main-content {
        margin-left: 60px;
    }
}

/* Card Styles */
.card {
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    margin-bottom: 1.5rem;
}

.card-header {
    border-radius: calc(0.5rem - 1px) calc(0.5rem - 1px) 0 0;
}

/* Alert Styles */
.alert {
    border-radius: 0.5rem;
}

/* Form Styles */
.form-control, .form-select {
    border-radius: 0.25rem;
    padding: 0.5rem 0.75rem;
}

.form-control:focus, .form-select:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 0.25rem rgba(40, 167, 69, 0.25);
}

/* Button Styles */
.btn {
    border-radius: 0.25rem;
    padding: 0.5rem 1rem;
}

.btn-success {
    background-color: #28a745;
    border-color: #28a745;
}

.btn-success:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

/* Table Styles */
.table {
    border-collapse: separate;
    border-spacing: 0;
}

.table thead th {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
}

/* Badge Styles */
.badge {
    padding: 0.35em 0.65em;
    font-weight: 600;
}

/* Utility Classes */
.text-success {
    color: #28a745 !important;
}

.bg-success {
    background-color: #12089c !important;
}

.bg-benhur {
    background-color: #12089c !important;
}