* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
  background: #F4F5F7;
  color: #131826;
}

.login-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0B0E14;
  padding: 1.5rem;
}
.login-screen[hidden] { display: none; }

.login-shell {
  display: flex;
  width: 100%;
  max-width: 920px;
  min-height: 560px;
  background: #fff;
  border-radius: 1.6rem;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
}

.login-brand {
  position: relative;
  flex: 1 1 42%;
  padding: 2.6rem 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  background: linear-gradient(155deg, #14B892 0%, #0E7C8C 45%, #131826 100%);
  overflow: hidden;
}
.login-brand::before,
.login-brand::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
}
.login-brand::before { width: 16rem; height: 16rem; top: -6rem; right: -5rem; }
.login-brand::after { width: 10rem; height: 10rem; bottom: -3rem; left: -3rem; background: rgba(255,255,255,0.08); }

.login-brand-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 1rem;
  background: rgba(255,255,255,0.16);
  font-size: 1.6rem;
}

.login-brand h1 {
  position: relative;
  font-size: 1.7rem;
  line-height: 1.2;
  margin: 1.2rem 0 0.3rem 0;
}
.login-brand-sub {
  position: relative;
  margin: 0;
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
}

.login-brand-list {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.login-brand-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.92);
}
.login-brand-list .ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 0.5rem;
  background: rgba(255,255,255,0.14);
  font-size: 0.95rem;
  flex: none;
}

.login-panel {
  flex: 1 1 58%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.6rem 2.4rem;
  background: #fff;
}

