.table thead th {
    background-color: #f8f9fa;
    color: #495057;
    border-top: none;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table tbody td {
    font-size: 0.85rem;
    padding: 0.75rem;
}

.table .badge {
    font-size: 0.7rem;
    padding: 0.35em 0.65em;
}

.table .btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
}

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

.stat-card {
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.15) !important;
}

.stat-card .card-body {
    padding: 1.5rem;
}

.stat-card .text-xs {
    font-size: 0.7rem;
}

.stat-card .h5 {
    font-size: 1.5rem;
}

.form-control-sm {
    height: calc(1.5em + 0.5rem + 2px);
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
}

.form-group label {
    font-weight: 600;
    font-size: 0.85rem;
    color: #5a5c69;
}

.form-control:focus {
    border-color: var(--success);
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

#wrapper.toggled #sidebar-wrapper {
    margin-left: -250px;
}

#sidebar-wrapper {
    min-width: 250px;
    max-width: 250px;
    transition: all 0.3s;
    margin-left: 0;
}

#page-content-wrapper {
    transition: all 0.3s;
}

.border-left-primary {
    border-left: 4px solid #4e73df !important;
}

.card {
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    #sidebar-wrapper {
        margin-left: -250px;
    }
    
    #wrapper.toggled #sidebar-wrapper {
        margin-left: 0;
    }
}
