@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@200;300;400;600;700&display=swap");
.mb-0 {
  margin-bottom: 0rem !important;
}

.mb-1 {
  margin-bottom: 0.5rem !important;
}

.mb-2 {
  margin-bottom: 1rem !important;
}

.mb-3 {
  margin-bottom: 1.5rem !important;
}

.mb-4 {
  margin-bottom: 2rem !important;
}

.mb-5 {
  margin-bottom: 3rem !important;
}

.display-large {
  font-family: "Source Sans 3", sans-serif;
  font-size: 3.5625rem;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--text);
}

.display-medium {
  font-family: "Source Sans 3", sans-serif;
  font-size: 2.8125rem;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--text);
}

.display-small {
  font-family: "Source Sans 3", sans-serif;
  font-size: 2.25rem;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--text);
}

.headline-large {
  font-family: "Source Sans 3", sans-serif;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--text);
}

.headline-medium {
  font-family: "Source Sans 3", sans-serif;
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--text);
}

.headline-small {
  font-family: "Source Sans 3", sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--text);
}

.title-large {
  font-family: "Source Sans 3", sans-serif;
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
  color: var(--text);
}

.title-medium {
  font-family: "Source Sans 3", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0;
  color: var(--text);
}

.title-small {
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0;
  color: var(--text);
}

.body-large {
  font-family: "Source Sans 3", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--text);
}

.body-medium, input[type=text],
input[type=date],
input[type=time],
input[type=datetime-local],
select, textarea, input[type=text] option,
input[type=date] option,
input[type=time] option,
input[type=datetime-local] option,
select option, textarea option {
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--text);
}

.body-small {
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--text);
}

.label-large {
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.015em;
  color: var(--text);
}

.label-medium {
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.015em;
  color: var(--text);
}

.label-small {
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.015em;
  color: var(--text);
}

.form-control {
  font-size: unset;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:active,
input:-webkit-autofill:focus {
  background-color: var(--form-bg) !important;
  -webkit-box-shadow: 0 0 0 1000px var(--form-bg) inset !important;
  -webkit-text-fill-color: var(--text) !important;
}

input[type=text],
input[type=date],
input[type=time],
input[type=datetime-local],
select, textarea {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
}
input[type=text] option,
input[type=date] option,
input[type=time] option,
input[type=datetime-local] option,
select option, textarea option {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
}

p {
  margin-bottom: 0;
}

.form-control {
  background-color: var(--form-bg);
}
@media (min-width: 576px) {
  .form-control {
    background-color: var(--form-bg);
  }
}
.form-control:focus {
  background-color: var(--form-bg);
  box-shadow: unset;
}

.form-header .headline-medium {
  margin-top: 24px;
}
@media (min-width: 768px) {
  .form-header {
    flex-basis: 50%;
    flex-grow: 1;
    max-width: 50%;
  }
}

@media (min-width: 768px) {
  .form-body {
    flex-basis: 50%;
    flex-grow: 1;
    max-width: 50%;
    padding-left: 24px;
  }
}

#com-users-login__form {
  display: flex;
  flex-direction: column;
  background-color: var(--form-bg);
  border-radius: 8px;
  padding: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 100%;
  width: 100%;
  max-width: 700px;
}
@media (min-width: 768px) {
  #com-users-login__form {
    background-color: var(--form-bg);
    flex-direction: row;
    padding-left: 24px;
    padding-right: 24px;
    height: auto;
    width: 80%;
  }
}

:root {
  --body-bg: rgb(240, 244, 249);
  --form-bg: #ffffff;
  --logo-bg: rgb(54, 169, 255);
  --text: rgb(30, 30, 30);
  --primary-btn-bg: rgb(54, 169, 255);
  --secondary-btn-bg: rgb(166, 218, 241);
  --input-border-default: 1px solid rgb(222, 222, 222);
  --input-border-focus: 2px solid rgb(54, 169, 255);
  --chip-bg: #ffffff;
  --chip-category-bg: rgb(166, 218, 241);
}

@media (prefers-color-scheme: dark) {
  :root {
    --body-bg: rgb(30, 31, 32);
    --form-bg: rgb(14, 14, 14);
    --logo-bg: rgb(54, 169, 255);
    --text: #ffffff;
    --primary-btn-bg: rgb(54, 169, 255);
    --secondary-btn-bg: rgb(166, 218, 241);
    --input-border-default: rgb(54, 169, 255);
    --input-border-focus: rgb(54, 169, 255);
    --chip-bg: rgb(14, 14, 14);
    --chip-category-bg: rgb(166, 218, 241);
  }
}
.btn-primary {
  background-color: var(--primary-btn-bg);
  border: none;
}
.btn-primary:hover {
  background-color: var(--primary-btn-bg);
  border: none;
}

.btn-secondary {
  background-color: var(--secondary-btn-bg);
  border: none !important;
}
.btn-secondary:hover {
  background-color: var(--secondary-btn-bg);
}

