/* AdminKit-inspired Admin Panel Styling */
:root {
    --primary: #3b7ddd;
    --secondary: #6c757d;
    --success: #28a745;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: #dc3545;
    --light: #f8f9fa;
    --dark: #343a40;
    --white: #fff;
    --sidebar-width: 260px;
    --sidebar-width-collapsed: 70px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.875rem;
    background-color: #f5f7fb;
    color: #495057;
    overflow-x: hidden;
}

/* Layout */
.wrapper {
    display: flex;
    width: 100%;
    min-height: 100vh;
    align-items: stretch;
}

/* Sidebar */
.sidebar {
    width: var(--sidebar-width);
    min-width: var(--sidebar-width);
    max-width: var(--sidebar-width);
    background: var(--white);
    transition: all 0.35s ease-in-out;
    z-index: 1040;
    box-shadow: 0 0 2rem 0 rgba(41, 48, 66, 0.1);
    position: fixed;
    height: 100%;
}

.sidebar-collapsed .sidebar {
    width: var(--sidebar-width-collapsed);
    min-width: var(--sidebar-width-collapsed);
    max-width: var(--sidebar-width-collapsed);
}

.sidebar-collapsed .sidebar .sidebar-link span,
.sidebar-collapsed .sidebar .sidebar-header,
.sidebar-collapsed .sidebar .sidebar-brand span,
.sidebar-collapsed .sidebar .sidebar-cta {
    display: none;
}

.sidebar-collapsed .main {
    margin-left: var(--sidebar-width-collapsed);
}

.sidebar-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.sidebar-brand {
    font-weight: 600;
    font-size: 1.15rem;
    padding: 1.15rem 1.5rem;
    display: block;
    color: var(--primary);
    text-decoration: none;
}

.sidebar-header {
    background: transparent;
    color: #6c757d;
    padding: 1.5rem 1.5rem 0.375rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
}

.sidebar-nav {
    padding-left: 0;
    list-style: none;
    margin-bottom: 0;
    flex-grow: 1;
}

.sidebar-item {
    position: relative;
}

.sidebar-link {
    display: block;
    padding: 0.625rem 1.625rem;
    font-weight: 400;
    transition: background 0.1s ease-in-out;
    position: relative;
    text-decoration: none;
    cursor: pointer;
    color: rgba(73, 80, 87, 0.85);
    border-left: 3px solid transparent;
}

.sidebar-link:hover {
    background: rgba(59, 125, 221, 0.1);
    color: var(--primary);
}

.sidebar-link i {
    margin-right: 0.75rem;
}

.sidebar-item.active > .sidebar-link {
    color: var(--primary);
    background: rgba(59, 125, 221, 0.1);
    font-weight: 500;
    border-left-color: var(--primary);
}

.sidebar-item.active > .sidebar-link i {
    color: var(--primary);
}

.sidebar-dropdown {
    padding-left: 2.5rem;
}

.sidebar-dropdown .sidebar-link {
    padding: 0.5rem 1.5rem;
    font-weight: 400;
    font-size: 0.85rem;
    border-left: 0;
}

.sidebar-cta {
    padding: 1.25rem;
    margin: 1.25rem;
    border-radius: 0.3rem;
    background: linear-gradient(90deg, rgba(59, 125, 221, 0.1), rgba(59, 125, 221, 0.25));
    color: var(--primary);
}

.sidebar-cta-content {
    text-align: center;
}

/* Main Content */
.main {
    margin-left: var(--sidebar-width);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-width: 0;
    overflow: hidden;
    transition: all 0.35s ease-in-out;
    width: 100%;
    background: #f5f7fb;
}

/* Enhanced Navbar */
.navbar {
    height: 70px;
    border-bottom: 0;
    box-shadow: 0 0 2rem 0 rgba(41, 48, 66, 0.1);
    padding: 0 1.5rem;
    position: sticky;
    top: 0;
    z-index: 1030;
}

.navbar-bg {
    background: var(--white);
}

