/* ============================================================
   brianshare — Brainwash A/V huisstijl
   veel wit, pastel-panelen, dikke inkt-lijnen, offset-schaduwen
   ============================================================ */

:root {
  --paper:  #FFFFFF;
  --cream:  #FCF7EA;
  --ink:    #141414;
  --sage:   #B7CFAA;
  --pink:   #EBB3A9;
  --blue:   #A7C4CB;
  --butter: #F6E8BE;
  --line:   3px;
}

* { box-sizing: border-box; }

body {
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;  /* was Shantell */
  background: var(--cream);                                        /* was paper */                                  /* was paper */
  color: var(--ink);
  max-width: 720px;
  margin: 0 auto;
  padding: 28px 20px 80px;
  line-height: 1.5;
}

/* ---------- header / wordmark ---------- */
header.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 34px;
}
header.brand img { width: 74px; height: 74px; }


.wordmark {
  font-family: 'Shantell Sans', cursive;
  font-weight: 800;
  font-size: 34px;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1;
  text-shadow: 3px 3px 0 var(--pink), 6px 6px 0 var(--blue);
}
.wordmark small {
  display: block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 3px;
  text-shadow: none;
  margin-top: 8px;
  color: #666;
}

/* ---------- cards & panels ---------- */
.card {
  background: var(--paper);
  border: var(--line) solid var(--ink);
  border-radius: 16px;
  padding: 22px;
  margin: 18px 0;
  box-shadow: 7px 7px 0 var(--sage);
}
.card.pink   { box-shadow: 7px 7px 0 var(--pink); }
.card.blue   { box-shadow: 7px 7px 0 var(--blue); }
.card.butter { box-shadow: 7px 7px 0 var(--butter); }

h1, h2 { line-height: 1.15; }
h2 {
  font-family: 'Shantell Sans', cursive;
  font-size: 22px;
  display: inline-block;
  background: var(--butter);
  border: var(--line) solid var(--ink);
  border-radius: 10px;
  padding: 4px 14px;
  box-shadow: 4px 4px 0 var(--pink);
  transform: rotate(-1deg);
}

a { color: var(--ink); text-decoration-thickness: 3px; text-decoration-color: var(--pink); }
a:hover { text-decoration-color: var(--blue); }

.code {
  font-family: ui-monospace, monospace;
  background: var(--butter);
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: 2px 8px;
}

/* ---------- forms ---------- */
input, select, button {
  font-family: inherit;
  font-size: 17px;
  padding: 10px 14px;
  border: var(--line) solid var(--ink);
  border-radius: 12px;
  background: var(--paper);
  margin: 4px 0;
}
input:focus, select:focus {
  outline: none;
  box-shadow: 4px 4px 0 var(--blue);
}
button {
  cursor: pointer;
  font-weight: 700;
  background: var(--sage);
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform .08s, box-shadow .08s;
}
button:hover  { transform: translate(-1px,-1px); box-shadow: 6px 6px 0 var(--ink); }
button:active { transform: translate(4px,4px);  box-shadow: 1px 1px 0 var(--ink); }

/* ---------- tables (admin) ---------- */
table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  border: var(--line) solid var(--ink);
  border-radius: 14px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 7px 7px 0 var(--blue);
}
th { background: var(--butter); text-align: left; }
th, td { padding: 10px 12px; border-bottom: 2px solid var(--ink); }
tr:last-child td { border-bottom: none; }