.login-card {
  width: 100%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.login-card-head h2 { margin: 0 0 0.2rem 0; font-size: 1.4rem; }
.login-card-head p { margin: 0 0 0.4rem 0; font-size: 0.88rem; color: #6B7280; }

.login-field { display: flex; flex-direction: column; gap: 0.35rem; }
.login-field-label { font-size: 0.78rem; font-weight: 600; color: #4B5563; text-transform: uppercase; letter-spacing: 0.03em; }
.login-field input,
.login-field select {
  padding: 0.75rem 0.9rem;
  border: 1.5px solid #E2E5EA;
  border-radius: 0.7rem;
  font-size: 0.98rem;
  background: #F8F9FB;
  font-family: inherit;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.login-field input:focus,
.login-field select:focus {
  outline: none;
  border-color: #14B892;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(20,184,146,0.15);
}

.login-submit {
  border: none;
  border-radius: 0.7rem;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, #14B892, #0E7C8C);
  box-shadow: 0 10px 24px rgba(20,184,146,0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.login-submit:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(20,184,146,0.4); }
.login-submit:active { transform: translateY(0); }

.login-back {
  align-self: center;
  font-size: 0.82rem;
  color: #9CA3AF;
  text-decoration: none;
  margin-top: -0.2rem;
}
.login-back:hover { color: #6B7280; text-decoration: underline; }

@media (max-width: 760px) {
  .login-shell { flex-direction: column; max-width: 420px; min-height: 0; }
  .login-brand { padding: 2rem 1.8rem; }
  .login-brand-list { display: none; }
  .login-panel { padding: 2rem 1.8rem; }
}

.error-text { color: #C0263B; font-size: 0.9rem; margin: 0; }

.btn {
  border: none;
  border-radius: 0.5rem;
  padding: 0.65rem 1.1rem;
  font-size: 0.95rem;
  cursor: pointer;
}

.btn-primary { background: #131826; color: #fff; }
.btn-primary:hover { background: #232B3D; }
.btn-ghost { background: transparent; color: #6B7280; border: 1px solid #D7DAE1; }
.btn-ghost:hover { background: #EEF0F3; }
.btn-danger { background: #FBE7EA; color: #C0263B; }
.btn-danger:hover { background: #F6CED4; }

.impersonation-banner {
  background: #7C2D12;
  color: #FED7AA;
  padding: 0.55rem 1.6rem;
  font-size: 0.85rem;
  text-align: center;
}
.impersonation-banner[hidden] { display: none; }

.must-change-password-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: #7A1626;
  color: #FBE7EA;
  padding: 0.55rem 1.6rem;
  font-size: 0.85rem;
  text-align: center;
}
.must-change-password-banner[hidden] { display: none; }
.must-change-password-banner .btn { flex-shrink: 0; }

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 1.1rem 1.6rem;
  background: #131826;
  color: #fff;
}
.topbar h1 { font-size: 1.15rem; margin: 0; }
.topbar-right { display: flex; align-items: center; flex-wrap: wrap; gap: 0.6rem; }

.status-pill {
  font-size: 0.8rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: #2A3244;
  color: #AEB6C4;
}
.status-pill.ok { background: #123B2E; color: #4ADE80; }
.status-pill.error { background: #3B1220; color: #F87171; }

.tabs {
  display: flex;
  gap: 0.4rem;
  padding: 0.8rem 1.6rem 0 1.6rem;
  background: #fff;
  border-bottom: 1px solid #E2E5EA;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.tab-btn {
  border: none;
  background: transparent;
  padding: 0.7rem 1rem;
  font-size: 0.95rem;
  color: #6B7280;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  flex: none;
}
.tab-btn.active { color: #131826; border-bottom-color: #22D3AA; font-weight: 600; }

main { padding: 1.6rem; max-width: 1600px; margin: 0 auto; }

.app-footer {
  max-width: 1600px;
  margin: 0 auto;
  padding: 1rem 1.6rem 2rem 1.6rem;
  border-top: 1px solid #E2E5EA;
}

@media (max-width: 700px) {
  .topbar { padding: 1rem 1.1rem; }
  .topbar-right { width: 100%; }
  .tabs { padding: 0.6rem 1.1rem 0 1.1rem; }
  main { padding: 1.1rem; }
  .app-footer { padding: 1rem 1.1rem 2rem 1.1rem; }
}
.site-info-line {
  font-size: 0.8rem;
  color: #9CA3AF;
  margin: 0 0 0.6rem 0;
}
.changelog-details summary {
  cursor: pointer;
  font-size: 0.85rem;
  color: #6B7280;
  font-weight: 600;
  padding: 0.3rem 0;
}
.changelog-list { display: flex; flex-direction: column; gap: 0.9rem; margin-top: 0.6rem; }
.changelog-entry {
  background: #fff;
  border: 1px solid #E2E5EA;
  border-radius: 0.7rem;
  padding: 0.8rem 1rem;
}
.changelog-entry-title { font-weight: 700; font-size: 0.95rem; margin: 0 0 0.2rem 0; }
.changelog-entry-date { font-size: 0.75rem; color: #9CA3AF; margin: 0 0 0.4rem 0; }
.changelog-entry-body { font-size: 0.88rem; color: #374151; white-space: pre-wrap; }

.date-panel {
  background: #fff;
  border: 1px solid #E2E5EA;
  border-radius: 0.9rem;
  padding: 1rem 1.2rem;
  margin-bottom: 1.2rem;
}
.date-panel-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.radio-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: #374151;
}
.date-panel input[type=date] {
  padding: 0.4rem 0.5rem;
  border: 1px solid #D7DAE1;
  border-radius: 0.4rem;
  font-size: 0.9rem;
}
.date-panel input[type=date]:disabled {
  background: #F4F5F7;
  color: #9CA3AF;
}
.date-resolved-info {
  margin: 0.6rem 0 0 0;
  font-size: 0.85rem;
  color: #6B7280;
}

/* Csak-olvasó (viewer) fiók — a szerver úgyis elutasítja a módosításokat, ez csak jelzi/
   megelőzi, hogy valaki felesleges 403-hibába fusson bele. A "Jelszó módosítása" és a
   kijelentkezés/superadmin-gombok szándékosan KIVÉTELEK (nem tartalom-szerkesztés). */
body.is-viewer .btn-primary,
body.is-viewer .btn-danger,
body.is-viewer input[type="file"] {
  opacity: 0.5;
  pointer-events: none;
}
body.is-viewer #my-password-btn,
body.is-viewer #logout-btn,
body.is-viewer #back-to-superadmin-btn {
  opacity: 1;
  pointer-events: auto;
}

.widget-admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  gap: 1rem;
}
.widget-admin-grid .card { max-width: none; }
.widget-admin-grid .mini-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.35rem 0;
  border-bottom: 1px solid #F1F3F5;
  font-size: 0.9rem;
}
.widget-admin-grid .mini-row .btn-danger { padding: 0.15rem 0.5rem; font-size: 0.75rem; }

.screen-screenshot-preview {
  display: block;
  width: 100%;
  max-width: 24rem;
  margin-top: 0.6rem;
  border-radius: 0.5rem;
  border: 1px solid #D7DAE1;
}
.screen-screenshot-preview[hidden] { display: none; }

.widget-settings {
  margin: 0.8rem 0;
  border: 1px solid #E5E7EB;
  border-radius: 0.5rem;
  padding: 0.6rem 0.9rem;
}
.widget-settings summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  color: #374151;
}
.widget-settings .checkbox-row,
.widget-settings .field-row { margin-top: 0.6rem; }

.ticker-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  background: #F8F9FB;
  border-radius: 0.6rem;
  padding: 0.6rem 0.7rem;
  margin-top: 0.2rem;
}
.ticker-toggle { font-size: 0.88rem; color: #374151; display: flex; align-items: center; gap: 0.4rem; white-space: nowrap; }
.ticker-row textarea.f-ticker_text {
  flex: 1;
  min-width: 10rem;
  padding: 0.4rem 0.5rem;
  border: 1px solid #D7DAE1;
  border-radius: 0.4rem;
  font-size: 0.85rem;
  font-family: inherit;
  resize: vertical;
}
.ticker-speed { font-size: 0.8rem; color: #6B7280; display: flex; align-items: center; gap: 0.3rem; white-space: nowrap; }
.ticker-speed input { width: 4rem; padding: 0.35rem; border: 1px solid #D7DAE1; border-radius: 0.4rem; }

.media-checklist {
  border-top: 1px solid #E2E5EA;
  margin-top: 0.4rem;
  padding-top: 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  max-height: 160px;
  overflow-y: auto;
}
.media-checklist-title {
  font-size: 0.8rem;
  color: #6B7280;
  margin-bottom: 0.2rem;
}
.media-checklist label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: #374151;
}
.media-checklist .no-media {
  font-size: 0.85rem;
  color: #9CA3AF;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.panel-header h2 { font-size: 1.1rem; margin: 0; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1rem;
}

.card {
  background: #fff;
  border: 1px solid #E2E5EA;
  border-radius: 0.9rem;
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card-title-row input[type=text] {
  font-size: 1.05rem;
  font-weight: 600;
  border: none;
  border-bottom: 1px dashed transparent;
  flex: 1;
}
.card-title-row input[type=text]:focus { border-bottom-color: #D7DAE1; outline: none; }

.field-row { display: flex; gap: 0.6rem; align-items: center; flex-wrap: wrap; }
.field-row label { font-size: 0.8rem; color: #6B7280; display: flex; flex-direction: column; gap: 0.25rem; }
.field-row input, .field-row select {
  padding: 0.4rem 0.5rem;
  border: 1px solid #D7DAE1;
  border-radius: 0.4rem;
  font-size: 0.9rem;
  width: 5.5rem;
}
.field-row select { width: auto; }

.checkbox-row { display: flex; gap: 1rem; flex-wrap: wrap; }
.checkbox-row label { display: flex; align-items: center; gap: 0.4rem; font-size: 0.9rem; color: #374151; }

.card-actions { display: flex; gap: 0.5rem; margin-top: 0.3rem; }

.upload-form {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  align-items: center;
  background: #fff;
  border: 1px solid #E2E5EA;
  border-radius: 0.9rem;
  padding: 1rem;
  margin-bottom: 1rem;
}
.upload-form input[type=text], .upload-form input[type=number] {
  padding: 0.5rem 0.6rem;
  border: 1px solid #D7DAE1;
  border-radius: 0.4rem;
}
.upload-form input[type=number] { width: 8rem; }

.upload-progress {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: #fff;
  border: 1px solid #E2E5EA;
  border-radius: 0.9rem;
  padding: 0.8rem 1rem;
  margin-bottom: 1rem;
}
.upload-progress-bar {
  flex: 1;
  height: 0.6rem;
  background: #EEF0F3;
  border-radius: 999px;
  overflow: hidden;
}
.upload-progress-fill {
  height: 100%;
  width: 0%;
  background: #22D3AA;
  border-radius: 999px;
  transition: width 0.2s ease;
}
.upload-progress span {
  font-size: 0.85rem;
  color: #374151;
  white-space: nowrap;
}

.media-thumb {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 0.5rem;
  background: #000;
}

.link-btn {
  font-size: 0.85rem;
  color: #2563EB;
  text-decoration: none;
}

/* ---------- Adatbázis (katalógus) ---------- */
.catalog-intro {
  font-size: 0.9rem;
  color: #6B7280;
  max-width: 70ch;
  margin: 0 0 1rem 0;
}

.catalog-tabs {
  padding: 0;
  border-bottom: 1px solid #E2E5EA;
  margin-bottom: 1rem;
}

.catalog-tab-btn {
  border: none;
  background: transparent;
  padding: 0.6rem 0.9rem;
  font-size: 0.9rem;
  color: #6B7280;
  cursor: pointer;
  border-bottom: 3px solid transparent;
}
.catalog-tab-btn.active { color: #131826; border-bottom-color: #22D3AA; font-weight: 600; }

.catalog-table-wrap {
  background: #fff;
  border: 1px solid #E2E5EA;
  border-radius: 0.9rem;
  overflow-x: auto;
}

.catalog-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 900px;
}

.catalog-table th {
  text-align: left;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #6B7280;
  padding: 0.6rem 0.7rem;
  border-bottom: 1px solid #E2E5EA;
  background: #F8F9FB;
}

.catalog-table td {
  padding: 0.5rem 0.7rem;
  border-bottom: 1px solid #EEF0F3;
  vertical-align: middle;
}

.catalog-table .original-value {
  font-weight: 600;
  color: #374151;
  white-space: nowrap;
}

.catalog-table input[type=text] {
  width: 11rem;
  padding: 0.35rem 0.5rem;
  border: 1px solid #D7DAE1;
  border-radius: 0.4rem;
  font-size: 0.88rem;
}

.catalog-table input[type=color] {
  width: 2.4rem;
  height: 2rem;
  padding: 0;
  border: 1px solid #D7DAE1;
  border-radius: 0.4rem;
  cursor: pointer;
}

.catalog-table input[type=number] {
  width: 4rem;
  padding: 0.35rem 0.4rem;
  border: 1px solid #D7DAE1;
  border-radius: 0.4rem;
  font-size: 0.88rem;
}

.catalog-format-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.5rem;
  max-width: 9rem;
}
.catalog-format-flags label {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.78rem;
  color: #6B7280;
  white-space: nowrap;
}

.catalog-preview {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 0.4rem;
  font-size: 0.95rem;
  background: #F4F5F7;
  min-width: 4rem;
}

.catalog-clear-btn {
  font-size: 0.78rem;
  color: #9CA3AF;
  background: transparent;
  border: none;
  cursor: pointer;
  text-decoration: underline;
}

/* ---------- Szövegek (drag-and-drop szerkesztő) ---------- */
.text-editor-toolbar {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.text-editor-toolbar select {
  padding: 0.4rem 0.6rem;
  border: 1px solid #D7DAE1;
  border-radius: 0.4rem;
  font-size: 0.9rem;
}

.text-page-settings {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 0.7rem 0.9rem;
  background: #F8F9FB;
  border: 1px solid #E2E5EA;
  border-radius: 0.6rem;
  flex-wrap: wrap;
}
.text-page-settings label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: #374151;
}
.text-page-settings input[type="text"],
.text-page-settings input[type="number"] {
  padding: 0.35rem 0.5rem;
  border: 1px solid #D7DAE1;
  border-radius: 0.4rem;
  font-size: 0.85rem;
}
.text-page-settings input[type="text"] { width: 12rem; }
.text-page-settings input[type="number"] { width: 5rem; }

.text-editor-layout {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.text-canvas-editor {
  position: relative;
  width: 100%;
  max-width: 960px;
  aspect-ratio: 16 / 9;
  background: #ffffff;
  border: 2px solid #D7DAE1;
  border-radius: 0.6rem;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.text-editor-box {
  position: absolute;
  cursor: move;
  border: 1px dashed transparent;
  user-select: none;
  touch-action: none;
}
.text-editor-box:hover {
  border-color: #9CA3AF;
}
.text-editor-box.selected {
  border: 1px dashed #2563EB;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
}
.text-editor-box.inactive-box {
  opacity: 0.4;
}

.text-editor-box-content {
  width: 100%;
  height: 100%;
  padding: 0.2em 0.35em;
  overflow: hidden;
  overflow-wrap: break-word;
  line-height: 1.25;
  pointer-events: none;
}

/* PowerPoint-szerű 8 pontos átméretező fogantyú — csak a kijelölt dobozon látszik, egérrel és
   érintéssel is használható (Pointer Events, touch-action:none, hogy a húzás közben a mobil
   böngésző ne kezdjen görgetni/nagyítani). */
.resize-handle {
  position: absolute;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  background: #fff;
  border: 2px solid #2563EB;
  border-radius: 4px;
  touch-action: none;
  z-index: 2;
  display: none;
}
.text-editor-box.selected .resize-handle { display: block; }

.handle-nw { top: 0%; left: 0%; cursor: nwse-resize; }
.handle-n  { top: 0%; left: 50%; cursor: ns-resize; }
.handle-ne { top: 0%; left: 100%; cursor: nesw-resize; }
.handle-w  { top: 50%; left: 0%; cursor: ew-resize; }
.handle-e  { top: 50%; left: 100%; cursor: ew-resize; }
.handle-sw { top: 100%; left: 0%; cursor: nesw-resize; }
.handle-s  { top: 100%; left: 50%; cursor: ns-resize; }
.handle-se { top: 100%; left: 100%; cursor: nwse-resize; }

.tf-hint {
  font-size: 0.78rem;
  color: #9CA3AF;
  margin: 0;
  line-height: 1.4;
}

.text-format-panel {
  width: 18rem;
  flex: none;
  background: #fff;
  border: 1px solid #E2E5EA;
  border-radius: 0.9rem;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.text-format-panel h3 {
  margin: 0 0 0.2rem 0;
  font-size: 0.95rem;
}
.text-format-panel textarea {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #D7DAE1;
  border-radius: 0.4rem;
  font-family: inherit;
  font-size: 0.88rem;
  resize: vertical;
}
.tf-row {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  align-items: center;
}
.tf-row label {
  font-size: 0.8rem;
  color: #6B7280;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.tf-row input[type=number] {
  width: 4.5rem;
  padding: 0.35rem;
  border: 1px solid #D7DAE1;
  border-radius: 0.4rem;
}
.tf-row select {
  padding: 0.35rem;
  border: 1px solid #D7DAE1;
  border-radius: 0.4rem;
}
.tf-row.checkbox-row label { font-size: 0.78rem; }
.tf-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.3rem;
}

/* ---------- Felhasználók / modalok ---------- */
.current-user-label {
  font-size: 0.8rem;
  color: #AEB6C4;
  white-space: nowrap;
}

.users-table { min-width: 480px; }

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 14, 20, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 200;
}
.modal-overlay[hidden] { display: none; }

.modal-card {
  background: #fff;
  border-radius: 1rem;
  padding: 1.6rem;
  width: 100%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}
.modal-card h3 { margin: 0; font-size: 1.15rem; }
.modal-card input, .modal-card select {
  padding: 0.65rem 0.75rem;
  border: 1px solid #D7DAE1;
  border-radius: 0.5rem;
  font-size: 0.95rem;
}
.modal-actions { display: flex; gap: 0.5rem; margin-top: 0.2rem; }
.modal-actions .btn { flex: 1; }