.navbar-nav {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

.navbar-align {
    margin-left: auto;
}

.navbar .navbar-collapse {
    flex-grow: 0;
}

.sidebar-toggle {
    background: transparent;
    border: none;
    padding: 0.5rem;
    margin-right: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 0.3rem;
    transition: background-color 0.2s;
}

.sidebar-toggle:hover {
    background-color: rgba(59, 125, 221, 0.1);
}

.nav-item {
    position: relative;
}

.nav-icon {
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #6c757d;
    position: relative;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    transition: all 0.2s;
}

.nav-icon:hover {
    color: var(--primary);
    background-color: rgba(59, 125, 221, 0.1);
}

.indicator {
    position: absolute;
    top: 0;
    right: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--danger);
    color: var(--white);
    font-size: 0.675rem;
    font-weight: 700;
    text-align: center;
    line-height: 18px;
    border: 2px solid var(--white);
}

.dropdown-menu {
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    border-radius: 0.5rem;
    padding: 0;
    overflow: hidden;
}

.dropdown-menu-lg {
    min-width: 22rem;
}

.dropdown-menu-header {
    padding: 1rem 1.5rem;
    text-align: left;
    font-weight: 600;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    color: #495057;
}

.dropdown-menu-footer {
    padding: 0.75rem 1.5rem;
    text-align: center;
    border-top: 1px solid #e9ecef;
    background-color: #f8f9fa;
}

.dropdown-menu-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.dropdown-menu-footer a:hover {
    color: #2f6dc9;
    text-decoration: underline;
}

.list-group {
    max-height: 350px;
    overflow-y: auto;
}

.list-group-item {
    border-width: 0 0 1px;
    padding: 1rem 1.5rem;
    transition: background-color 0.2s;
}

.list-group-item:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.list-group-item:last-child {
    border-bottom: none;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.nav-link.dropdown-toggle {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 0.3rem;
    transition: background-color 0.2s;
}

.nav-link.dropdown-toggle:hover {
    background-color: rgba(59, 125, 221, 0.1);
}

.hamburger {
    display: inline-block;
    cursor: pointer;
    width: 24px;
    height: 24px;
    position: relative;
}

.hamburger:before,
.hamburger:after,
.hamburger span {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: #495057;
    position: absolute;
    left: 0;
    transition: all 0.2s ease-in-out;
}

.hamburger:before {
    top: 6px;
}

.hamburger span {
    top: 11px;
}

.hamburger:after {
    top: 16px;
}

.sidebar-collapsed .hamburger:before {
    transform: translateY(5px) rotate(45deg);
}

.sidebar-collapsed .hamburger span {
    opacity: 0;
}

.sidebar-collapsed .hamburger:after {
    transform: translateY(-5px) rotate(-45deg);
}

/* Content */
.content {
    flex: 1;
    padding: 15px;
}

/* Cards */
.card {
    box-shadow: 0 0 0.875rem 0 rgba(33, 37, 41, 0.05);
    margin-bottom: 24px;
}

.card-title {
    font-weight: 500;
    font-size: 1rem;
}

.card-header {
    background-color: transparent;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
    padding: 1rem 1.25rem;
}

.card-body {
    padding: 1.25rem;
}

.card-footer {
    background-color: transparent;
    border-top: 1px solid rgba(0, 0, 0, 0.125);
    padding: 1rem 1.25rem;
}

.flex-fill {
    flex: 1 1 auto;
}

/* Stats */
.stat {
    background: rgba(59, 125, 221, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    width: 48px;
}

.stat i {
    font-size: 1.5rem;
}

/* Badges */
.badge-soft-success {
    color: var(--success);
    background-color: rgba(40, 167, 69, 0.1);
}

.badge-soft-danger {
    color: var(--danger);
    background-color: rgba(220, 53, 69, 0.1);
}

/* Tables */
.table {
    margin-bottom: 0;
}

.table th {
    border-top: 0;
    font-weight: 500;
    color: #6c757d;
}

.table-hover tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.03);
}

/* Footer */
.footer {
    background: var(--white);
    border-top: 1px solid #e9ecef;
    padding: 1rem 0;
}

.footer ul {
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 991.98px) {
    .sidebar {
        margin-left: calc(-1 * var(--sidebar-width));
    }
    
    .sidebar-collapsed .sidebar {
        margin-left: 0;
        z-index: 1050;
    }
    
    .main {
        margin-left: 0 !important;
        width: 100%;
    }
    
    .sidebar-collapsed:not(.sidebar-mobile-show) .sidebar {
        margin-left: 0;
    }
    
    .content {
        padding: 1.5rem 1.5rem 0.75rem;
    }
}

@media (max-width: 767.98px) {
    .navbar-nav {
        flex-direction: row;
    }
    
    .content {
        padding: 1.25rem 1.25rem 0.5rem;
    }
}