.input-password-toggle {
  border-radius: 12px;
  background-color: var(--form-bg);
  padding: 10px 14px;
  cursor: pointer;
  border: var(--input-border-default) !important;
  border-left: none !important;
}
.input-password-toggle:hover {
  background-color: var(--form-bg);
  border: var(--input-border-default) !important;
  border-left: none !important;
}

input:focus + .input-password-toggle {
  border: var(--input-border-focus) !important;
  border-left: none !important;
}

/* ---------------------------------------------------------
   FORM ELEMENTS
--------------------------------------------------------- */
.form-control {
  border-radius: 12px;
  padding: 10px 14px;
  text-overflow: ellipsis;
  cursor: text;
  border: var(--input-border-default) !important;
}
.form-control:focus {
  border: var(--input-border-focus) !important;
}

#password {
  border-right: none !important;
}
#password:focus {
  border-right: none !important;
}

/* ---------------------------------------------------------
   NEW MEMBER BAR
--------------------------------------------------------- */
#new-member-bar {
  display: flex;
  gap: 10px;
}

/* ---------------------------------------------------------
   REGISTER HEADER
--------------------------------------------------------- */
.register-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.register-header h3 {
  margin: 0;
}
.register-header .boat-type-select {
  padding: 6px 10px;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  background: #fff;
}

/* ---------------------------------------------------------
   REGISTER CONTROLS
--------------------------------------------------------- */
.register-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
}
.register-controls .boat-type-select {
  padding: 6px 10px;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  background: #fff;
}
.register-controls .register-btn {
  padding: 6px 14px;
  font-size: 1rem;
  border-radius: 6px;
  background: #4a90e2;
  color: white;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}
.register-controls .register-btn:hover {
  background: #357ac8;
}

/* ---------------------------------------------------------
   MEMBER CHIP
--------------------------------------------------------- */
.member-chip {
  position: relative;
  overflow: visible;
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 240px;
  height: fit-content;
  background: var(--chip-bg);
  border-radius: 30px 8px 8px 30px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  user-select: none;
  transition: background 0.2s ease;
}
.member-chip:hover {
  background: #f0f0f0;
}
.member-chip.dragging {
  opacity: 0.4;
  transform: scale(0.95);
}
.member-chip.no-slots {
  opacity: 0.5;
}
.member-chip .category {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--chip-category-bg);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 4px solid white;
}
.member-chip .member-info {
  display: flex;
  flex-direction: column;
}
.member-chip .member-info .member-details {
  font-size: 0.8rem;
  color: #666;
}
.member-chip .member-info .member-club {
  color: #666;
}
.member-chip .chip-delete {
  position: absolute;
  right: 8px;
  top: 8px;
  background: transparent;
  border: none;
  font-size: 20px;
  line-height: 20px;
  cursor: pointer;
  color: #888;
  padding: 0;
  transition: color 0.2s ease;
}
.member-chip .chip-delete:hover {
  color: #d00;
}

/* ---------------------------------------------------------
   COUNTER BADGE
--------------------------------------------------------- */
.member-counter {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #e53935;
  color: white;
  font-size: 11px;
  font-weight: 600;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  /* zorgt dat badge zichtbaar blijft op elke chip */
  box-shadow: 0 0 0 2px white;
}

/* ---------------------------------------------------------
   MEMBERS FLEX LAYOUT
--------------------------------------------------------- */
.members-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 10px;
  overflow: visible;
}

/* ---------------------------------------------------------
   DRAG & DROP ZONES
--------------------------------------------------------- */
.members-list,
.selected-members {
  min-height: 150px;
  padding: 0.5rem;
  border: 2px dashed #ccc;
  border-radius: 0.5rem;
}

.drag-over {
  background: #eef6ff;
  border-color: #4a90e2;
}

/* ---------------------------------------------------------
   COLLAPSIBLE HEADER
--------------------------------------------------------- */
.collapsible-hdr {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 8px 4px;
  user-select: none;
}
.collapsible-hdr .arrow {
  width: 16px;
  height: 16px;
  border-right: 2px solid #444;
  border-bottom: 2px solid #444;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.collapsible-hdr.collapsed .arrow {
  transform: rotate(-135deg);
}

/* ---------------------------------------------------------
   COLLAPSIBLE ROW
--------------------------------------------------------- */
.collapsible-row {
  overflow-x: auto;
  gap: 12px;
  white-space: nowrap;
  transition: max-height 0.25s ease, opacity 0.25s ease;
  max-height: 200px;
  opacity: 1;
}
.collapsible-row.collapsed {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0;
}

/* ---------------------------------------------------------
   REGATTA LAYOUT (Deelnemers + Inschrijven naast elkaar)
--------------------------------------------------------- */
.regatta-flex {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 2rem;
  width: 100%;
}

.regatta-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ---------------------------------------------------------
   REGISTRATION CARD
--------------------------------------------------------- */
.registration-card {
  position: relative;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-bottom: 12px;
}

/* delete button */
.delete-entry {
  position: absolute;
  right: 12px;
  top: 12px;
  background: #c62828;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.delete-entry:hover {
  background: #b71c1c;
}

