/**
 * Reject-dialog family -- extracted from root styles.css per ADR 0023.
 * Shared between companies_old (app.js's own reject-prospect dialog) and
 * companies (companies-overview.js's reject dialog, and every
 * "reject-dialog"-styled modal under frontend/sales/companies/detail/modals/
 * and companies-tab-summary.js's link-candidates picker) -- neither
 * module owns this, so it isn't duplicated into either module's own CSS
 * file. Do not fork a copy into a module file; edit here.
 */

/* Afvisnings-dialog: aarsag (pick-list) + valgfri note. */
.reject-dialog-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 16px;
}
.reject-dialog {
    background: var(--bg-primary, #fff);
    border-radius: 12px;
    padding: 20px;
    width: 100%;
    max-width: 460px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}
.reject-dialog-title {
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 6px;
}
.reject-dialog-help {
    font-size: 0.8rem;
    color: var(--text-muted, var(--text-secondary));
    margin-bottom: 14px;
}
.reject-dialog-reasons {
    display: grid;
    gap: 6px;
    margin-bottom: 14px;
}
.reject-reason {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--border, var(--border-light));
    border-radius: 8px;
    padding: 9px 11px;
    cursor: pointer;
    font-size: 0.88rem;
}
.reject-reason:hover {
    border-color: var(--border-light);
    background: var(--bg-secondary, var(--background));
}
.reject-reason-label {
    font-weight: 500;
}
.reject-reason-cooldown {
    margin-left: auto;
    font-size: 0.74rem;
    color: var(--text-muted, var(--text-secondary));
    white-space: nowrap;
}
.reject-dialog-note-label {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted, var(--text-secondary));
    margin-bottom: 4px;
}
.reject-dialog-note {
    width: 100%;
    border: 1px solid var(--border, var(--border-light));
    border-radius: 8px;
    padding: 8px 10px;
    font: inherit;
    font-size: 0.88rem;
    resize: vertical;
}
.reject-dialog-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 14px;
}