/* List Group */
.list-group-item {
    border-width: 0 0 1px;
    padding: 0.75rem 1.25rem;
}

.list-group-item:first-child {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.list-group-item:last-child {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

/* Charts */
.chart {
    position: relative;
    height: 350px;
}

/* Utilities */
.text-sm {
    font-size: 0.875rem;
}

.text-navy {
    color: var(--primary) !important;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: #2f6dc9;
    border-color: #2c67be;
}

.btn-light {
    color: #495057;
    background-color: var(--white);
    border-color: #ced4da;
}

.btn-light:hover {
    color: #495057;
    background-color: #e9ecef;
    border-color: #ced4da;
}

/* Breadcrumbs */
.breadcrumb-nav {
    background-color: var(--white);
    border-radius: 0.3rem;
    box-shadow: 0 0 0.875rem 0 rgba(33, 37, 41, 0.05);
    margin-bottom: 1.5rem;
    padding: 0.75rem 1.5rem;
}

.breadcrumb {
    margin-bottom: 0;
}

.breadcrumb-item a {
    color: var(--primary);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #6c757d;
    font-weight: 500;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: #6c757d;
}

/* Icon circles */
.icon-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.avatar-lg {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Form styling */
.form-label {
    margin-bottom: 0.5rem;
    color: #495057;
}

.form-control:focus, .form-select:focus {
    border-color: #3b7ddd;
    box-shadow: 0 0 0 0.2rem rgba(59, 125, 221, 0.25);
}

.code-editor {
    font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.875rem;
}

/* Card enhancements */
.card {
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: all 0.2s ease;
}

.card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.card-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Switch styling */
.form-check-input:checked {
    background-color: #3b7ddd;
    border-color: #3b7ddd;
}

/* Button enhancements */
.btn {
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
}

.btn-primary {
    background-color: #3b7ddd;
    border-color: #3b7ddd;
}

.btn-primary:hover {
    background-color: #2d62b9;
    border-color: #2a5cae;
}

.btn-success {
    background-color: #28a745;
    border-color: #28a745;
}

.btn-success:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    margin-bottom: 0.5rem;
}

/* Dashboard Styles */
.dashboard-header {
    background: #3b7ddd;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.dashboard-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #3b7ddd;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.stat-card.users::before { background: #3b7ddd; }
.stat-card.posts::before { background: #28a745; }
.stat-card.comments::before { background: #17a2b8; }
.stat-card.messages::before { background: #ffc107; }
.stat-card.pages::before { background: #6f42c1; }
.stat-card.groups::before { background: #fd7e14; }
.stat-card.games::before { background: #e83e8c; }
.stat-card.online::before { background: #20c997; }

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #718096;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.stat-change {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.stat-change.positive {
    color: #28a745;
}

.stat-change.negative {
    color: #dc3545;
}

.stat-icon {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    opacity: 0.9;
}

.stat-card.users .stat-icon { background: #3b7ddd; }
.stat-card.posts .stat-icon { background: #28a745; }
.stat-card.comments .stat-icon { background: #17a2b8; }
.stat-card.messages .stat-icon { background: #ffc107; }
.stat-card.pages .stat-icon { background: #6f42c1; }
.stat-card.groups .stat-icon { background: #fd7e14; }
.stat-card.games .stat-icon { background: #e83e8c; }
.stat-card.online .stat-icon { background: #20c997; }

.chart-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
}

.chart-container {
    position: relative;
    height: 300px;
    margin-top: 1rem;
}

.activity-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 0.75rem;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}

.activity-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.activity-avatar {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: cover;
    margin-right: 1rem;
    border: 2px solid #e2e8f0;
}

.activity-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.25rem;
    color: white;
    background: #3b7ddd;
}

.activity-content {
    flex: 1;
}

.activity-title {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.25rem;
}

.activity-description {
    color: #718096;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.activity-time {
    color: #a0aec0;
    font-size: 0.75rem;
    font-weight: 500;
}

.content-table {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.content-table .table {
    margin: 0;
}

.content-table .table th {
    background: #f7fafc;
    border: none;
    padding: 1rem 1.5rem;
    font-weight: 600;
    color: #4a5568;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.content-table .table td {
    padding: 1rem 1.5rem;
    border: none;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: middle;
}

.content-table .table tbody tr:hover {
    background: #f7fafc;
}

.system-health-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.health-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.health-item:last-child {
    border-bottom: none;
}

.health-label {
    font-weight: 500;
    color: #4a5568;
}

.health-value {
    font-weight: 600;
    color: #2d3748;
}

.health-status {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.health-status.good {
    background: #d4edda;
    color: #155724;
}

.health-status.warning {
    background: #fff3cd;
    color: #856404;
}

.health-status.danger {
    background: #f8d7da;
    color: #721c24;
}

.progress-ring {
    width: 60px;
    height: 60px;
    position: relative;
}

.progress-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.progress-ring circle {
    fill: none;
    stroke-width: 4;
}

.progress-ring .bg {
    stroke: #e2e8f0;
}

.progress-ring .progress {
    stroke: #3b7ddd;
    stroke-linecap: round;
    transition: stroke-dasharray 0.3s ease;
}

.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.quick-action-btn {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    text-decoration: none;
    color: #4a5568;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.quick-action-btn:hover {
    border-color: #3b7ddd;
    color: #3b7ddd;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 125, 221, 0.15);
    text-decoration: none;
}

.quick-action-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #3b7ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

@media (max-width: 768px) {
    .dashboard-header {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-icon {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
    
    .quick-actions {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

/* Blog Categories Specific Styles */
.table-hover-row {
    background-color: #f8f9fa !important;
}

.category-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 8px;
    color: #6c757d;
}

.badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
}

.btn-group .btn {
    margin-right: 0.25rem;
}

.btn-group .btn:last-child {
    margin-right: 0;
}

/* Enhanced table styling */
.table {
    background: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.table thead th {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
    color: #495057;
    padding: 1rem 0.75rem;
}

.table tbody td {
    padding: 1rem 0.75rem;
    vertical-align: middle;
    border-bottom: 1px solid #f1f3f4;
}

.table tbody tr:last-child td {
    border-bottom: none;
}

/* Form enhancements */
.form-control:focus {
    border-color: #3b7ddd;
    box-shadow: 0 0 0 0.2rem rgba(59, 125, 221, 0.25);
}

.form-select:focus {
    border-color: #3b7ddd;
    box-shadow: 0 0 0 0.2rem rgba(59, 125, 221, 0.25);
}

/* Card enhancements */
.card {
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 0.75rem;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    border-radius: 0.75rem 0.75rem 0 0 !important;
    padding: 1.25rem 1.5rem;
}

.card-body {
    padding: 1.5rem;
}

/* Button enhancements */
.btn {
    border-radius: 0.5rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.2s ease;
}

.btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
}

.btn-outline-primary:hover {
    background-color: #3b7ddd;
    border-color: #3b7ddd;
}

.btn-outline-success:hover {
    background-color: #28a745;
    border-color: #28a745;
}

.btn-outline-warning:hover {
    background-color: #ffc107;
    border-color: #ffc107;
}

.btn-outline-danger:hover {
    background-color: #dc3545;
    border-color: #dc3545;
}

/* Modal enhancements */
.modal-content {
    border-radius: 0.75rem;
    border: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.modal-header {
    border-bottom: 1px solid #e9ecef;
    border-radius: 0.75rem 0.75rem 0 0;
}

.modal-footer {
    border-top: 1px solid #e9ecef;
    border-radius: 0 0 0.75rem 0.75rem;
}

/* Alert enhancements */
.alert {
    border-radius: 0.5rem;
    border: none;
    font-weight: 500;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
}

/* Pagination enhancements */
.pagination {
    margin-bottom: 0;
}

.page-link {
    border-radius: 0.375rem;
    margin: 0 0.125rem;
    border: 1px solid #dee2e6;
    color: #6c757d;
    padding: 0.5rem 0.75rem;
}

.page-link:hover {
    background-color: #e9ecef;
    border-color: #dee2e6;
    color: #495057;
}

.page-item.active .page-link {
    background-color: #3b7ddd;
    border-color: #3b7ddd;
}

/* Search and filter enhancements */
.input-group .form-control:focus {
    z-index: 3;
}

.input-group .btn {
    z-index: 2;
}

/* Empty state */
.text-muted {
    color: #6c757d !important;
}

/* Code styling */
code {
    background-color: #f8f9fa;
    color: #e83e8c;
    padding: 0.2rem 0.4rem;
    border-radius: 0.25rem;
    font-size: 0.875em;
}