@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/cairo-arabic-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/cairo-arabic-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/assets/fonts/cairo-arabic-800-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/cairo-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+2000-206F;
}
@font-face {
  font-family: 'Amiri';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/amiri-arabic-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/assets/fonts/cairo-latin-800-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+2000-206F;
}
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/cairo-latin-700-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+2000-206F;
}
@font-face {
  font-family: 'Amiri';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/amiri-latin-700-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+2000-206F;
}
@font-face {
  font-family: 'Aref Ruqaa';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/aref-ruqaa-arabic-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Reem Kufi';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/reem-kufi-arabic-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Scheherazade New';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/scheherazade-new-arabic-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Tajawal';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/tajawal-arabic-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Tajawal';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/assets/fonts/tajawal-arabic-800-normal.woff2') format('woff2');
}

:root {
  --green-900: #021b11;
  --green-800: #04291a;
  --green-700: #046a38;
  --green-600: #0b8a4b;
  --gold: #f3c64a;
  --gold-soft: #ffe9a3;
  --gold-deep: #c8931f;
  --paper: #ffffff;
  --bg: #f2f5f1;
  --ink: #10281d;
  --muted: #647a6c;
  --line: rgba(4, 106, 56, 0.16);
  --danger: #b3261e;
  --radius: 16px;
  --font: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  font-size: 15px;
}
h1, h2, h3 { margin: 0 0 0.5rem; line-height: 1.35; }
p { margin: 0 0 0.6rem; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold-deep); outline-offset: 2px; border-radius: 6px; }

/* ---------- دخول ---------- */
.login-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background:
    radial-gradient(700px 400px at 75% 0%, rgba(243, 198, 74, 0.18), transparent 60%),
    linear-gradient(165deg, #021b11, #04291a 55%, #063a24);
}
.login-wrap[hidden] { display: none; }
.login-card {
  width: min(420px, 100%);
  background: var(--paper);
  border-radius: 24px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
}
.login-crest { display: inline-flex; margin-bottom: 0.6rem; }
.login-card h1 { font-size: 1.4rem; color: var(--green-700); }
.login-card > p { color: var(--muted); font-size: 0.88rem; }
.back-link { display: inline-block; margin-top: 0.6rem; font-size: 0.82rem; color: var(--muted); }
.pass-wrap { position: relative; display: block; }
.field .pass-wrap input { padding: 0.65rem 0.85rem; padding-right: 4.6rem; text-align: left; }
.pass-toggle {
  position: absolute;
  right: 0.4rem;
  left: auto;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  color: var(--green-700);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
  cursor: pointer;
}
.pass-toggle:hover { background: rgba(4, 106, 56, 0.09); }
.login-hint { font-size: 0.76rem; color: var(--muted); text-align: start; line-height: 1.8; margin: 0 0 0.9rem; }
.caps-hint {
  font-size: 0.78rem;
  color: #7a5200;
  background: #fff7e2;
  border: 1px solid rgba(200, 147, 31, 0.35);
  border-radius: 10px;
  padding: 0.45rem 0.7rem;
  margin: 0 0 0.8rem;
  text-align: start;
}
.caps-hint[hidden] { display: none; }

/* ---------- أزرار ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font: inherit;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; }
.btn-gold { background: linear-gradient(135deg, var(--gold-soft), var(--gold) 50%, var(--gold-deep)); color: #04291a; box-shadow: 0 10px 22px rgba(243, 198, 74, 0.25); }
.btn-ghost { background: rgba(255, 255, 255, 0.1); border-color: rgba(243, 198, 74, 0.4); color: var(--gold-soft); }
.btn-outline { background: transparent; border-color: rgba(4, 106, 56, 0.35); color: var(--green-700); }
.btn-outline:hover { background: rgba(4, 106, 56, 0.07); }
.btn-sm { padding: 0.45rem 0.9rem; font-size: 0.8rem; }
.btn.full { width: 100%; margin-top: 0.4rem; }
.btn-danger { background: #fdeceb; border-color: rgba(179, 38, 30, 0.3); color: var(--danger); }
.btn-danger:hover { background: #f9dcda; }

/* ---------- الشريط العلوي ---------- */
.admin[hidden] { display: none; }
.admin-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.85rem clamp(1rem, 3vw, 2rem);
  background: linear-gradient(120deg, #021b11, #04291a 60%, #063a24);
  color: #fff;
  border-bottom: 1px solid rgba(243, 198, 74, 0.25);
  position: sticky;
  top: 0;
  z-index: 30;
}
.admin-brand { display: flex; align-items: center; gap: 0.7rem; }
.admin-brand strong { display: block; font-size: 1rem; }
.admin-brand small { display: block; font-size: 0.72rem; color: rgba(255, 233, 163, 0.7); }
.admin-bar-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }

