main > .container {
    padding: 70px 15px 20px;
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.form-group {
    margin-bottom: 1rem;
}

/* ============================================================
   Maintenance-log index pages: tables + filters (DataTables)
   Selectors are page-specific (#logsTable / #filtersGrid /
   .dataTables_wrapper), so this never affects other pages.
   ============================================================ */

/* --- Filters panel --- */
#filtersGrid .form-label {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: #64748b;
    font-weight: 600;
    margin-bottom: .15rem;
}
#filtersGrid .form-control,
#filtersGrid .form-select {
    border-radius: .5rem;
    border-color: #e2e8f0;
}
#filtersGrid .form-control:focus,
#filtersGrid .form-select:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 .2rem rgba(13, 110, 253, .15);
}

/* --- DataTables top controls --- */
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter {
    margin-bottom: .75rem;
}
.dataTables_wrapper .dataTables_filter input {
    min-width: 240px;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    padding: .4rem .95rem;
}
.dataTables_wrapper .dataTables_filter input:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 .2rem rgba(13, 110, 253, .15);
    outline: 0;
}
.dataTables_wrapper .dataTables_length select {
    border-radius: .5rem;
}
.dataTables_wrapper .dataTables_info {
    color: #64748b;
    font-size: .85rem;
    padding-top: 1rem;
}

/* --- Table --- */
#logsTable {
    border-collapse: separate;
    border-spacing: 0;
}
#logsTable thead th {
    background: #f8fafc !important;
    color: #475569 !important;
    text-transform: uppercase;
    font-size: .72rem;
    letter-spacing: .04em;
    font-weight: 700;
    white-space: nowrap;
    padding: .7rem .75rem;
    vertical-align: middle;
    border-top: 0 !important;
    border-bottom: 2px solid #e2e8f0 !important;
}
#logsTable tbody td {
    padding: .6rem .75rem;
    vertical-align: middle;
    font-size: .92rem;
    border-top: 0;
    border-bottom: 1px solid #f1f5f9;
}
#logsTable tbody tr:last-child td {
    border-bottom: 0;
}
/* Drop heavy zebra striping in favour of a clear hover state */
#logsTable.table-striped > tbody > tr:nth-of-type(odd) > * {
    background-color: transparent;
}
#logsTable tbody tr {
    transition: background-color .12s ease;
}
#logsTable tbody tr:hover > * {
    background-color: #eff6ff !important;
}
/* Muted, monospaced-ish ID column */
#logsTable tbody td:first-child {
    color: #94a3b8;
    font-variant-numeric: tabular-nums;
}
#logsTable .btn-group-sm > .btn {
    --bs-btn-padding-y: .2rem;
}

/* --- Pagination --- */
.dataTables_wrapper .pagination {
    margin-bottom: 0;
}
.dataTables_wrapper .page-link {
    border-radius: .45rem;
    margin: 0 2px;
    border-color: #e9eef5;
    color: #334155;
}
.dataTables_wrapper .page-item.active .page-link {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
}
.dataTables_wrapper .page-item.disabled .page-link {
    color: #cbd5e1;
}