/* assets/frontend/duties.css */

/* ===== Base table layout ===== */
.vd-duty-row td {
    vertical-align: middle;
    padding: 10px;
}

.vd-duty-cell {
    display: block;
    padding: 10px;
}

/* Accordion panel */
.vd-duty-desc {
    margin-top: 8px;
}

/* Area for duty signup button/messages (duties without tasks) */

/* Meta under title (date/time/signups) */
.vd-duty-meta,
.vd-duty-description,
.vd-duty-action,
.vd-task-item {
    margin-top: 12px;
}

.vd-duty-meta-line {
    line-height: 1.35;
    margin: 4px 0;
}

/* Signups link/text */
.vd-duty-status-link {
    color: #0a58ca;
    text-decoration: underline;
    text-decoration-skip-ink: auto;
}

.vd-duty-status-text {
    color: inherit;
}

.vd-duty-details-link {
    color: #005d8f !important;
    display: inline-block;
    margin: 6px 0px 0px 0px;
    cursor: pointer;
    color: inherit;
}

/* If your theme adds row hover background: force it off */
.vd-duty-row:hover,
.vd-duty-row:hover td {
    background: transparent !important;
}

.vd-duty-title {
    margin: 0;
    font-weight: 600;
    font-size: 18px;
}

/* ===== Task blocks inside expanded duty ===== */
.vd-task-item {
    border: 1px solid #eee;
    padding: 12px;
    background: #fafafa;
}

.vd-task-title {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 10px;
}

.vd-task-meta {
    margin-top: 6px;
}

.vd-task-meta-line {
    line-height: 1.35;
}

.vd-task-action {
    margin-top: 10px;
}