/* ============================= */
/* GLOBAL RESET / BACKGROUND */
/* ============================= */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;

  background-image: url("images/background/vissebak.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ============================= */
/* SVG LAYERS */
/* ============================= */
#main-svg {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10;
}

#bubble-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 30;
  pointer-events: none;
}

/* ============================= */
/* GRAPH ELEMENTS */
/* ============================= */
text {
  font-weight: 300;
  font-style: italic;
  cursor: pointer;
}

path.link {
  stroke-opacity: 0.5;
  stroke-width: 1;
  fill: none;
}

/* ============================= */
/* PANIC / ORGANISE SWITCH */
/* ============================= */
#mode-switch {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  user-select: none;
  color: #222; /* standaardkleur voor linkerkant */
}

/* Stijl voor de rechterkant tekst "In formatie!!!" */
#mode-switch span:last-child {
  color: #4c56a6; /* blauw voor 'In formatie!!!' */
  font-weight: bold;
  cursor: default;
}


/* Toggle switch styling (existing) */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 28px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #4CAF50;
}

input:checked + .slider:before {
  transform: translateX(32px);
}

/* ============================= */
/* TOOLTIP FOR "IN FORMATIE!!!" TEXT */
/* ============================= */
#info-tooltip {
  position: fixed;
  pointer-events: none;
  background: rgba(76, 86, 166, 0.9); /* matches your desired color #4c56a6 */
  color: white;
  padding: 6px 10px;
  font-size: 13px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.15s;
  z-index: 60;
}

/* ============================= */
/* SLIDING INFO PANEL (SQUARE) */
/* ============================= */
#info-panel {
  position: fixed;
  top: 50%;                     
  right: -748px;                 
  width: 726px;                  
  height: 726px;                 
  transform: translateY(-50%);   
  background: transparent;
  z-index: 20;
  transition: right 0.45s ease;
  pointer-events: none;
  box-sizing: border-box;
}

#info-panel.open {
  right: 24px;                   
}

#info-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;             
  display: block;
  pointer-events: auto;
}

/* ============================= */
/* PASSWORD OVERLAY */
/* ============================= */
#password-overlay {
  position: fixed;
  inset: 0;
  background: url("images/background/vissebak.png") center/cover no-repeat;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
}

#password-box {
  text-align: center;
}

#password-box label {
  font-size: 20px;
  font-weight: bold;
  display: block;
  margin-bottom: 12px;
}

#password-input {
  font-size: 18px;
  padding: 8px 12px;
  width: 180px;
}
