body {
  font-family: "Inter", sans-serif;
  background: linear-gradient(180deg, #fafafa, #ececec);
  color: #222;
  display: flex;
  flex-direction: column; /* voor sticky footer */
  min-height: 100vh;
  margin: 0;
  padding: 0; /* laat de container zelf ruimte hebben */
  text-align: center;
}

/* Container */
.container {
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  max-width: 500px;
  width: 90%;
  margin: 40px auto; /* afstand van bovenkant en onderkant */
  box-sizing: border-box;
  flex: none; /* hoogte volgt content */
}

/* Koppen en tekst */
h1 {
  font-size: 1.8em;
  margin-bottom: 1em;
}

h2 {
  font-size: 1.4em;
  margin-top: 0.3em;
}

p {
  font-size: 1.1em;
  line-height: 1.5em;
}

img {
  max-width: 100%;
  border-radius: 12px;
  margin-top: 15px;
}

/* Popup styling */
.popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
  transition: opacity 0.3s ease;
}

.popup-content {
  background: #fff;
  border-radius: 16px;
  padding: 25px 20px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
  animation: popin 0.3s ease;
}

.popup-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.popup button {
  padding: 10px 20px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1em;
  transition: background 0.2s ease;
}

#btn-ja { background: #4caf50; color: white; }
#btn-ja:hover { background: #45a049; }
#btn-neen { background: #f44336; color: white; }
#btn-neen:hover { background: #d32f2f; }

@keyframes popin {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Footer */
.footer {
  text-align: center;
  padding: 12px 0;
  font-size: 0.9em;
  color: #666;
  opacity: 0.85;
  border-top: 1px solid rgba(0,0,0,0.05);
  background: #fafafa;
  margin-top: auto; /* zorgt dat footer altijd onderaan zit */
}

.footer .heart {
  color: #e63946;
  display: inline-block;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%,100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

/* Login formulier */
.login-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding: 25px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  max-width: 400px;
  margin: 40px auto;
}

.login-form label { font-size: 1.1em; font-weight: 500; color: #333; }

.login-form input[type="password"] {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #ddd;
  border-radius: 12px;
  font-size: 1em;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.login-form input[type="password"]:focus {
  outline: none;
  border-color: #4CAF50;
  box-shadow: 0 0 6px rgba(76, 175, 80, 0.5);
}

.login-form button {
  width: 100%;
  padding: 12px 0;
  font-size: 1em;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  background: #4CAF50;
  color: white;
  transition: background 0.2s ease, transform 0.1s ease;
}

.login-form button:hover { background: #45a049; transform: translateY(-2px); }

.login-form p { font-size: 0.9em; color: red; margin: 0; text-align: center; }

/* Mobiel */
@media (max-width: 480px) {
  .container { width: 95%; margin: 20px auto; padding: 20px; }
  .login-form { width: 90%; padding: 20px; }
  h1 { font-size: 1.5em; }
  h2 { font-size: 1.2em; }
  p { font-size: 1em; }
  img { height: auto; }
}

.dagen-overzicht {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dag-button {
  background-color: #ffe5b4;
  border: none;
  padding: 10px 15px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.2s;
}

.dag-button:hover {
  background-color: #ffd28a;
}

.dag-content {
  margin-top: 20px;
  padding: 15px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

