/* Collections Settings — templates/members/settings/collections-workflow.html.twig */

.col-master-row {
    display: flex; align-items: flex-start; justify-content: space-between; gap: 18px;
    padding: 20px 22px; border: 1px solid #E3E8F0; border-radius: 14px; background: #fff;
}
.col-master-row.enabled { border-color: #CBE4D5; background: #F4FBF7; }
.col-master-icon {
    width: 44px; height: 44px; border-radius: 12px; background: #E4F6EC; color: #1FA463;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.col-master-title { font-size: 15.5px; font-weight: 800; color: #1C2540; }
.col-master-desc { font-size: 13px; color: #6B7690; margin-top: 3px; line-height: 1.55; max-width: 480px; }

.col-section-eyebrow { font-size: 13px; font-weight: 800; letter-spacing: 0.04em; color: #7A869E; text-transform: uppercase; }
.col-section-hint { font-size: 12.5px; color: #8892A8; margin-top: 4px; line-height: 1.5; }

/* Escalation timeline */
.col-timeline-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.col-stage-row { display: flex; gap: 16px; position: relative; }
.col-stage-rail { display: flex; flex-direction: column; align-items: center; width: 52px; flex-shrink: 0; }
.col-stage-daybadge {
    width: 52px; height: 52px; border-radius: 13px; background: #fff; border: 1.5px solid #E2E8F2;
    display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 1; flex-shrink: 0;
}
.col-stage-daybadge-num { font-size: 16px; font-weight: 800; color: #1C2540; line-height: 1; }
.col-stage-daybadge-label { font-size: 9px; font-weight: 700; letter-spacing: 0.03em; color: #94A0B8; margin-top: 2px; }
.col-stage-connector { flex: 1; width: 2px; background: #E7ECF4; min-height: 14px; }
.col-stage-row:last-child .col-stage-connector { display: none; }

.col-stage-card {
    flex: 1; margin-bottom: 14px; border: 1px solid #E6EBF3; border-radius: 13px; padding: 15px 17px;
    display: flex; align-items: flex-start; justify-content: space-between; gap: 14px;
}
.col-stage-card:hover { border-color: #C7D5F0; }
.col-stage-icon { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.col-stage-title { font-size: 14.5px; font-weight: 800; color: #1C2540; }
.col-stage-channel { font-size: 11px; font-weight: 700; color: #59647E; background: #F1F4FA; padding: 2px 9px; border-radius: 20px; }
.col-stage-note { font-size: 12.5px; color: #6B7690; margin-top: 5px; line-height: 1.55; }
.col-stage-actions { display: flex; align-items: center; gap: 2px; flex-shrink: 0; }
.col-stage-icon-btn {
    width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center;
    color: #94A0B8; cursor: pointer; border: none; background: transparent;
}
.col-stage-icon-btn:hover { background: #EEF1F6; color: #3B6EF6; }
.col-stage-icon-btn.danger:hover { background: #FCEBEC; color: #E5484D; }
.col-empty-stages { padding: 24px; text-align: center; color: #8892A8; font-size: 13.5px; border: 1.5px dashed #D9E0EC; border-radius: 13px; }

/* Toggle sections (Liens & Legal / Interest / Payment Plans) */
.col-section { border: 1px solid #E6EBF3; border-radius: 13px; overflow: hidden; }
.col-section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; }
.col-section-icon { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.col-section-title { font-size: 14.5px; font-weight: 800; color: #1C2540; }
.col-section-desc { font-size: 12.5px; color: #6B7690; margin-top: 3px; line-height: 1.55; max-width: 440px; }
.col-section-body { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; padding: 0 18px 18px; }

.col-input-suffix-group {
    display: flex; align-items: center; border: 1px solid #D8E0F0; border-radius: 10px; overflow: hidden; background: #fff;
}
.col-input-suffix-group input {
    flex: 1; width: 100%; min-width: 0; height: 44px; padding: 0 12px; border: none; font-size: 14.5px;
    font-weight: 700; color: #1C2540; outline: none; font-family: inherit;
}
.col-input-suffix {
    height: 44px; padding: 0 13px; display: flex; align-items: center; background: #F4F6FB; color: #59647E;
    font-size: 13px; font-weight: 700; white-space: nowrap; flex-shrink: 0;
}
.col-input-suffix.prefix { border-right: 1px solid #E3E8F0; }
.col-input-suffix.suffix { border-left: 1px solid #E3E8F0; }

.col-warning-banner {
    display: flex; align-items: flex-start; gap: 12px; padding: 15px 18px; background: #FFF8EC;
    border: 1px solid #F0E2C4; border-left: 3px solid #E0A82E; border-radius: 10px;
}
.col-warning-banner i { color: #C08A1E; margin-top: 1px; flex-shrink: 0; }
.col-warning-banner-text { font-size: 13px; color: #7A5B1E; line-height: 1.6; }

.col-footer { display: flex; align-items: center; justify-content: flex-end; gap: 10px; border-top: 1px solid #EEF1F6; padding-top: 18px; }

.col-hidden { display: none !important; }

/* Generic centered modal shell, reusable beyond this page */
.vx-modal-overlay {
    position: fixed; inset: 0; z-index: 1080; background: rgba(20,30,70,.45); display: flex;
    align-items: flex-start; justify-content: center; padding: 48px 16px; overflow-y: auto;
}
.vx-modal-panel { width: 100%; max-width: 540px; background: #fff; border-radius: 16px; box-shadow: 0 30px 70px -20px rgba(20,30,70,.5); }
.vx-modal-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 22px 28px 18px; border-bottom: 1px solid #EEF1F6; }
.vx-modal-title { font-size: 19px; font-weight: 800; color: #1E2A63; }
.vx-modal-sub { font-size: 13px; color: #8892A8; margin-top: 2px; }
.vx-modal-close {
    width: 34px; height: 34px; border-radius: 9px; display: flex; align-items: center; justify-content: center;
    color: #8892A8; cursor: pointer; border: none; background: transparent; flex-shrink: 0;
}
.vx-modal-close:hover { background: #F4F6FB; color: #1C2540; }
.vx-modal-body { padding: 22px 28px; display: flex; flex-direction: column; gap: 20px; }
.vx-modal-footer { display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 16px 28px; border-top: 1px solid #EEF1F6; }

.col-chip-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
.col-chip {
    display: flex; align-items: center; justify-content: center; padding: 0 15px; height: 40px; border-radius: 9px;
    font-size: 13px; font-weight: 700; cursor: pointer; border: 1px solid #D8E0F0; background: #fff; color: #59647E;
}
.col-chip.active { border-color: #3B6EF6; background: #F5F8FF; color: #3B6EF6; }
