@use '../../styles/detail-page';

.card-header {
    display: flex;
    align-items: center;
    padding: 14px 22px;
    background: var(--bg-page);
    border-bottom: 1px solid var(--border-color);
}

.card-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.card-body {
    padding: 22px;
}

.date-row {
    display: flex;
    gap: 1.5rem;

    .field {
        flex: 1;
    }
}

.goal-checklist {
    border: 1px solid var(--border-muted);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.goal-check-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 13px;

    &:hover {
        background: var(--bg-hover);
    }

    & + & {
        border-top: 1px solid var(--border-color);
    }

    input[type="checkbox"] {
        pointer-events: none;
        accent-color: var(--accent-indigo-light);
    }
}

.run-btn {
    background: var(--accent-indigo) !important;
    color: #fff !important;
    border-color: var(--accent-indigo) !important;
    min-width: 6rem;

    &:hover {
        background: #3730A3 !important;
    }
}
