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;
}

html, body {
    height: 100%;
    margin: 0;
    overflow-x: hidden;
}

/* ===== Sidebar ===== */
.sidebar {
    width: 260px;
    min-height: 100vh;
    transition: margin-left 0.3s ease, width 0.3s ease;
    flex-shrink: 0;
}

.sidebar.collapsed {
    margin-left: -260px;
}

.sidebar-link {
    color: rgba(255, 255, 255, 0.7);
    border-radius: 0.375rem;
    padding: 0.5rem 1rem;
    transition: all 0.2s ease;
}

.sidebar-link:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
}

.sidebar-link.active {
    color: #fff;
    background-color: rgba(59, 130, 246, 0.5);
}

/* ===== Content area ===== */
#page-content {
    min-height: 100vh;
    background-color: #f8f9fa;
    transition: margin-left 0.3s ease;
    width: 100%;
}

/* ===== Table styles ===== */
.table-hover tbody tr {
    transition: background-color 0.15s ease;
}

.table th {
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #6c757d;
}

/* ===== Card hover effect ===== */
.card {
    transition: box-shadow 0.2s ease;
}

.card:hover {
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.08) !important;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        z-index: 1050;
        margin-left: -260px;
    }

    .sidebar.show {
        margin-left: 0;
    }
}
