/* Global */
body {
    background: #f4f6f9;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Navbar */
.navbar {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}
.navbar-brand {
    font-size: 1.1rem;
    padding-top: 0;
    padding-bottom: 0;
}

/* Cards */
.card {
    border-radius: 0.75rem;
    overflow: hidden;
}
.card-header {
    border-bottom: 1px solid rgba(0,0,0,.06);
}

/* Tables */
.table th {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-weight: 600;
    color: #6c757d;
}
.table td {
    font-size: 0.9rem;
}
.text-truncate-cell {
    max-width: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Tabs */
.nav-tabs {
    border-bottom: 2px solid #dee2e6;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.nav-tabs::-webkit-scrollbar {
    display: none;
}
.nav-tabs .nav-link {
    border: none;
    color: #6c757d;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.6rem 1rem;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}
.nav-tabs .nav-link.active {
    color: #0d6efd;
    border-bottom-color: #0d6efd;
    background: transparent;
}
.nav-tabs .nav-link:hover {
    color: #0d6efd;
}

/* Badge */
.badge {
    font-weight: 500;
    font-size: 0.75rem;
}

/* Login page specific */
.min-vh-100 {
    min-height: 100vh;
}

/* Mobile cards */
@media (max-width: 767.98px) {
    .container-fluid {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    .card-body {
        padding: 0.875rem;
    }
    .table th, .table td {
        font-size: 0.8rem;
        padding: 0.4rem 0.5rem;
    }
}

/* Print */
@media print {
    .navbar, .btn, .nav-tabs {
        display: none !important;
    }
}