.admin-tabs {
  display: flex;
  gap: 0.3rem;
  overflow-x: auto;
  padding: 0.7rem clamp(0.8rem, 3vw, 2rem);
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 58px;
  z-index: 20;
  scrollbar-width: thin;
}
.admin-tabs button {
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--muted);
  background: transparent;
  border: 1px solid transparent;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s ease;
}
.admin-tabs button:hover { background: rgba(4, 106, 56, 0.07); color: var(--green-700); }
.admin-tabs button.active { background: var(--green-700); color: #fff; box-shadow: 0 8px 18px rgba(4, 106, 56, 0.22); }
.badge {
  display: inline-block;
  min-width: 20px;
  padding: 0 6px;
  margin-inline-start: 4px;
  border-radius: 999px;
  background: rgba(4, 106, 56, 0.12);
  color: var(--green-700);
  font-size: 0.7rem;
  line-height: 1.6;
}
.admin-tabs button.active .badge { background: rgba(255, 255, 255, 0.22); color: #fff; }
.badge.warn { background: rgba(200, 147, 31, 0.18); color: #7a5710; }

.admin-main { max-width: 1240px; margin-inline: auto; padding: clamp(1rem, 3vw, 2rem); }
.panel[hidden] { display: none; }
.panel-head { margin-bottom: 1.2rem; }
.panel-head.row { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.panel-head h2 { font-size: 1.35rem; color: var(--green-700); }
.panel-head p { color: var(--muted); font-size: 0.88rem; margin: 0; }
.panel-tools { display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; }
.panel-tools input[type="search"], .panel-tools select {
  font: inherit;
  font-size: 0.85rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  min-width: 160px;
}

/* ---------- بطاقات الأرقام ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.8rem; margin-bottom: 0.8rem; }
.tiles.small { margin-bottom: 1.4rem; }
.tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  box-shadow: 0 8px 20px rgba(2, 27, 17, 0.05);
  position: relative;
  overflow: hidden;
}
.tile::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold));
}
.tile span { display: block; font-size: 0.78rem; color: var(--muted); }
.tile strong { font-size: 1.9rem; color: var(--green-700); line-height: 1.2; }
.tiles.small .tile strong { font-size: 1.4rem; color: var(--ink); }

.pending-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; }
.pending-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem;
}
.pending-card h3 { font-size: 1rem; color: var(--green-700); }
.pending-card p { font-size: 0.84rem; color: var(--muted); }
.pending-card strong { color: var(--gold-deep); font-size: 1.2rem; }

/* ---------- الجداول ---------- */
.table-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow-x: auto;
  box-shadow: 0 10px 26px rgba(2, 27, 17, 0.05);
}
table { width: 100%; border-collapse: collapse; font-size: 0.84rem; min-width: 640px; }
thead th {
  text-align: start;
  padding: 0.75rem 0.9rem;
  background: rgba(4, 106, 56, 0.05);
  color: var(--green-700);
  font-size: 0.78rem;
  font-weight: 700;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
tbody td { padding: 0.7rem 0.9rem; border-bottom: 1px solid rgba(4, 106, 56, 0.07); vertical-align: middle; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: rgba(243, 198, 74, 0.06); }
.cell-actions { display: flex; gap: 0.3rem; flex-wrap: wrap; }
.chip-status {
  display: inline-block;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}
.chip-status.pending { background: rgba(200, 147, 31, 0.16); color: #7a5710; }
.chip-status.approved { background: rgba(11, 138, 75, 0.14); color: var(--green-700); }
.chip-status.rejected { background: rgba(179, 38, 30, 0.12); color: var(--danger); }
.thumb { width: 42px; height: 52px; object-fit: cover; border-radius: 8px; background: var(--green-800); }
.muted { color: var(--muted); font-size: 0.8rem; }
.mono { font-family: ui-monospace, monospace; font-size: 0.78rem; letter-spacing: 0.5px; }
.table-empty { text-align: center; color: var(--muted); padding: 1.6rem; }

/* ---------- الآراء ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 0.8rem; }
.review-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.review-card header { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.review-card strong { font-size: 0.9rem; }
.review-card p { font-size: 0.86rem; color: #2a4436; margin: 0; }
.review-card footer { display: flex; gap: 0.35rem; flex-wrap: wrap; align-items: center; margin-top: auto; }

/* ---------- النماذج ---------- */
.field { display: grid; gap: 0.35rem; margin-bottom: 0.9rem; text-align: start; }
.field > span { font-size: 0.8rem; font-weight: 700; }
.field input, .field textarea, .field select, .editor-field input, .editor-field textarea, .editor-field select {
  font: inherit;
  font-size: 0.9rem;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  border: 1.5px solid rgba(4, 106, 56, 0.18);
  background: #fcfdfb;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field textarea:focus, .field select:focus,
.editor-field input:focus, .editor-field textarea:focus, .editor-field select:focus {
  outline: none;
  border-color: var(--green-600);
  box-shadow: 0 0 0 4px rgba(11, 138, 75, 0.12);
}
.form-msg { min-height: 1.3rem; font-size: 0.82rem; color: var(--muted); margin: 0.5rem 0 0; }
.form-msg.error { color: var(--danger); }
.form-msg.ok { color: var(--green-700); font-weight: 700; }
.settings-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; }
.settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }
.settings-grid .field.full { grid-column: 1 / -1; }
.settings-group {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem 1rem 0.4rem;
  margin: 0 0 1.1rem;
  background: #fcfdfb;
}
.settings-group legend {
  padding: 0 0.5rem;
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--green-700);
}
.group-note { margin: 0 0 0.6rem; font-size: 0.78rem; color: var(--muted); }
.field.check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  border: 1.5px solid rgba(4, 106, 56, 0.18);
  border-radius: 12px;
  padding: 0.55rem 0.8rem;
  margin-bottom: 0.8rem;
  cursor: pointer;
}
.field.check input { width: 18px; height: 18px; accent-color: var(--green-700); }
.field.check span { font-size: 0.84rem; font-weight: 700; }
.settings-guide {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.9rem;
  align-items: center;
  background: #eef7f1;
  border: 1px solid rgba(4, 106, 56, 0.18);
  border-radius: 12px;
  padding: 0.7rem 0.9rem;
  margin-bottom: 1rem;
  font-size: 0.82rem;
  color: var(--green-700);
}
.settings-guide strong { color: var(--green-800); }
.pending-card.highlight { background: #fffaf0; border-color: rgba(200, 147, 31, 0.35); }
.password-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; max-width: 520px; }
.sep { border: none; border-top: 1px solid var(--line); margin: 2rem 0; }

.alert {
  background: #fff7e2;
  border: 1px solid rgba(200, 147, 31, 0.4);
  color: #6d4d0c;
  border-radius: 12px;
  padding: 0.7rem 1rem;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}
.alert[hidden] { display: none; }

/* ---------- نافذة المحرر ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 1rem; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(2, 27, 17, 0.6); backdrop-filter: blur(3px); }
.modal-card {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 1.5rem;
  width: min(520px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}
.modal-card h3 { color: var(--green-700); font-size: 1.15rem; }
.modal-actions { display: flex; gap: 0.5rem; margin-top: 0.8rem; flex-wrap: wrap; }
.editor-field { display: grid; gap: 0.3rem; margin-bottom: 0.8rem; }
.editor-field > span { font-size: 0.8rem; font-weight: 700; }

.toast {
  position: fixed;
  inset-inline: 0;
  bottom: 1.2rem;
  margin-inline: auto;
  width: max-content;
  max-width: 92vw;
  background: var(--green-800);
  color: #fff;
  border: 1px solid rgba(243, 198, 74, 0.4);
  border-radius: 999px;
  padding: 0.65rem 1.2rem;
  font-size: 0.84rem;
  z-index: 200;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.3);
}
.toast[hidden] { display: none; }
.toast.error { background: #6b1111; }

@media (max-width: 900px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pending-grid { grid-template-columns: 1fr; }
  .settings-grid { grid-template-columns: 1fr; }
  .admin-tabs { top: 0; position: static; }
}
@media (max-width: 560px) {
  .admin-bar { padding-inline: 0.8rem; }
  .admin-bar-actions .btn { font-size: 0.75rem; padding: 0.4rem 0.75rem; }
  .admin-main { padding-inline: 0.8rem; }
  .tile strong { font-size: 1.5rem; }
}

/* ---------- حقول الصور (شعار المنصة وصور المعرض) ---------- */
.image-field { display: flex; flex-direction: column; gap: 0.5rem; }
.image-field > span { font-size: 0.82rem; color: rgba(255, 255, 255, 0.75); }
.image-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 84px;
  padding: 0.5rem;
  border: 1px dashed rgba(243, 198, 74, 0.35);
  border-radius: 14px;
  background: rgba(4, 41, 26, 0.35);
}
.image-preview img { max-width: 100%; max-height: 130px; border-radius: 10px; object-fit: contain; }
.image-preview em { font-size: 0.78rem; color: rgba(255, 255, 255, 0.55); font-style: normal; }
.image-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.image-actions input[type="text"] { flex: 1 1 220px; }
.upload-btn { cursor: pointer; display: inline-flex; align-items: center; }
.editor-field.image-field { display: flex; flex-direction: column; gap: 0.5rem; }

/* ---------- تعديل محطات الاحتفال داخل الجدول ---------- */
.program-add {
  display: grid;
  grid-template-columns: 130px 1.1fr 1.5fr auto;
  gap: 0.5rem;
  align-items: center;
  margin: 0 0 1rem;
  padding: 0.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
}
.program-add input {
  width: 100%;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.86rem;
  color: var(--ink);
  background: #fff;
}
.program-add input:focus { outline: 2px solid rgba(243, 198, 74, 0.55); outline-offset: 1px; }
.program-table td { vertical-align: middle; }
.program-table .cell-input {
  width: 100%;
  min-width: 90px;
  padding: 0.45rem 0.5rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.84rem;
  color: var(--ink);
  background: #fff;
}
.program-table .cell-input:focus { outline: 2px solid rgba(243, 198, 74, 0.55); outline-offset: 1px; }
.thumb.tiny { width: 40px; height: 40px; border-radius: 50%; }

/* ---------- استوديو الصور ---------- */
.studio-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
  margin-bottom: 1.2rem;
}
.studio-heading { font-size: 1rem; color: var(--green-700); margin-bottom: 0.8rem; }
.studio-styles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.7rem 0.9rem;
  margin: 0.2rem 0 1rem;
}
.studio-styles legend { font-size: 0.82rem; font-weight: 700; padding: 0 0.35rem; }
.studio-styles label { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.86rem; cursor: pointer; }
.studio-styles input { width: 17px; height: 17px; accent-color: var(--green-700); }
.studio-frame-label { margin-inline-start: 0.3rem; padding-inline-start: 0.9rem; border-inline-start: 1px solid var(--line); }
.studio-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }
.studio-count { font-size: 0.82rem; color: var(--muted); }
.studio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.studio-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 1.4rem;
  border: 1px dashed var(--line);
  border-radius: 14px;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  background: #fbfdf9;
}
.studio-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.55rem;
  background: #fff;
  box-shadow: 0 8px 22px rgba(2, 27, 17, 0.06);
}
.studio-card canvas { width: 100%; height: auto; display: block; border-radius: 12px; background: #021b11; }
.studio-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; flex-wrap: wrap; }
.studio-name {
  font-size: 0.76rem;
  color: var(--muted);
  max-width: 46%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  direction: ltr;
}
.studio-hint { margin: 1rem 0 0; font-size: 0.8rem; color: var(--muted); }
@media (max-width: 620px) {
  .studio-grid { grid-template-columns: 1fr; }
  .studio-actions .btn { flex: 1 1 auto; }
}
@media (max-width: 760px) {
  .program-add { grid-template-columns: 1fr; }
}