/* ---------- de dropzone ---------- */
#dz {
  position: relative;
  border: 5px dashed var(--ink);
  border-radius: 26px;
  background:
    radial-gradient(circle at 12% 20%, var(--butter) 0 46px, transparent 47px),
    radial-gradient(circle at 88% 26%, #F4E1DD 0 38px, transparent 39px),
    radial-gradient(circle at 80% 82%, #DCE9DA 0 52px, transparent 53px),
    radial-gradient(circle at 16% 78%, #DFEAEC 0 40px, transparent 41px),
    var(--paper);
  padding: 70px 24px;
  text-align: center;
  font-size: 19px;
  font-weight: 600;
  transition: transform .12s, background-color .12s;
}
#dz.over {
  transform: rotate(-1deg) scale(1.02);
  border-color: var(--ink);
  background-color: var(--cream);
}
#dz .icons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 26px;
  margin-bottom: 20px;
}
#dz .icons svg {
  width: 70px; height: 70px;
  filter: drop-shadow(5px 5px 0 var(--pink));
  animation: bob 3s ease-in-out infinite;
}
#dz .icons svg:nth-child(2) { filter: drop-shadow(4px 4px 0 var(--sage));  animation-delay: .4s; }
#dz .icons svg:nth-child(3) { filter: drop-shadow(4px 4px 0 var(--blue));  animation-delay: .8s; }
#dz .icons svg:nth-child(4) { filter: drop-shadow(4px 4px 0 var(--butter)); animation-delay: 1.2s; }
@keyframes bob {
  0%,100% { transform: translateY(0) rotate(-2deg); }
  50%     { transform: translateY(-7px) rotate(2deg); }
}
@media (prefers-reduced-motion: reduce) {
  #dz .icons svg, .hero-icons svg { animation: none; }
}
#dz input[type=file] { margin-top: 18px; border-style: dashed; }

/* ---------- uitgelogd startscherm (landing) ---------- */
.landing header.brand {
  flex-direction: column;
  justify-content: center;
  text-align: center;
  gap: 14px;
  margin-bottom: 10px;
}
.landing header.brand img { width: 96px; height: 96px; }
.hero { text-align: center; padding: 10px 0 8px; }
.hero-icons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 36px;
  margin: 22px 0 24px;
}
.hero-icons svg {
  width: 92px; height: 92px;
  filter: drop-shadow(6px 6px 0 var(--pink));
  animation: bob 3s ease-in-out infinite;
}
.hero-icons svg:nth-child(2) { filter: drop-shadow(6px 6px 0 var(--sage));   animation-delay: .4s; }
.hero-icons svg:nth-child(3) { filter: drop-shadow(6px 6px 0 var(--blue));   animation-delay: .8s; }
.hero-icons svg:nth-child(4) { filter: drop-shadow(6px 6px 0 var(--butter)); animation-delay: 1.2s; }
@media (max-width: 520px) {
  .hero-icons svg { width: 66px; height: 66px; }
  .hero-icons { gap: 22px; }
}

/* ---------- uploadlijst ---------- */
#list { list-style: none; padding: 0; }
#list li {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 12px;
  padding: 8px 14px;
  margin: 8px 0;
  box-shadow: 4px 4px 0 var(--butter);
  font-size: 15px;
}
#list li span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
progress {
  width: 38%;
  height: 16px;
  accent-color: var(--sage);
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--paper);
}
progress::-webkit-progress-bar   { background: var(--paper); border-radius: 6px; }
progress::-webkit-progress-value { background: var(--sage);  border-radius: 6px; }

/* ---------- kleinigheden ---------- */
.muted { color: #666; font-size: 14px; }
.pill {
  display: inline-block;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--pink);
  padding: 2px 12px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 3px 3px 0 var(--ink);
}
@media (max-width: 520px) {
  .wordmark { font-size: 26px; }
  header.brand img { width: 56px; height: 56px; }
  #dz { padding: 46px 14px; }
  #dz .icons svg { width: 56px; height: 56px; }
  #dz .icons { gap: 18px; }
}

/* ---------- 6-cijferige code (2FA + quick-join) ---------- */
.codeform { text-align: center; }
.codeboxes {
  display: flex;
  flex-wrap: nowrap;          /* altijd één rij */
  gap: 8px;
  justify-content: center;
  margin: 12px auto;
  max-width: 380px;
}
.cbox {
  flex: 1 1 0;
  min-width: 0;               /* laat ze krimpen op smalle schermen */
  max-width: 54px;
  text-align: center;
  font-size: 24px;
  font-weight: 800;
  padding: 12px 0;            /* smal genoeg om met z'n zessen te passen */
}
@media (max-width: 380px) {
  .codeboxes { gap: 5px; }
  .cbox { font-size: 20px; padding: 10px 0; }
}

/* ---------- quick-share kamer ---------- */
#roomlist { list-style: none; padding: 0; }
#roomlist li {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 12px;
  padding: 8px 14px;
  margin: 8px 0;
  box-shadow: 4px 4px 0 var(--blue);
  font-size: 15px;
}
#roomlist li > span:first-child { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#roomlist button { padding: 4px 12px; font-size: 14px; margin: 0; }
.qdel { background: var(--pink); }
