/* Custom fields — companion styles for custom-fields.js.
 * Entry point (2026-11-15): the floating launcher is gone — the module
 * is reached from a card mounted under the club settings form in Club
 * Settings (see custom-fields.js); the panel keeps its overlay style. */

.cf-settings-entry {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  background: #fff; color: #1c1c1e; border: 1px solid rgba(128,140,152,.35);
  border-radius: 14px; padding: 16px 20px; margin: 16px 0;
  font: 14px/1.45 system-ui, sans-serif;
}
.cf-settings-entry h3 { margin: 0 0 4px; font-size: 17px; }
.cf-settings-entry p { margin: 0; opacity: .8; }
.cf-settings-text { flex: 1 1 320px; }
.cf-panel {
  position: fixed; inset: 4vh 4vw; z-index: 9500; overflow: auto;
  background: #fff; color: #1c1c1e; border-radius: 14px;
  box-shadow: 0 18px 60px rgba(0,0,0,.45); padding: 18px 22px 26px;
  font: 14px/1.45 system-ui, sans-serif;
}
.cf-head { display: flex; align-items: center; gap: 14px; }
.cf-head h2 { margin: 0; font-size: 22px; }
.cf-tabs { display: flex; gap: 8px; margin-left: 8px; }
.cf-tabs button {
  border: 1px solid rgba(128,140,152,.5); background: transparent; border-radius: 999px;
  padding: 6px 14px; cursor: pointer; font: 600 13px system-ui, sans-serif; color: inherit;
}
.cf-tabs button.cf-tab-on { background: #274156; color: #fff; border-color: #274156; }
.cf-close {
  margin-left: auto; border: 0; background: transparent; font-size: 24px;
  line-height: 1; cursor: pointer; color: inherit;
}
.cf-note { min-height: 1.2em; margin: 8px 0; opacity: .85; }
.cf-body h3 { margin: 18px 0 8px; font-size: 16px; }
.cf-filters { display: flex; flex-wrap: wrap; gap: 10px 16px; margin-bottom: 12px; }
.cf-filters label, .cf-form label { display: flex; flex-direction: column; gap: 4px; font-weight: 600; }
.cf-form { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px 16px; margin-bottom: 14px; }
.cf-field em { font-style: normal; font-weight: 400; opacity: .7; font-size: .85em; }
.cf-form input, .cf-form select, .cf-form textarea,
.cf-filters select {
  font: 14px system-ui, sans-serif; padding: 7px 9px;
  border: 1px solid rgba(128,140,152,.55); border-radius: 8px; background: #fff; color: #1c1c1e;
}
.cf-act {
  border: 1px solid rgba(128,140,152,.55); background: transparent; color: inherit;
  border-radius: 8px; padding: 7px 12px; cursor: pointer; font: 600 13px system-ui, sans-serif;
}
.cf-primary { background: #274156; color: #fff; border-color: #274156; }
.cf-defrow {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 7px 0; border-bottom: 1px solid rgba(128,140,152,.25);
}
.cf-defname { font-weight: 700; }
.cf-deftype { opacity: .8; }
.cf-active { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; margin-left: auto; }
.cf-empty { opacity: .75; }
