/* Backdrop + container */
.fs-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 1040; }
.fs-modal    { position: fixed; inset: 0; display: grid; place-items: center; z-index: 1050; }

/* Panel */
.fs-modal__panel {
    width: min(700px, 92vw);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 18px 42px rgba(0,0,0,.25);
    overflow: hidden;
    font-family: inherit;
    color: #202738;
}

/* Header: stacked title + subtitle like OR */
.fs-modal__header { padding: 18px 24px 8px; }
.fs-modal__title { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: .2px; }
.fs-modal__subtitle { margin: 6px 0 0; font-size: 14px; color: #6a7280; }

/* Body */
.fs-modal__body { padding: 10px 24px 4px; max-height: 55vh; overflow: auto; }

/* Rows */
.fs-collection-row {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 0; border-bottom: 1px solid #f1f3f5;
}
.fs-collection-row:last-child { border-bottom: 0; }

/* New collection */
.fs-collection-new { padding: 10px 0 6px; }
.fs-collection-new__form { gap: 10px; align-items: center; margin-top: 8px; }

/* Buttons + inputs styled like OR */
.fs-link {
    background: none; border: 0; color: #ff4b47; font-weight: 700;
    padding: 6px 0; cursor: pointer;
}
.fs-input {
    flex: 1; padding: 10px 12px; border: 1px solid #d8dbe2; border-radius: 8px; outline: none;
}
.fs-input:focus { border-color: #ff4b47; box-shadow: 0 0 0 3px rgba(255,75,71,.15); }

.fs-btn { border-radius: 10px; padding: 10px 16px; border: 1px solid transparent; cursor: pointer; }
.fs-btn--primary { background: #ff4b47; color: #fff; border-color: #ff4b47; }
.fs-btn--ghost   { background: #fff; color: #444; border-color: #e5e7eb; }

.fs-btn[disabled] { opacity: .55; cursor: not-allowed; }

/* Footer */
.fs-modal__footer { display: flex; gap: 10px; justify-content: flex-end; padding: 14px 24px 18px; }


/* app/assets/stylesheets/collections_modal.scss */
.fs-modal.fs-modal--collections .fs-modal__header { padding: 18px 24px 8px; display: block; }
.fs-modal.fs-modal--collections .fs-modal__title { margin: 0; font-size: 22px; font-weight: 800; }
.fs-modal.fs-modal--collections .fs-modal__subtitle { margin: 6px 0 0; font-size: 14px; color: #6a7280; }
