@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");
@font-face {
  font-family: "";
  src: url("../fonts/");
}
@font-face {
  font-family: "Poppins";
  src: url("../../fonts/Poppins (2)/Poppins-Regular.ttf");
}
:root {
  --primary-color-1: #FFBF0A;
  --primary-color-2: #1D1D1D;
  --color-white: #ffffff;
  --black-color: #000000;
  --accent-color-1: #ffb703;
  --accent-color-2: #cccccc;
  --accent-color-3: #ffec3e;
  --accent-color-4: grey;
  --accent-color-5: #252F36;
  --form-color: #F5FBFF;
  --text-shadow: rgba(0, 0, 0, 0.6);
  --font-roboto-reg: '';
  --font-roboto-bold: '';
  --font-size-1: 6.25rem;
  --font-size-2: 1.5rem;
  --font-size-3: 1rem;
  --font-size-4: 2rem;
  --font-size-5: 2.5rem;
  --font-size-6: 1.75rem;
  --font-size-7: 1.25rem;
  --font-size-8: 4.5rem;
  --font-size-9: 0.7rem;
  --font-size-10: 3.5rem;
  --font-size-11: 0.9rem;
  --font-size-12: 0.6rem;
  --font-size-13: 0.8rem;
  --font-weight-1: 700;
  --font-weight-2: 600;
  --font-weight-3: 500;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-roboto-reg), "Poppins", sans-serif;
}

body {
  background-color: var(--color-white);
  overflow-x: hidden;
}

.flexRow {
  display: flex;
  flex-direction: row;
}

.flexColumn {
  display: flex;
  flex-direction: column;
}

.flexJustCenter {
  display: flex;
  justify-content: center;
}

.background-login {
  min-height: 100vh;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #E4E2FA 0%, #A6E4F7 100%);
}

.login-card {
  width: 100%;
  max-width: 400px;
  background: var(--color-white);
  border-radius: 16px;
  padding: 40px 32px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
}
.login-card__icon {
  width: 48px;
  height: 48px;
  color: var(--primary-color-2);
  margin: 0 auto 16px;
}
.login-card__icon svg {
  width: 100%;
  height: 100%;
}
.login-card__title {
  font-size: 1.3rem;
  font-weight: var(--font-weight-1);
  color: var(--primary-color-2);
  margin: 0 0 8px;
}

.login-card__form {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.login-card__label {
  margin-bottom: 6px;
  text-align: left;
  font-size: 0.85rem;
  font-weight: 600;
  color: #222222;
}

.login-card__input {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 16px;
  background: var(--form-color);
  border: 1px solid var(--accent-color-2);
  border-radius: 8px;
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.login-card__input::placeholder {
  color: #B3B3BF;
}
.login-card__input:focus {
  border-color: var(--primary-color-1);
}

.error {
  color: red;
  font-size: 20px;
}

.login-card__button {
  width: 100%;
  padding: 14px;
  margin-top: 8px;
  border: none;
  border-radius: 10px;
  background: #7B6FF0;
  color: var(--color-white);
  font-weight: var(--font-weight-1);
  font-size: 0.9rem;
  cursor: pointer;
  transition: opacity 0.2s;
}
.login-card__button:hover {
  opacity: 0.9;
}

.homescreen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  flex-direction: column;
}

.homeIcon h1 {
  font-size: 2rem;
  color: #785FFF;
}
.homeIcon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.homeButtons {
  display: flex;
  margin: 2rem;
  padding: 1rem;
}

.homeBtn p {
  font-size: 1.25rem;
  color: #000000;
}
.homeBtn a {
  font-size: 1.5rem;
  color: #ffffff;
  text-decoration: none;
  background-color: #785FFF;
  padding: 0.5rem 5rem;
  border-radius: 10px;
}
.homeBtn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 40vw;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #785FFF;
}

.header-icon {
  margin: 0.5rem;
}

.header-links a {
  text-decoration: none;
  color: white;
  font-size: 1.5rem;
}
.header-links {
  display: flex;
  gap: clamp(1rem, 3vw, 4rem);
  margin-left: 2rem;
}

.header-logout {
  margin-left: auto;
  margin-right: 2rem;
}

