.vh-hours-list {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    background: #fff;
}

.vh-hours-list th {
    text-align: left;
    font-weight: 600;
    padding: 10px;
    border-bottom: 1px solid #c3c4c7;
}

.vh-hours-list td {
    padding: 10px;
    border-bottom: 1px solid #dcdcde;
    vertical-align: top;
}

.vh-hours-list tbody tr:hover {
    background: #f6f7f7;
}

.vh-hours-list .row-actions {
    visibility: hidden;
    font-size: 13px;
    margin-top: 4px;
}

.vh-hours-list tbody tr:hover .row-actions {
    visibility: visible;
}

.vh-hours-list .row-actions a {
    text-decoration: none;
}

.vh-hours-list .row-actions .delete a {
    color: #b32d2e;
}

@media (max-width: 600px) {

    .vh-hours-list {
        font-size: 14px;
    }

    .vh-hours-list th,
    .vh-hours-list td {
        padding: 8px 6px;
    }

    .vh-hours-list th:nth-child(4),
    .vh-hours-list td:nth-child(4) {
        display: none;
    }

    .vh-hours-list .row-actions {
        visibility: visible;
    }
    .vh-history-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 10px;
}

.vh-history-heading h3 {
    margin: 0;
}

.vh-fy-selector {
    margin: 0;
}

.vh-fy-selector select {
    margin-left: 6px;
}
}

@media (max-width: 600px) {
    .vh-history-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
}
.vh-loading {
    opacity: 0.5;
    pointer-events: none;
    transition: opacity 0.15s ease;
}
/* Volunteer Hours table */

.vh-hours-list {
    width: 100%;
    border-collapse: collapse;
}

.vh-hours-list th,
.vh-hours-list td {
    padding: 10px 12px;
    vertical-align: top;
}

.vh-hours-list th {
    text-align: left;
}

.vh-hours-list tbody tr {
    border-bottom: 1px solid #ddd;
}

/* WordPress-style row actions */

.vh-hours-list .row-actions {
    visibility: hidden;
    font-size: 13px;
    margin-top: 4px;
}

.vh-hours-list tr:hover .row-actions {
    visibility: visible;
}

.vh-hours-list .row-actions a {
    text-decoration: none;
}

/* Edit row */

.vh-hours-list .vh-editing-row input,
.vh-hours-list .vh-editing-row select,
.vh-hours-list .vh-editing-row textarea {
    width: 100%;
    box-sizing: border-box;
}

.vh-hours-list .vh-editing-row textarea {
    resize: vertical;
}

.vh-hours-list .vh-editing-row .row-actions {
    visibility: visible;
    margin-top: 6px;
}

/* Date column */

.vh-hours-list th:first-child,
.vh-hours-list td:first-child {
    white-space: nowrap;
}

/* Hours column */

.vh-hours-list th:nth-child(3),
.vh-hours-list td:nth-child(3) {
    white-space: nowrap;
}

/* Loading state */

#vh-hours-table.vh-loading {
    opacity: 0.55;
    pointer-events: none;
    transition: opacity 0.15s ease;
}
/* Inline volunteer-hours editing */

.vh-hours-list .vh-editing-row td {
    vertical-align: top;
}

.vh-hours-list .vh-editing-row .vh-edit-date {
    width: 135px;
}

.vh-hours-list .vh-editing-row .vh-edit-activity {
    width: 100%;
    min-width: 150px;
}

.vh-hours-list .vh-editing-row .vh-edit-hours-value {
    width: 75px;
}

.vh-hours-list .vh-editing-row .vh-edit-notes {
    width: 100%;
    min-width: 180px;
    min-height: 60px;
}

.vh-hours-list .vh-editing-row .row-actions {
    white-space: nowrap;
    margin-top: 6px;
}
.vh-hours-list th:last-child,
.vh-hours-list td:last-child {
    white-space: nowrap;
    width: 1%;
}

.vh-hours-list .vh-editing-row td:last-child .row-actions {
    visibility: visible;
}
/* Volunteer Hours submission form */

/* Volunteer Hours submission form */

.vh-hours-form {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-end;
    gap: 12px;
    width: 100%;
}

.vh-hours-form > p {
    margin: 0;
    padding: 0;
}

.vh-hours-form > p:nth-child(1) {
    flex: 1 1 180px;
}

.vh-hours-form > p:nth-child(2) {
    flex: 0 0 135px;
}

.vh-hours-form > p:nth-child(3) {
    flex: 0 0 80px;
}

.vh-hours-form > p:nth-child(4) {
    flex: 1 1 250px;
}

.vh-hours-form > p:nth-child(5) {
    flex: 0 0 auto;
    white-space: nowrap;
}

.vh-hours-form label {
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
}

.vh-hours-form input,
.vh-hours-form select,
.vh-hours-form textarea {
    width: 100%;
    box-sizing: border-box;
}

.vh-hours-form textarea {
    min-height: 38px;
    resize: vertical;
}
