
.faculty-form input,
.faculty-form select,
.faculty-form textarea {
    width: 100%;
}

#pairings-panel .badge {
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 600;
}

#pairings-panel .badge-high {
    background: #d4edda;
    color: #155724;
}

#pairings-panel .badge-medium {
    background: #fff3cd;
    color: #856404;
}

#pairings-panel .badge-low {
    background: #f8d7da;
    color: #721c24;
}

#pairings-panel .filter-lane,
#expected-evaluations-panel .filter-lane {
    border: 1px solid #d9d9d6;
    border-radius: 8px;
    padding: 0.9rem;
}

#pairings-panel .filter-lane-quick,
#expected-evaluations-panel .filter-lane-quick {
    background: #fff8f8;
    border-color: #f2c8c8;
}

#pairings-panel .filter-lane-detail,
#expected-evaluations-panel .filter-lane-detail {
    background: #f8fafc;
    border-color: #d6e1ea;
}

#pairings-panel .filter-lane-header,
#expected-evaluations-panel .filter-lane-header {
    margin-bottom: 0.65rem;
}

#pairings-panel .filter-lane-title,
#expected-evaluations-panel .filter-lane-title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: #282728;
}

#pairings-panel .filter-lane-help,
#expected-evaluations-panel .filter-lane-help {
    margin: 0.2rem 0 0;
    font-size: 0.8rem;
    color: #646569;
}

#manage-content-body .pairings-action-row {
    justify-content: flex-start;
}

#pairings-panel .date-range-box,
#expected-evaluations-panel .date-range-box {
    margin-top: 0.8rem;
    padding: 0.75rem;
    border: 1px solid #efb8b8;
    border-radius: 6px;
    background: #fff;
}

#pairings-panel .date-range-label,
#expected-evaluations-panel .date-range-label {
    margin: 0 0 0.5rem;
    font-size: 0.8rem;
    color: #646569;
    font-weight: 600;
}

#pairings-panel .detail-filter-actions,
#expected-evaluations-panel .detail-filter-actions {
    display: flex;
}

#pairings-panel .bulk-actions-row {
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
    margin-bottom: 0.9rem;
}

#sync-panel .bulk-actions-row {
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
    margin-bottom: 0.9rem;
}

@media (max-width: 640px) {
    #manage-content-body .pairings-action-row {
        justify-content: center;
    }

    #pairings-panel .detail-filter-actions,
    #expected-evaluations-panel .detail-filter-actions {
        width: 100%;
        justify-content: flex-start;
    }

    #pairings-panel .quick-date-grid,
    #expected-evaluations-panel .quick-date-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.5rem;
    }

    #pairings-panel .quick-date-grid > a,
    #expected-evaluations-panel .quick-date-grid > a {
        width: 100%;
        text-align: center;
    }
}

.shift-form input[type="text"],
.shift-form input[type="date"],
.shift-form input[type="time"],
.shift-form input[type="number"],
.shift-form select,
.shift-form textarea {
    width: 100%;
    min-height: 2.75rem;
}

.shift-form select,
.shift-form .js-pairing-autocomplete-input,
#pairing-form .autocomplete-input {
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
}

.pairing-autocomplete-results,
#pairing-form .autocomplete-results {
    max-height: 250px;
    overflow-y: auto;
    border: 1px solid #d9d9d6;
    border-radius: 0.5rem;
    background: #ffffff;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
    margin: 0;
    padding: 0;
    list-style: none;
}

.pairing-autocomplete-results .autocomplete-result,
.pairing-autocomplete-results .autocomplete-no-results,
#pairing-form .autocomplete-results .autocomplete-result,
#pairing-form .autocomplete-results .autocomplete-no-results {
    padding: 0.625rem 0.75rem;
}

.pairing-autocomplete-results .autocomplete-result,
#pairing-form .autocomplete-results .autocomplete-result {
    border-bottom: 1px solid #f2f2f2;
    cursor: pointer;
}

.pairing-autocomplete-results .autocomplete-result:last-child,
#pairing-form .autocomplete-results .autocomplete-result:last-child {
    border-bottom: none;
}

.pairing-autocomplete-results .autocomplete-result:hover,
#pairing-form .autocomplete-results .autocomplete-result:hover {
    background: #f9fafb;
}

#pairing-form .autocomplete-wrapper {
    position: relative;
}

#student-feedback-form .autocomplete-wrapper {
    position: relative;
}

#pairing-form .autocomplete-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
}

#student-feedback-form .autocomplete-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
}