.header-logout button {
  border: 2px solid white;
  border-radius: 8px;
  background-color: transparent;
  color: white;
  padding: 0.6rem 1rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.header-logout button:hover {
  background-color: white;
  color: #785FFF;
}

.register-card {
  width: 100%;
  max-width: 400px;
  background: var(--color-white, #ffffff);
  border-radius: 24px;
  padding: 32px 40px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  text-align: center;
  position: relative;
}
.register-card__back {
  margin-bottom: 24px;
  font-size: 0.85rem;
  font-weight: bold;
  color: #7B6FF0;
  text-decoration: none;
}
.register-card__back:hover {
  text-decoration: underline;
}
.register-card__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  color: #000000;
}
.register-card__icon svg {
  width: 100%;
  height: 100%;
}
.register-card__title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #222222;
  margin: 0 u 24px;
}

.background-login {
  min-height: 100vh;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #E4E2FA 0%, #A6E4F7 100%);
}

.register-card__form {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.register-card__input {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 16px;
  background: var(--form-color, #ffffff);
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.register-card__input::placeholder {
  color: #9ca3af;
}
.register-card__input:focus {
  border-color: #7B6FF0;
}
.register-card__input--short {
  border-color: #a78bfa;
}

.register-card__label {
  margin-bottom: 6px;
  text-align: left;
  font-size: 0.85rem;
  font-weight: 600;
  color: #222222;
}

.register-card__input--textarea {
  min-height: 100px;
  resize: vertical;
  font: inherit;
}

.register-card__button {
  width: 100%;
  padding: 14px;
  margin-top: 8px;
  border: none;
  border-radius: 10px;
  background: #7B6FF0;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: opacity 0.2s;
}
.register-card__button:hover {
  opacity: 0.9;
}

.stellingen {
  display: flex;
  justify-content: center;
}
.stellingen .stelling-box {
  display: flex;
  flex-direction: column;
  margin: 2rem;
  padding: 1rem;
  width: 80vw;
  height: 80vh;
  background-color: #F6F6F6;
  border-radius: 20px;
}
.stellingen .stelling-scroll {
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.stellingen .stelling-toplayer {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0.5rem;
}

.stelling-item.stelling-item--header {
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  display: grid;
  align-items: center;
  justify-content: space-between;
  margin: 0.5rem;
  padding-left: 1rem;
  background-color: #E2E4F8;
  border-radius: 10px;
  justify-items: center;
  font-weight: bold;
}

.stelling-item {
  grid-template-columns: 1fr 1fr 1fr 1fr;
  display: grid;
  align-items: center;
  justify-content: space-between;
  margin: 0.5rem;
  padding-left: 1rem;
  background-color: #E2E4F8;
  border-radius: 10px;
}

.stelling-icons {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  margin: 1rem;
  justify-content: flex-end;
}

.stelling-add {
  margin-left: auto;
  margin-right: 2rem;
}

.stelling-add button {
  border-radius: 8px;
  border: none;
  background-color: transparent;
  color: white;
  background-color: #785FFF;
  padding: 0.6rem 1rem;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease, color 0.2s ease;
}

.stelling-add button:hover {
  background-color: white;
  color: #785FFF;
  transition: all 0.2s ease, 0.2s ease;
}

.modal-open {
  overflow: hidden;
}

.stelling-modal[hidden] {
  display: none;
}

.stelling-modal {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.stelling-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 26, 0.35);
}

.stelling-modal__dialog {
  position: relative;
  width: 550px;
  min-height: 400px;
  padding: 1.8rem 1.6rem 1.4rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
}

.stelling-modal__close {
  position: absolute;
  top: 0.45rem;
  right: 0.8rem;
  border: 0;
  background: transparent;
  color: #555;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.stelling-form textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 86px;
  resize: None;
  padding: 0.35rem 0.6rem;
  border: 2px solid #171717;
  border-radius: 12px;
  font: inherit;
}

.stelling-form__controls select {
  width: 100%;
  border-radius: 7px;
}
.stelling-form__controls {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* was: center */
  gap: 1.2rem 1.4rem;
  margin-top: 1rem;
}

.stelling-form__field select {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.stelling-category {
  position: relative;
  z-index: 3;
  width: 215px;
  align-self: flex-end;
}

.stelling-category__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  padding: 0.45rem 1.35rem;
  border: 0;
  border-radius: 9px;
  background: #785fff;
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.stelling-category__arrow {
  font-size: 1.5rem;
  line-height: 0.6;
}

.stelling-category__options {
  position: absolute;
  top: 35px;
  display: grid;
  gap: 9px;
  width: 100%;
  padding: 12px;
  box-sizing: border-box;
  border-radius: 0 0 9px 9px;
  background: #785fff;
}

.stelling-category__options[hidden] {
  display: none;
}

.stelling-category__options button {
  min-height: 50px;
  border: 0;
  border-radius: 6px;
  background: #fff;
  color: #785fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.stelling-target-orb {
  fill: #39b6a9;
  stroke: #fff;
  stroke-width: 3;
  transition: cx 0.15s ease, cy 0.15s ease;
}

.stelling-radar {
  position: absolute;
  right: 2rem;
  bottom: 1rem;
}

.stelling-form__submit {
  margin-top: 1.8rem;
  padding: 0.6rem 1.5rem;
  border: 0;
  border-radius: 7px;
  background: #785fff;
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

@media (max-width: 600px) {
  .stelling-modal__dialog {
    min-height: 0;
  }
  .stelling-form__controls {
    grid-template-columns: 1fr;
  }
  .stelling-slider-group {
    grid-column: auto;
  }
  .stelling-radar {
    position: relative;
    right: auto;
    bottom: auto;
    margin: 1.4rem auto 0;
  }
}
.stelling-delete-modal[hidden] {
  display: none;
}

.stelling-delete-modal {
  position: fixed;
  inset: 0;
  z-index: 11;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.stelling-delete-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 26, 0.35);
}

.stelling-delete-modal__dialog {
  position: relative;
  width: min(235px, 100%);
  padding: 2.2rem 2rem;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
  text-align: center;
}

.stelling-delete-modal__dialog h2 {
  margin: 0 0 2.4rem;
  font-size: 1.1rem;
  line-height: 1.05;
}

.stelling-delete-modal__actions {
  display: grid;
  gap: 1rem;
}

.stelling-delete-modal__actions button {
  padding: 0.45rem 1rem;
  border: 0;
  border-radius: 4px;
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.stelling-delete-modal__confirm {
  background: #785fff;
}

.stelling-delete-modal__cancel {
  background: #d53333;
}

.stelling-status-group {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: 0.5rem;
  width: 240px;
  margin-top: -65px;
}

.stelling-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 36px;
}

.stelling-status-row__label {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111;
}

.stelling-status-btn {
  position: relative;
  width: 88px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #bdbdbd;
  cursor: pointer;
  transition: background 0.2s ease;
}

.stelling-status-btn__knob {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f5f5f5;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease;
}

.stelling-status-btn.is-active {
  background: #785fff;
}

.stelling-status-btn.is-active .stelling-status-btn__knob {
  transform: translateX(56px);
}

.vragenlijst-start {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1rem;
}
.vragenlijst-start__tekst {
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #000;
}
.vragenlijst-start__button {
  display: inline-block;
  background-color: #7c6cf6;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
  padding: 0.9rem 2.75rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.1s ease;
}
.vragenlijst-start__button:hover {
  opacity: 0.9;
}
.vragenlijst-start__button:active {
  transform: scale(0.98);
}

.vraag-header {
  padding: 1.5rem 3rem 0;
}
.vraag-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.vraag-header__stop {
  display: inline-block;
  color: #7c6cf6;
  font-size: 0.85rem;
  text-decoration: none;
  margin-bottom: 3rem;
}
.vraag-header__stop:hover {
  text-decoration: underline;
}
.vraag-header__titel {
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0;
}
.vraag-header__categorie {
  color: #5f5b68;
  font-size: 0.9rem;
  font-weight: 500;
}

.vragenlijst-filter {
  position: relative;
}
.vragenlijst-filter summary {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 42px;
  padding: 0.55rem 0.9rem;
  border: 1px solid #c9c5d2;
  border-radius: 6px;
  background: #fff;
  color: #24212a;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.vragenlijst-filter summary::-webkit-details-marker {
  display: none;
}
.vragenlijst-filter__icon {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 17px;
}
.vragenlijst-filter__icon span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.vragenlijst-filter__icon span:nth-child(2) {
  width: 12px;
}
.vragenlijst-filter__icon span:nth-child(3) {
  width: 7px;
}
.vragenlijst-filter__menu {
  position: absolute;
  top: calc(100% + 0.4rem);
  right: 0;
  z-index: 5;
  display: grid;
  min-width: 220px;
  max-height: 60vh;
  overflow-y: auto;
  padding: 0.35rem;
  border: 1px solid #d7d4dd;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(26, 22, 36, 0.14);
}
.vragenlijst-filter__menu a {
  padding: 0.65rem 0.75rem;
  border-radius: 4px;
  color: #24212a;
  font-size: 0.9rem;
  text-decoration: none;
}
.vragenlijst-filter__menu a:hover,
.vragenlijst-filter__menu a[aria-current=page] {
  background: #efedf4;
}

.vragenlijst {
  background-color: #f3f0ff;
  padding-bottom: 3rem;
}

.stelling-kaart {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background-color: #fff;
  border-radius: 10px;
  padding: 2.5rem 2.5rem;
  margin: 1.25rem 3rem 0;
}
.stelling-kaart__inhoud {
  flex: 1;
}
.stelling-kaart__label {
  display: inline-block;
  background-color: #d9d4ff;
  color: #7c6cf6;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 1.5rem;
  border-radius: 6px;
  margin-bottom: 1.25rem;
}
.stelling-kaart__categorie {
  display: inline-block;
  margin: 0 0 1.25rem 0.5rem;
  color: #5f5b68;
  font-size: 0.8rem;
  font-weight: 600;
  vertical-align: middle;
}
.stelling-kaart__tekst {
  font-size: 1.35rem;
  line-height: 1.4;
  color: #000;
  max-width: 560px;
  margin: 0;
}
.stelling-kaart__antwoorden {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-shrink: 0;
}
.stelling-kaart__antwoord {
  display: inline-block;
  min-width: 160px;
  box-sizing: border-box;
  text-align: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  border: 3px solid transparent;
  border-radius: 6px;
  padding: 0.7rem 1.5rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.stelling-kaart__antwoord--eens {
  background-color: #7fd3a0;
}
.stelling-kaart__antwoord--neutraal {
  background-color: #7db8f5;
}
.stelling-kaart__antwoord--oneens {
  background-color: #e59c9c;
}
.stelling-kaart__antwoord--selected.stelling-kaart__antwoord--eens {
  background-color: #4caf7d;
}
.stelling-kaart__antwoord--selected.stelling-kaart__antwoord--neutraal {
  background-color: #2f8fe0;
}
.stelling-kaart__antwoord--selected.stelling-kaart__antwoord--oneens {
  background-color: #d9534f;
}

.vraag-navigatie {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}
.vraag-navigatie__button {
  display: inline-block;
  background-color: #7c6cf6;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  border: none;
  border-radius: 6px;
  padding: 0.7rem 2rem;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.vraag-navigatie__button:hover {
  opacity: 0.9;
}
.vraag-navigatie__button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn {
  display: flex;
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.05s ease;
}

.btn--primary {
  background-color: #7c6df2;
  color: #ffffff;
}
.btn--primary:hover {
  background-color: #6a5aeb;
}
.btn--primary:active {
  transform: scale(0.98);
}

.description-panel {
  display: flex;
  padding: 24px;
  box-sizing: border-box;
  flex-direction: row;
  height: 100%;
  justify-content: space-around;
  align-items: flex-start;
}

.description-panel__field {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  max-width: 450px;
}

.description-panel__label {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 6px;
}

.description-panel__input {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 14px;
  margin-bottom: 20px;
  border: 2px solid #1a1a1a;
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  background-color: #fff;
}
.description-panel__input::placeholder {
  color: #9a9a9a;
}
.description-panel__input:focus {
  outline: none;
  border-color: #7c6df2;
}

.description-panel__textarea {
  width: 100%;
  min-height: 100px;
  box-sizing: border-box;
  padding: 14px 16px;
  margin-bottom: 12px;
  border: 2px solid #1a1a1a;
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  resize: none;
}
.description-panel__textarea::placeholder {
  color: #9a9a9a;
}
.description-panel__textarea:focus {
  outline: none;
  border-color: #7c6df2;
}

.description-panel__image-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 300px;
  box-sizing: border-box;
}

.description-panel__image-placeholder {
  width: 300px;
  height: 300px;
  box-sizing: border-box;
  background-color: #9a9a9a;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
}

.ErrorMessage {
  color: red;
}

input[type=file] {
  display: none;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 24px;
}
.pagination__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 8px;
  box-sizing: border-box;
  background-color: #E1E3F7;
  color: #3B3470;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s, transform 0.15s;
}
.pagination__btn:hover {
  background-color: #C9CCF2;
  transform: translateY(-1px);
}
.pagination__btn.is-active {
  background-color: #785FFF;
  color: white;
  box-shadow: 0 2px 6px rgba(120, 95, 255, 0.4);
  pointer-events: none;
}
.pagination__btn--arrow {
  color: #785FFF;
}
.pagination__btn--arrow svg {
  width: 18px;
  height: 18px;
}
.pagination__btn--arrow:hover {
  background-color: #785FFF;
  color: white;
}
.pagination__btn.is-disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* ==========================================================
   Partijen-pagina
   ========================================================== */
.partij-pagina {
  align-items: center;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.partij-pagina .Btn_addPartij {
  margin: 100px;
  width: 60%;
  height: 50px;
  justify-content: center;
  align-items: center;
  display: flex;
  background-color: #785FFF;
  color: white;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
}

.partij-pagina .Content_area {
  background-color: #F6F6F6;
  width: 70%;
  min-height: 400px;
  padding: 35px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-radius: 8px;
}

.partij-pagina .Content-block {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  background-color: #E1E3F7;
  padding: 8px 12px;
  border-radius: 6px;
  font-weight: 600;
}

/* Icoontjes (bewerken / verwijderen) */
.partij-pagina .Icon-Buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.partij-pagina .icon-btn {
  display: flex;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.partij-pagina .Icon-Buttons a.icon-btn {
  color: #785FFF;
}

.partij-pagina .deleteBTN {
  color: #E53935;
}

/* Paginering */
.partij-pagina .pagination {
  margin-top: auto;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.partij-pagina .page-btn {
  background-color: #E1E3F7;
  border: none;
  border-radius: 4px;
  min-width: 24px;
  height: 24px;
  font-size: 11px;
  cursor: pointer;
}

.partij-pagina .page-prev {
  background-color: #8A83B0;
  color: white;
}

.partij-pagina .page-next {
  background-color: #785FFF;
  color: white;
}

/* ==========================================================
   Terug-link
   ========================================================== */
.returnLink {
  margin: 5px;
  color: #785FFF;
  font-size: 15px;
  text-decoration: none;
}

.returnLink:hover {
  text-decoration: underline;
}

/* ==========================================================
   Update-formulier
   ========================================================== */
.Update-form {
  width: 70%;
}

.Update-form input:focus {
  outline: none;
}

.Update-form .Name-Container input {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #070707;
  border-radius: 4px;
}

.Update-form .Afkorting-Container {
  color: #785FFF;
}

.Update-form .Afkorting-Container input {
  width: 50%;
  padding: 10px;
  margin: 10px 0;
  color: #785FFF;
  border: 1px solid #785FFF;
  border-radius: 4px;
}

.Update-form .Afkorting-Container ::placeholder {
  color: #785FFF;
}

.Update-form .Password-Container .passwordArea {
  width: 50%;
  height: 42px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #070707;
  border-radius: 4px;
}

.Update-form .Password-Container input {
  border: none;
  height: 100%;
  width: 100%;
  margin-left: 10px;
}

.Update-form .Update-Button {
  margin-top: 30%;
  width: 100%;
  height: 50px;
  background-color: #785FFF;
  color: white;
  font-weight: bold;
  border-radius: 8px;
  font-size: 20px;
  border: none;
}

.Update-form .Update-Button:hover {
  background-color: #9380FF;
  cursor: pointer;
}

/* ==========================================================
   Verwijder-popup
   ========================================================== */
#deleteconfirmation {
  display: none;
  flex-direction: column;
  position: fixed;
  align-items: center;
  justify-content: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  height: 360px;
  width: 350px;
  gap: 50px;
  box-shadow: 0px 0px 5px 0px;
  border-radius: 10px;
  font-weight: bold;
  font-size: 25px;
}

.deleteOptions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.deletePHP {
  width: 70%;
  font-size: 20px;
  color: white;
  background-color: #785FFF;
  text-align: center;
  border-radius: 10px;
  font-weight: bold;
  text-decoration: none;
  padding: 5px;
}

.deletePHP:visited {
  color: white;
}

.no {
  width: 70%;
  font-size: 20px;
  color: white;
  background-color: #D53333;
  border: none;
  border-radius: 10px;
  font-weight: bold;
  padding: 5px;
}

.no:hover {
  cursor: pointer;
}

/* ==========================================================
   Partij bewerken: formulier + profielafbeelding
   ========================================================== */
.partij-layout {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 48px;
  width: 80%;
}

.partij-layout .Update-form {
  flex: 1;
  min-width: 0;
  width: auto; /* overschrijft de 70% hierboven */
}

.partij-profiel {
  flex: 0 0 200px;
  margin-top: 10px;
}

.partij-profiel__img,
.partij-profiel__placeholder {
  width: 400px;
  height: 400px;
  object-fit: cover;
  border: 1px solid #ddd;
  margin-right: -100px;
}

.partij-profiel__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
  color: #785FFF;
  background: #F6F6F6;
}

@media (max-width: 800px) {
  .partij-layout {
    flex-direction: column-reverse;
    align-items: center;
    width: 90%;
  }
  .partij-layout .Update-form {
    width: 100%;
    flex: none;
  }
}
.categorieen-pagina {
  width: min(900px, 100% - 2rem);
  margin: 3rem auto;
}

.categorieen-pagina h1 {
  margin-bottom: 1.5rem;
  color: #785FFF;
}

.categorieen-formulier,
.categorieen-lijst {
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  background: #F6F6F6;
  border-radius: 8px;
}

.categorieen-formulier h2,
.categorieen-lijst h2 {
  margin-bottom: 1rem;
}

.categorieen-formulier label {
  display: block;
  margin-bottom: 0.4rem;
}

.categorieen-formulier__invoer,
.categorieen-lijst__acties {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.categorieen-formulier input {
  flex: 1;
  min-width: 0;
  padding: 0.7rem;
  border: 1px solid #aaa;
  border-radius: 5px;
}

.categorieen-formulier button,
.categorieen-formulier a,
.categorieen-lijst a,
.categorieen-lijst button {
  padding: 0.65rem 0.9rem;
  border: 0;
  border-radius: 5px;
  background: #785FFF;
  color: white;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}

.categorieen-formulier a {
  background: #777;
}

.categorieen-lijst ul {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  list-style: none;
}

.categorieen-lijst li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1rem;
  border-radius: 5px;
  background: #E1E3F7;
}

.categorieen-lijst li span {
  display: block;
  color: #555;
  font-size: 0.9rem;
}

.categorieen-lijst__acties form {
  margin: 0;
}

.categorieen-lijst button {
  background: #D53333;
}

.categorieen-melding {
  margin-bottom: 1rem;
  color: #236b32;
}

.categorieen-melding--fout {
  color: #b42318;
}

@media (max-width: 600px) {
  .categorieen-formulier__invoer,
  .categorieen-lijst li {
    align-items: stretch;
    flex-direction: column;
  }
  .categorieen-lijst__acties {
    justify-content: flex-start;
  }
}
.delete-modal {
  display: none;
  position: fixed;
  inset: 0;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1000;
}

.delete-modal.is-open {
  display: flex;
}

.delete-modal__box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  width: 350px;
  max-width: 90%;
  padding: 40px 30px;
  box-sizing: border-box;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.delete-modal__title {
  margin: 0;
  font-size: 22px;
}

.delete-modal__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.delete-modal__btn {
  width: 70%;
  padding: 8px;
  box-sizing: border-box;
  font-size: 18px;
  font-weight: bold;
  color: white;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: filter 0.15s;
}

.delete-modal__btn:hover {
  filter: brightness(1.1);
}

.delete-modal__btn:visited {
  color: white;
}

.delete-modal__btn--confirm {
  background-color: #785FFF;
}

.delete-modal__btn--cancel {
  background-color: #D53333;
}