/* Global site styles extracted from _Layout.cshtml */
/* Dense UI Customizations */
:root {
    --bs-body-font-size: 0.85rem;
    --bs-body-line-height: 1.3;
}

body {
    font-family: 'Roboto Condensed', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.85rem;
    line-height: 1.3;
}

/* Remove container margins and use full width */
.container, .container-fluid {
    max-width: 100%;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

/* Reduce card spacing */
.card { margin-bottom: 1rem; }

.card-header {
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.card-body { padding: 0.75rem; }

/* Dense form controls */
.form-control, .form-select {
    padding: 0.25rem 0.5rem;
    font-size: 0.85rem;
    line-height: 1.3;
}

.form-label {
    margin-bottom: 0.25rem;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Button adjustments */
.btn { padding: 0.25rem 0.75rem; font-size: 0.8rem; line-height: 1.3; }
.btn-sm { padding: 0.15rem 0.5rem; font-size: 0.75rem; }

/* Navigation adjustments */
.navbar { padding: 0.25rem 0; }
.navbar-brand { font-size: 1.1rem; font-weight: 500; }
.nav-link { padding: 0.25rem 0.75rem; font-size: 0.85rem; }
.navbar-text { font-size: 0.8rem; }

/* Table density improvements */
.table { font-size: 0.8rem; line-height: 1.2; }
.table th, .table td { padding: 0.25rem 0.5rem; vertical-align: middle; }
.table th { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.025em; }

/* Tabulator customizations - Ultra Dense */
.tabulator { font-size: 0.75rem; line-height: 1.1; border: 1px solid #dee2e6; }
.tabulator .tabulator-header { border-bottom: 1px solid #dee2e6; }
.tabulator .tabulator-header .tabulator-col {
    padding: 0.15rem 0.4rem !important;
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 1.1;
    min-height: 24px;
    height: 40px;
}
.tabulator .tabulator-header .tabulator-col .tabulator-col-content { padding: 0; }
.tabulator .tabulator-header .tabulator-col .tabulator-col-title { padding: 0; margin: 0; }
.tabulator .tabulator-row { min-height: 22px; height: 22px; }
.tabulator .tabulator-cell {
    padding: 0.15rem 0.4rem !important;
    line-height: 1.1;
    font-size: 0.75rem;
    border-right: 1px solid #f0f0f0;
    vertical-align: middle;
}
.tabulator .tabulator-cell .tabulator-cell-data { padding: 0; margin: 0; }
.tabulator .tabulator-header-filter input {
    padding: 0.1rem 0.3rem;
    font-size: 0.5rem;
    height: 20px;
    line-height: 1.1;
    border: 1px solid #ced4da;
}
.tabulator .tabulator-pagination {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-top: 1px solid #dee2e6;
    background: #f8f9fa;
}
.tabulator .tabulator-page {
    padding: 0.1rem 0.3rem; margin: 0 0.1rem; font-size: 0.7rem; min-width: 20px; line-height: 1.1;
}
.tabulator .tabulator-page.active { font-weight: 600; }
.tabulator .tabulator-paginator select { padding: 0.1rem 0.2rem; font-size: 0.7rem; height: 20px; }
.tabulator .tabulator-col .tabulator-arrow { border-width: 3px; }
.tabulator .tabulator-header .tabulator-col .tabulator-header-filter input { font-size: 0.7rem; }

/* Responsive hide adjustments for mobile */
@media (max-width: 768px) {
    .tabulator .tabulator-cell { padding: 0.1rem 0.2rem !important; font-size: 0.7rem; }
    .tabulator .tabulator-header .tabulator-col { padding: 0.1rem 0.2rem !important; font-size: 0.65rem; }
}

/* Alert adjustments */
.alert { padding: 0.5rem 0.75rem; margin-bottom: 0.75rem; font-size: 0.85rem; }

/* Reduce heading sizes */
h1, h2, h3, h4, h5, h6 { line-height: 1.2; margin-bottom: 0.5rem; }
h1 { font-size: 1.8rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.9rem; }

/* Paragraph spacing */
p { margin-bottom: 0.5rem; line-height: 1.3; }

/* Utility class overrides for tighter spacing */
.mt-4 { margin-top: 1rem !important; }
.mt-3 { margin-top: 0.75rem !important; }
.mb-3 { margin-bottom: 0.75rem !important; }
.mb-4 { margin-bottom: 1rem !important; }
.py-2 { padding-top: 0.25rem !important; padding-bottom: 0.25rem !important; }

/* Remove extra spacing from rows and columns */
.row { margin-left: -0.375rem; margin-right: -0.375rem; }
.row > * { padding-left: 0.375rem; padding-right: 0.375rem; }

/* Dropdown menu adjustments */
.dropdown-menu { font-size: 0.8rem; padding: 0.25rem 0; }
.dropdown-item { padding: 0.25rem 1rem; line-height: 1.3; }

/* Input group adjustments */
.input-group-text { padding: 0.25rem 0.5rem; font-size: 0.5rem; }