.collapsible-row {
  max-height: 200px;
  opacity: 1;
  transition: max-height 0.25s ease, opacity 0.25s ease;
  white-space: nowrap;
  gap: 12px;
}
.collapsible-row.collapsed {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0;
}

.collapsible-hdr {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 8px 4px;
  user-select: none;
}
.collapsible-hdr .arrow {
  width: 16px;
  height: 16px;
  border-right: 2px solid #444;
  border-bottom: 2px solid #444;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.collapsible-hdr.collapsed .arrow {
  transform: rotate(-135deg);
}

#selected-members {
  position: relative;
  overflow: visible;
}

.boat-row {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.boat-seat-dropzone {
  width: 250px;
  min-height: 50px;
  border: 2px dashed #ccc;
  border-radius: 6px;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#boat-svg-layout {
  display: flex;
  flex-direction: column;
}

.share-toggle {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  opacity: 0.5;
  margin-left: auto;
}

.share-toggle.shared {
  opacity: 1;
  color: #0078ff;
}

.member-chip {
  display: flex;
  align-items: center;
  gap: 2px;
}

/* Toggle button */
.share-toggle {
  margin-left: auto;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  position: relative;
  opacity: 0.5;
  transition: opacity 0.2s ease;
}
.share-toggle:hover {
  opacity: 1;
}
.share-toggle:hover::after {
  content: attr(data-hint);
  position: absolute;
  top: -28px;
  right: 0;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}
.share-toggle.shared {
  opacity: 1;
}

/* LED basis: glas + donkergroen */
.led {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-block;
  /* Donkergroene glas-look */
  background: radial-gradient(circle at 30% 30%, #0a3, #062);
  box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.6), 0 0 2px rgba(255, 255, 255, 0.15);
  transition: background-color 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

/* LED aan: feller groen + glow + knipper */
.share-toggle.shared .led {
  background-color: #00c93a;
  box-shadow: 0 0 6px #00c93a, 0 0 12px #00c93a, inset 0 0 4px rgba(0, 0, 0, 0.4);
  animation: led-blink 2.2s infinite ease-in-out;
}

@keyframes led-blink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.45;
  }
  100% {
    opacity: 1;
  }
}
.member-chip .category {
  border: 4px solid white;
  transition: border-color 0.2s ease;
  cursor: pointer;
}
.member-chip.shared .category {
  border-color: #4a90e2;
}

/* Optionele fade-in animatie */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
/* Sluitknop */
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  cursor: pointer;
  font-size: 20px;
  color: #666;
}

.menu-right {
  justify-content: flex-end;
}

.entry-chip {
  background: #fff;
  border: 1px solid #e2e2e2;
  border-radius: 6px;
  padding: 6px 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  font-size: 0.82rem;
  line-height: 1.2;
  cursor: grab;
  user-select: none;
}

.entry-chip.dragging {
  opacity: 0.6;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.entry-chip-header {
  font-weight: 600;
  margin-bottom: 3px;
}

.entry-chip-team {
  color: #444;
}

.cell-align-right {
  text-align: right;
}

/* Donkere overlay achter de modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  display: none; /* default */
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Wanneer JS .active toevoegt → modal wordt zichtbaar */
.modal-overlay.active {
  display: flex;
}

/* De modal zelf */
.modal {
  background: #fff;
  padding: 24px;
  border-radius: 8px;
  width: 420px;
  max-width: 90%;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  animation: fadeIn 0.25s ease-out;
}

.modal-window {
  background: #fff;
  padding: 24px;
  border-radius: 8px;
}

table td {
  vertical-align: top;
}

.planner-wrapper {
  width: calc(100vw - 2rem);
  position: relative;
  left: 50%;
  margin-left: calc(-50vw + 1rem);
  margin-right: calc(-50vw + 1rem);
}

.planner-table th, td {
  padding: 0.25rem;
  border: 1px solid #ddd;
}

.planner-table {
  width: 100%;
  table-layout: fixed;
}
.planner-table th:nth-child(1),
.planner-table th:nth-child(2),
.planner-table td:nth-child(1),
.planner-table td:nth-child(2) {
  width: 3rem;
  max-width: 3rem;
  white-space: nowrap;
}
.planner-table th:nth-child(3),
.planner-table td:nth-child(3) {
  width: 7rem;
  max-width: 7rem;
  white-space: wrap;
}
.planner-table th:nth-child(4),
.planner-table td:nth-child(4) {
  width: 4rem;
  max-width: 4rem;
}
.planner-table th:nth-child(5),
.planner-table td:nth-child(5) {
  width: 4rem;
  max-width: 4rem;
}

.members-flex, .regatta-flex {
  display: none;
}

#registrations-section, #member-toggle {
  display: none;
}

.my-4 {
  display: none;
}

body {
  background-color: var(--body-bg);
}

svg.logo {
  height: 48px;
  width: 48px;
  fill: var(--logo-bg);
}

/*# sourceMappingURL=user.css.map */
