/* =========================================================================
   Checklist Module
   ========================================================================= */

.inspection-question {
    background: #fff;
    border: 1px solid var(--clr-border);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.inspection-question p {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--clr-navy);
    margin-top: 0;
    margin-bottom: 16px;
}

.button-group {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.button-group label {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    background: #f1f5f9;
    border: 2px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    color: var(--clr-text-main);
    transition: all 0.2s ease;
    user-select: none;
}

.button-group input[type="radio"] {
    display: none;
}

.button-group input[type="radio"][value="yes"]:checked + span {
    color: #fff;
}

.button-group label.active-yes {
    background: #4caf50;
    color: white;
    border-color: #388e3c;
}

.button-group label.active-no {
    background: #f44336;
    color: white;
    border-color: #d32f2f;
}

.button-group label.active-na {
    background: #9e9e9e;
    color: white;
    border-color: #757575;
}

.inspection-question textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--clr-border);
    border-radius: 6px;
    font-size: 0.9rem;
    resize: vertical;
}

.checklist-card {
    background: white;
    border: 1px solid var(--clr-border);
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.checklist-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
}

.checklist-card-clickable {
    cursor: pointer;
}

.checklist-card-clickable:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.18), 0 4px 8px rgba(0,0,0,0.08);
    border-color: rgba(14, 165, 233, 0.48);
}

.checklist-card-badges {
    margin-top: 8px;
}

.checklist-card-footer {
    margin-top: 20px;
}

.checklist-card-helper {
    color: var(--clr-text-muted);
    font-size: 0.88rem;
    font-weight: 600;
}

.checklist-signoff-panel {
    border: 1px solid var(--clr-border);
    border-radius: 10px;
    padding: 16px 18px;
    background: rgba(248, 250, 252, 0.92);
}

.checklist-signoff-heading {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--clr-navy);
}

.checklist-signoff-copy {
    margin-top: 6px;
    color: var(--clr-text-muted);
    font-size: 0.9rem;
}

.checklist-signoff-toggle {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-top: 14px;
    color: var(--clr-text-main);
    cursor: pointer;
}

.checklist-signoff-toggle input {
    margin-top: 3px;
}
