/* © 2025 Robbe Wulgaert · AI in de Klas */

/* Basiseigenschappen */
body {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
  background-color: #f9fafb;
  color: #1f2937;
}

/* iPhone Mock-up Placeholder */
.iphone-mockup {
  position: relative;
  background-color: #e5e7eb;
  border-radius: 2rem;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.iphone-mockup p {
  font-size: 0.875rem;
  color: #6b7280;
}

/* Batterijkader */
.battery-outline {
  position: relative;
  width: 2.5rem;
  height: 12rem;
  background-color: #ffffff;
  border: 2px solid #374151;
  border-radius: 0.5rem;
  overflow: hidden;
}
.battery-tip {
  position: absolute;
  top: -0.25rem;
  left: 50%;
  transform: translateX(-50%);
  width: 1rem;
  height: 0.5rem;
  background-color: #374151;
  border-radius: 0.1rem;
}
.battery-level {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #10B981;
  height: 0%; /* wordt dynamisch aangepast via JS */
  transition: height 1s ease-in-out;
}

/* Canvas fallback achtergrond */
#chart {
  background-color: #ffffff;
}

/* Modal zichtbaarheid */
#report-modal.hidden {
  display: none;
}
#report-modal.flex {
  display: flex;
}

/* Modal achtergrond en centreren */
#report-modal {
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  align-items: center;
  justify-content: center;
}

/* Formulier in modal */
#report-form {
  max-width: 600px;
}
