/* Admin Dashboard Styles */

/* Sidebar styles */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 250px;
    background: #343a40;
    padding-top: 1rem;
    transition: all 0.3s ease;
}

.sidebar-brand {
    padding: 1rem;
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
    display: block;
    text-align: center;
}

.sidebar-nav {
    padding: 1rem 0;
}

.sidebar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8);
    padding: 0.8rem 1rem;
    transition: all 0.3s ease;
}

.sidebar-nav .nav-link:hover,
.sidebar-nav .nav-link.active {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.sidebar-nav .nav-link i {
    width: 25px;
    margin-right: 10px;
}

.main-content {
    margin-left: 250px;
    padding: 2rem;
}

/* Card styles */
.card {
    transition: transform 0.2s ease-in-out;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: none;
    border-radius: 10px;
}

.card:hover {
    transform: translateY(-5px);
}

.card-body {
    padding: 1.5rem;
}

/* Table styles */
.table th {
    background-color: #f8f9fc;
    border-top: none;
    font-weight: 600;
    padding: 1rem;
}

.table td {
    vertical-align: middle;
    padding: 1rem;
}

.table-hover tbody tr:hover {
    background-color: #f8f9fa;
}

/* Button styles */
.btn-sm {
    margin: 0 2px;
    padding: 0.4rem 0.8rem;
}

.btn i {
    margin-right: 5px;
}

/* Status badges */
.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

/* Notification styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #28a745;
    color: white;
    padding: 15px 30px;
    border-radius: 4px;
    font-size: 16px;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: all 0.3s ease-in-out;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
}

.notification.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.notification i {
    margin-right: 8px;
}

/* Search box styles */
.search-box {
    max-width: 300px;
}

.search-box .form-control {
    border-radius: 20px;
    padding-left: 1rem;
    padding-right: 1rem;
    border: 1px solid #dee2e6;
}

.search-box .form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
    border-color: #86b7fe;
}

/* Modal styles */
.modal-content {
    border: none;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
}

.modal-header {
    border-bottom: 1px solid #dee2e6;
    padding: 1.5rem;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    border-top: 1px solid #dee2e6;
    padding: 1.5rem;
}

/* Responsive styles */
@media (max-width: 768px) {
    .sidebar {
        margin-left: -250px;
    }

    .sidebar.active {
        margin-left: 0;
    }

    .main-content {
        margin-left: 0;
    }

    .container-fluid {
        padding: 1rem;
    }

    .card {
        margin-bottom: 1rem;
    }
}

/* Form styles */
.form-control {
    border-radius: 8px;
    padding: 0.6rem 1rem;
}

.form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
    border-color: #86b7fe;
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Tab styles */
.nav-tabs {
    border-bottom: 1px solid #dee2e6;
}

.nav-tabs .nav-link {
    border: none;
    color: #6c757d;
    padding: 1rem 1.5rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.nav-tabs .nav-link:hover {
    border: none;
    color: #495057;
}

.nav-tabs .nav-link.active {
    color: #0d6efd;
    border: none;
    border-bottom: 2px solid #0d6efd;
    background: none;
}

/* Loading spinner */
.spinner-border {
    width: 1.5rem;
    height: 1.5rem;
    border-width: 0.2rem;
}

/* Card borders */
.border-left-primary {
    border-left: 4px solid #4e73df !important;
}

.border-left-success {
    border-left: 4px solid #1cc88a !important;
}

.border-left-info {
    border-left: 4px solid #36b9cc !important;
}

.border-left-warning {
    border-left: 4px solid #f6c23e !important;
}

/* Text styles */
.text-xs {
    font-size: 0.7rem;
}

.text-gray-800 {
    color: #5a5c69 !important;
}

/* Login page styles */
.min-vh-100 {
    min-height: 100vh;
}

/* Alert styles */
.alert {
    margin-bottom: 1rem;
    border-radius: 0.35rem;
}

/* Badge styles */
.badge {
    padding: 0.5em 0.75em;
}
