/* =========================================================
   ZIJME · Zevergemse evenementen: formulier voor verenigingen
   en "Jouw activiteiten" (persoonlijke link). Bouwt op site.css.
   ========================================================= */

/* ---------- Activiteit doorgeven ---------- */
.ce-submit { max-width: calc(var(--max) + var(--pad) * 2); margin: 0 auto; padding: 1rem var(--pad) 4.5rem; display: grid; gap: 2rem; scroll-margin-top: 90px; }
.ce-submit__intro h2 { font-size: clamp(2rem, 6vw, 3rem); margin: .4rem 0 .8rem; }
.ce-submit__intro h2 em { font-style: italic; font-weight: 600; color: var(--petrol); }
.ce-submit__intro p { max-width: 46ch; }
.ce-submit__tips { margin: 1.2rem 0 0; padding: 0; list-style: none; display: grid; gap: .6rem; }
.ce-submit__tips li { position: relative; padding-left: 1.6rem; font-size: .95rem; }
.ce-submit__tips li::before { content: ""; position: absolute; left: .2rem; top: .55em; width: .7rem; height: .7rem; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 3px var(--sun-soft); }
.ce-form { background: var(--cream); border: 2px solid var(--ink); border-radius: var(--r-lg); padding: 1.2rem; box-shadow: -8px 8px 0 var(--sun); }
@media (min-width: 900px) {
  .ce-submit { grid-template-columns: .85fr 1.15fr; align-items: start; gap: 4rem; }
  .ce-submit__intro { position: sticky; top: 110px; }
  .ce-form { padding: 1.8rem; }
}

/* datums: één rij per datum */
.ce-dates legend { margin-bottom: .4rem; }
#ce-dates { display: grid; gap: .7rem; }
.ce-date { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; gap: .6rem .8rem; padding: .8rem; background: var(--sand); border: 1px solid var(--line); border-radius: var(--r); }
.ce-date .field label { font-size: .82rem; }
.ce-date input { min-width: 0; width: 100%; }
/* Smalle gsm: elke datum op een eigen rij, de twee uren naast elkaar. */
@media (max-width: 420px) { .ce-date__day, .ce-date__end { grid-column: 1 / -1; } }
/* datum en uren op twee rijen: zo is er overal plaats voor "14:00" en een volledige datum */
.ce-date__del { position: absolute; top: .35rem; right: .35rem; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); background: var(--cream); color: var(--ink); font: 700 1.1rem/1 var(--font-body); cursor: pointer; }
.ce-date__del:hover, .ce-date__del:focus-visible { background: var(--sun-soft); border-color: var(--ink); }
.ce-date__del[hidden] { display: none; }
.ce-date:has(.ce-date__del:not([hidden])) { padding-top: 2.4rem; }
.ce-dates [data-add-date] { justify-self: start; margin-top: .7rem; }
.ce-note { margin: -.2rem 0 0; font-size: .85rem; color: var(--ink-soft); }
.ce-form .form__done { text-align: left; }

/* ---------- Jouw activiteiten (persoonlijke link) ---------- */
.ce-mine { max-width: calc(var(--max) + var(--pad) * 2); margin: 0 auto; padding: 1rem var(--pad) 0; scroll-margin-top: 90px; }
.ce-mine:focus { outline: none; }
.ce-mine__inner { background: var(--sun-soft); border: 2px solid var(--ink); border-radius: var(--r-lg); padding: 1.2rem; box-shadow: -6px 6px 0 var(--petrol); }
.ce-mine__inner h2 { font-size: clamp(1.6rem, 5vw, 2.2rem); margin-bottom: .5rem; }
.ce-mine__inner > p { max-width: 70ch; color: #3A3F49; }
.ce-mine__list { list-style: none; margin: 1rem 0; padding: 0; display: grid; gap: .8rem; }
.ce-mine__item { background: var(--cream); border: 1px solid var(--line); border-radius: var(--r); padding: 1rem; }
.ce-mine__head { display: flex; gap: 1rem; justify-content: space-between; align-items: start; flex-wrap: wrap; }
.ce-mine__head h3 { font-size: 1.2rem; }
.ce-mine__head p { margin: .2rem 0 0; font-size: .92rem; }
.ce-mine__acts { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .8rem; }
.ce-mine__pending, .ce-mine__reason { margin: .6rem 0 0; font-size: .9rem; font-weight: 600; }
.ce-mine__reason { font-weight: 400; font-style: italic; }
.ce-mine .ce-edit { margin-top: .8rem; }
.ce-pill { display: inline-block; padding: .2rem .7rem; border-radius: 999px; font: 700 .78rem/1.4 var(--font-body); white-space: nowrap; }
.ce-pill--ok { background: var(--sage-soft); color: #2F4A31; }
.ce-pill--wait { background: var(--sun-soft); color: #3A3F49; border: 1px solid var(--sun); }
.ce-pill--no { background: var(--sand); color: #3A3F49; border: 1px solid var(--line); }
.ce-ok { font-weight: 700; color: #2F4A31; background: var(--sage-soft); padding: .6rem .9rem; border-radius: 12px; }
.ce-err { font-weight: 600; color: #B5523B; }
.btn--danger { border-color: #B5523B !important; color: #B5523B !important; }

/* melding als de verenigingen niet geladen konden worden */
.cal-warn { margin: 0 0 1rem; padding: .7rem 1rem; border-radius: 12px; background: var(--sun-soft); color: #3A3F49; font-weight: 600; }

/* maandkeuze herhaald net boven de kalender (vooral handig op gsm) */
.cal-toolbar--mini { margin: 0 0 .8rem; }
.cal-title--mini { margin: 0; white-space: nowrap; font: 900 clamp(1.05rem, 4.4vw, 1.5rem)/1.1 var(--font-head); color: var(--ink); text-align: center; flex: 1; }
.cal-toolbar--mini .cal-nav { width: 40px; height: 40px; font-size: 1.4rem; }
@media (max-width: 599px) { .cal-toolbar--mini { flex-wrap: nowrap; } .cal-toolbar--mini .cal-today { order: 4; width: auto; padding-inline: .8rem; } }
.ce-mine__empty { margin: 1rem 0; }
