﻿.navbar.custom-navbar-height {
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
}

.grid-pager table {
    margin: 0 auto;
}

.grid-pager td {
    border: 1px solid #dee2e6;
    padding: .4rem .7rem;
    text-align: center;
}

    .grid-pager td span {
        background-color: #0d6efd;
        color: #fff;
        padding: .4rem .7rem;
        display: inline-block;
        border-radius: .25rem;
    }

    .grid-pager td a {
        color: #0d6efd;
        text-decoration: none;
        display: inline-block;
    }

        .grid-pager td a:hover {
            text-decoration: underline;
        }

.thead-dark th {
    background-color: #006DCC;
    color: #fff;
}

.thead-dark a {
    color: #fff !important;
    text-decoration: none;
}

    .thead-dark a:hover {
        text-decoration: underline;
    }

/* ── Availability page ── */
.section-card .card-header { cursor: default; }

.verify-toggle { font-size: .95rem; }

.sub-title-available {
    color: #198754;
    font-weight: 600;
    font-size: .95rem;
}

.sub-title-nodisp {
    color: #fd7e14;
    font-weight: 600;
    font-size: .95rem;
}

/* ── Shared footer ── */
footer.site-footer {
    font-size: .82rem;
}




body {
    padding-top: 20px;
    background-color: #f5f5f5;
}

.main-container {
    background-color: #fff;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.page-header {
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
    margin-bottom: 30px;
}

.nodisp-container {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.left-panel {
    flex: 0 0 350px;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
}

.right-panel {
    flex: 1;
    background: #fff;
    padding: 15px;
    border: 1px solid #dee2e6;
    border-radius: 5px;
}

.filter-panel {
    flex: 0 0 350px;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #dee2e6;
}

.category-section {
    margin-bottom: 25px;
}

.category-title {
    font-weight: bold;
    color: #495057;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 2px solid #007bff;
}

.item-list {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #ced4da;
    border-radius: 3px;
    background: #fff;
}

.item-row {
    padding: 8px 12px;
    cursor: pointer;
    border-bottom: 1px solid #e9ecef;
    transition: background-color 0.2s;
}

    .item-row:hover {
        background-color: #e7f3ff;
    }

    .item-row.selected {
        background-color: #cfe2ff;
        font-weight: 500;
    }

    .item-row:last-child {
        border-bottom: none;
    }

.add-form {
    display: none;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
    border: 2px solid #007bff;
}

    .add-form.show {
        display: block;
    }

.form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

    .form-header h4 {
        margin: 0;
        color: #007bff;
    }

.nodisp-table {
    width: 100%;
}

    .nodisp-table th {
        background-color: #007bff;
        color: white;
        padding: 10px;
        text-align: left;
        font-weight: 500;
    }

    .nodisp-table td {
        padding: 8px 10px;
        border-bottom: 1px solid #dee2e6;
    }

    .nodisp-table tbody tr:hover {
        background-color: #f8f9fa;
    }

.btn-action {
    padding: 2px 8px;
    font-size: 12px;
    margin-right: 5px;
}

.alert-overlap {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
    padding: 10px;
    border-radius: 3px;
    margin-bottom: 10px;
    display: none;
}

    .alert-overlap.show {
        display: block;
    }

.cat-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
}

.cat-auto {
    background-color: #d4edda;
    color: #155724;
}

.cat-device {
    background-color: #d1ecf1;
    color: #0c5460;
}

.cat-person {
    background-color: #f8d7da;
    color: #721c24;
}

.datetime-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

    .datetime-group > div {
        flex: 1;
    }