/* ----------------------------------------------------------
   Weekend Duty Roster
---------------------------------------------------------- */

.eac-weekend-duty-form {
    margin-top: 12px;
}

.eac-weekend-duty-table-container {
    margin-top: 8px;
    background-color: #020617;
    border-radius: 12px;
    padding: 12px;
    border: 1px solid #111827;
    overflow-x: auto;
}

.eac-weekend-duty-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
    min-width: 640px;
}

.eac-weekend-duty-table th,
.eac-weekend-duty-table td {
    padding: 6px 8px;
    border-bottom: 1px solid #1f2937;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
}

.eac-weekend-duty-table thead th {
    font-size: 0.75rem;
    font-weight: 600;
    color: #e5e7eb;
    background-color: #020617;
    position: sticky;
    top: 0;
    z-index: 1;
}

.eac-weekend-duty-name-col,
.eac-weekend-duty-name {
    text-align: left;
    white-space: nowrap;
}

.eac-weekend-duty-cell input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.eac-weekend-duty-actions {
    margin-top: 12px;
    text-align: right;
}

.eac-helper-text {
    font-size: 0.8rem;
    color: #9ca3af;
    margin: 8px 0;
}

.eac-notice {
    margin-top: 8px;
    margin-bottom: 12px;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 0.8rem;
}

.eac-notice-success {
    background-color: #052e16;
    border: 1px solid #16a34a;
    color: #bbf7d0;
}

.eac-weekend-duty-count-col,
.eac-weekend-duty-count {
    text-align: center;
    font-weight: 600;
}

.eac-weekend-duty-summary-row {
    background-color: #020617;
}

.eac-weekend-duty-summary-row td {
    font-weight: 600;
}

/* Weekend Duty - Light theme overrides */

.eac-wrapper.eac-theme-light .eac-weekend-duty-table-container {
    background-color: #f9fafb;
    border-color: #e5e7eb;
}

.eac-wrapper.eac-theme-light .eac-weekend-duty-table thead th {
    background-color: #e5e7eb;
    color: #111827;
}

.eac-wrapper.eac-theme-light .eac-weekend-duty-table th,
.eac-wrapper.eac-theme-light .eac-weekend-duty-table td {
    border-bottom-color: #e5e7eb;
}

.eac-wrapper.eac-theme-light .eac-weekend-duty-summary-row {
    background-color: #e5f0ff;
}
