/* Algemene body-stijl */
body {
  font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
  color: #222;
  margin: 0;
  padding: 0;
}

/* Hoofdcontainer kaartstijl */
.main-container {
  margin: 32px auto 32px auto;
  max-width: 480px;
  min-height: 480px;
  padding: 24px 12px 32px 12px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 4px 32px #0001;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 700px) {
  .main-container {
    max-width: 560px;
    min-height: 560px;
    padding: 32px 36px 36px 36px;
  }
}

/* Kopteksten */
h2, h3 {
  color: #f9a825;
  margin-top: 0.2em;
  margin-bottom: 1.1em;
}

/* Formulieren */
form {
  background: #fff;
  padding: 2em;
  margin: 2em auto;
  max-width: 320px;
  border-radius: 8px;
  box-shadow: 0 2px 8px #eee;
}

input, button, textarea, select {
  width: 100%;
  padding: 0.5em;
  margin: 0.5em 0 1em 0;
  font-size: 1em;
  border-radius: 4px;
  border: 1px solid #ddd;
  box-sizing: border-box;
}

input[type="text"], textarea {
  padding: 14px 16px;
  font-size: 1.1em;
  border-radius: 14px;
  border: 1px solid #cdd6e3;
  margin-bottom: 12px;
  background: #f6faff;
  transition: border .2s;
}
input[type="text"]:focus, textarea:focus {
  border: 1.5px solid #3b82f6;
  outline: none;
}

/* Knoppen */
button, input[type="submit"] {
  background: #3b82f6;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 1.1em;
  box-shadow: 0 2px 8px #0001;
  margin-top: 6px;
  cursor: pointer;
  transition: background .2s;
}
button:hover, input[type="submit"]:hover {
  background: #2563eb;
}

/* Specials voor reactievak & comments */
.comment-section {
  margin-top: 10px;
  background: #f8fbfd;
  border-radius: 10px;
  padding: 12px;
  box-shadow: 0 1px 4px #0001;
}
.comment {
  margin-bottom: 8px;
  font-size: 1em;
}
.comment strong {
  color: #2956b2;
}
.comment-time {
  color: #98a6bd;
  font-size: 0.9em;
  margin-left: 6px;
}

/* Afbeeldingen en video’s */
.img-wrapper {
  background: #e7eefd;
  border-radius: 16px;
  box-shadow: 0 2px 16px #0002;
  overflow: hidden;
  margin-bottom: 14px;
}
.img-wrapper video {
  width: 360px;
  display: block;
  border-radius: 16px;
}
.sticker-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 10px 0;
}
.sticker-bar img {
  width: 24px;
  height: 24px;
  cursor: pointer;
  border-radius: 6px;
  transition: transform .1s;
  margin: 2px;
}
.sticker-bar img:hover {
  transform: scale(1.1) rotate(-6deg);
  box-shadow: 0 0 0 2px #3b82f677;
}
.reactions {
  display: flex;
  gap: 18px;
  margin: 8px 0;
  font-size: 1.2em;
}

/* Responsive (mobiel) */
@media (max-width: 700px) {
  body { font-size: 1.05em; }

  .main-container {
    max-width: 99vw;
    padding: 10vw 2vw 8vw 2vw;
    min-height: unset;
  }

  form {
    max-width: 99vw;
    padding: 1.2em;
  }

  .img-wrapper {
    max-width: 99vw;
    border-radius: 12px;
  }

  .img-wrapper img,
  .img-wrapper video {
    width: 100%;
    height: auto;
    max-width: 100%;
  }
}
.back-link {
  display: inline-block;
  margin: 12px 0 18px 0;
  color: #3b82f6;
  text-decoration: none;
  font-size: 1em;
  font-weight: 500;
  border-radius: 8px;
  padding: 2px 12px 2px 6px;
  transition: color .2s, background .2s;
}
.back-link:hover, .back-link:focus {
  color: #2563eb;
  background: #f0f6ff;
  text-decoration: underline;
}
.img-wrapper img {
  max-width: 360px;
  max-height: 260px;
  width: auto;
  height: auto;
  display: block;
  margin: 0 auto 16px auto;
  border-radius: 12px;
}

