.request-material-table {
    width: 100%;
}

    .request-material-table thead {
        background-color: #B4C6E7;
    }

    .request-material-table tbody tr:nth-child(odd) {
        background-color: #D9E2F3; /* Light gray for odd rows */
    }

    .request-material-table tbody tr:nth-child(even) {
        background-color: #D9E2F3; /* White for even rows */
    }

    .request-material-table tbody tr:hover {
        background-color: #e6f7ff; /* Light blue highlight */
    }

.request-summary-material-table,
.request-summary-note-table {
    width: 100%;
}

    .request-summary-material-table thead,
    .request-summary-note-table thead {
        background-color: #B4C6E7;
    }

    .request-summary-material-table tbody tr:nth-child(odd),
    .request-summary-note-table tbody tr:nth-child(odd) {
        background-color: #D9E2F3; /* Light gray for odd rows */
    }

    .request-summary-material-table tbody tr:nth-child(even),
    .request-summary-note-table tbody tr:nth-child(even) {
        background-color: white; /* White for even rows */
    }

    .request-summary-material-table tbody tr:hover,
    .request-summary-note-table tbody tr:hover {
        background-color: #e6f7ff; /* Light blue highlight */
    }


.request-material-table-button {
    border: 0px;
    background-color: transparent;
    width: 50px;
}

.request-material-table-add-icon {
    font-size: 20px !important;
    color: green !important;
    font-style: normal !important;
}

.request-material-table-delete-icon {
    font-size: 20px !important;
    color: red !important;
    font-style: normal !important;
}

/* Option 2: block container with internal scroll and centered panel on wide viewports */
.request-container {
    border-radius: 5px;
    margin-top: 5px;
    width: 100%;
    position: relative;
    overflow: auto;
}

.request-panel {
    border: 1px solid black !important;
    width: fit-content !important;
    margin: 0 auto !important;
    max-width: 100vw;
}

@media (max-width: 1024px) {
    .request-panel {
        margin: 0;
    }
}

.request-section {
    border: 1px solid black;
    border-radius: 5px;
    width: 100%;
    padding: 10px;
}

.request-section-table {
    border-collapse: separate;
    border-spacing: 20px 0; /* 20px horizontal, 0px vertical spacing */
}

    .request-section-table thead {
        font-weight: bold;
        font-size: 20px;
    }

.request-section-table-select {
    height: 30px;
}

.request-button-container {
    display: flex;
    justify-content: space-between;
    padding: 5px;
    gap: 20px; /* Space between buttons */
    width: 100%;
}

.request-button-cancel {
    padding: 4px 8px;
    background-color: #ffe5e5;
    color: #a00000;
    border: 1px solid #a00000;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.request-button-submit {
    padding: 4px 8px;
    background-color: #e6f2ff;
    border: 1px solid #0066cc;
    border-radius: 4px;
    cursor: pointer;
    color: #0066cc;
    font-weight: bold;
}

.request-button-view {
    padding: 4px 8px;
    background-color: #e6f2ff;
    border: 1px solid #0066cc;
    border-radius: 4px;
    cursor: pointer;
    color: #0066cc;
    font-weight: bold;
}

.request-button-cancel[disabled]
.request-button-submit[disabled]
.request-button-view[disable] {
    opacity: .6;
    cursor: not-allowed;
}

/* Selected row highlight (light dull green) */
.selected-row {
    background-color: #e2f5e2 !important; /* light, low-saturation green */
}

    .selected-row td,
    .selected-row td input,
    .selected-row td select,
    .selected-row td textarea {
        background-color: #e2f5e2 !important;
    }

        .selected-row td select:disabled,
        .selected-row td input:disabled {
            opacity: 0.85;
        }
