html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

body {
    overflow-x: hidden;
    margin-bottom: 0;
    /* Override default */
}

#sidebar-wrapper {
    min-height: 100vh;
    margin-left: -15rem;
    -webkit-transition: margin .25s ease-out;
    -moz-transition: margin .25s ease-out;
    -o-transition: margin .25s ease-out;
    transition: margin .25s ease-out;
    width: 15rem;
}

#sidebar-wrapper .sidebar-heading {
    padding: 0.875rem 1.25rem;
    font-size: 1.2rem;
}

#wrapper.toggled #sidebar-wrapper {
    margin-left: 0;
}

@media (min-width: 768px) {
    #sidebar-wrapper {
        margin-left: 0;
    }

    #page-content-wrapper {
        min-width: 0;
        width: 100%;
    }

    #wrapper.toggled #sidebar-wrapper {
        margin-left: -15rem;
    }
}

.list-group-item-action:hover {
    background-color: #495057;
    /* Darker hover */
    color: #fff;
}

/* Active menu item highlighting */
.list-group-item.active {
    background-color: #0d6efd !important;
    border-left: 4px solid #ffc107 !important;
    font-weight: 600;
}

.dropdown-toggle::after {
    float: right;
    margin-top: 8px;
}

/* Compact tables for better space usage */
.table {
    font-size: 0.9rem;
}

.table> :not(caption)>*>* {
    padding: 0.4rem 0.5rem;
}

.table thead th {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.5rem 0.5rem;
}



h1 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}
/* Dashboard Enhancements */
.bg-gradient-primary-to-secondary { background: linear-gradient(135deg, #0d6efd 0%, #6610f2 100%); }
.bg-soft-primary { background-color: rgba(13, 110, 253, 0.1); }
.bg-soft-success { background-color: rgba(25, 135, 84, 0.1); }
.bg-soft-warning { background-color: rgba(255, 193, 7, 0.1); }
.bg-soft-info { background-color: rgba(13, 202, 240, 0.1); }
.bg-soft-danger { background-color: rgba(220, 53, 69, 0.1); }
.hover-scale { transition: transform 0.2s ease-in-out, box-shadow 0.2s ease; }
.hover-scale:hover { transform: translateY(-5px); box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important; }
.icon-box-lg { width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
