/* RentConnect Saved Searches - Stylesheet */
.rc-save-search-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; font-size: 14px; font-weight: 600; border-radius: 6px; cursor: pointer; text-decoration: none; }
.rc-save-search-btn.rc-btn-outline { background-color: #fff; color: #0f172a; border: 1px solid #cbd5e1; }
.rc-save-search-btn.rc-btn-outline:hover { background-color: #f1f5f9; color: #0284c7; }
.rc-save-search-btn.rc-guest-link { background-color: #fff; color: #475569; border: 1px dashed #cbd5e1; }
.rc-save-search-btn.rc-guest-link:hover { color: #0284c7; border-color: #0284c7; }
.rc-modal-backdrop { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background-color: rgba(15, 23, 42, 0.55); z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 16px; box-sizing: border-box; }
.rc-modal-dialog { background: var(--rc-surface, #fff); width: 100%; max-width: 480px; border-radius: var(--rc-radius, 10px); overflow: hidden; box-shadow: var(--rc-shadow-xl, 0 20px 40px rgba(15, 23, 42, 0.25)); font-family: var(--rc-font-body, inherit); }

/* Modal internals — previously unstyled, falling back to raw browser
   defaults for headings/labels/inputs/buttons, which is what made the
   dialog look cramped and unorganized. Deliberately does NOT restyle
   .rc-btn / .rc-btn-primary / .rc-btn-secondary here — those already come
   from rentconnect-design-system (Core), and redefining them here would
   risk drifting out of sync with the site's actual button styling. */
.rc-modal-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 24px; border-bottom: 1px solid var(--rc-border, #e2e8f0); }
.rc-modal-title { font-family: var(--rc-font-heading, inherit); font-size: 18px; font-weight: 700; color: var(--rc-secondary, #0f172a); margin: 0; }
.rc-modal-close { flex-shrink: 0; width: 28px; height: 28px; border: none; background: transparent; border-radius: 6px; font-size: 20px; line-height: 1; color: var(--rc-text-muted, #64748b); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.rc-modal-close:hover { background: var(--rc-background, #f1f5f9); color: var(--rc-secondary, #0f172a); }

.rc-modal-body { padding: 20px 24px; }
.rc-modal-desc { font-size: 14px; line-height: 1.5; color: var(--rc-text-muted, #64748b); margin: 0 0 18px; }

.rc-form-group { margin-bottom: 16px; }
.rc-form-label { display: block; font-size: 13px; font-weight: 600; color: var(--rc-secondary, #0f172a); margin-bottom: 6px; }
.rc-form-control { width: 100%; padding: 10px 12px; border: 1px solid var(--rc-border, #cbd5e1); border-radius: var(--rc-radius, 8px); font-size: 14px; font-family: inherit; box-sizing: border-box; }
.rc-form-control:focus { outline: none; border-color: var(--rc-primary, #0284c7); box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12); }
.rc-form-hint { display: block; font-size: 12px; color: var(--rc-text-muted, #94a3b8); margin-top: 6px; line-height: 1.4; }

.rc-criteria-preview { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; }
.rc-criteria-preview:empty { display: none; }

.rc-alert-feedback { margin-top: 14px; padding: 10px 14px; border-radius: var(--rc-radius, 8px); font-size: 13px; background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }

.rc-modal-footer { display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 16px 24px; border-top: 1px solid var(--rc-border, #e2e8f0); background: var(--rc-background, #f8fafc); }

.rc-saved-search-item { border: 1px solid #e2e8f0; border-radius: 8px; padding: 20px; background: #fff; display: flex; justify-content: space-between; align-items: center; }
.rc-criteria-chip { display: inline-flex; gap: 4px; font-size: 12px; background: #f1f5f9; padding: 3px 8px; border-radius: 4px; margin-right: 6px; }