body {
  font-family: Arial, sans-serif;
  background: #1a1f1a; /* very dark green-grey */
  color: #d6e3d6; /* light misty green */
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

html, body {
  overflow: hidden;
  height: 100%;
  touch-action: none; /* prevents accidental touch scrolling */
}

.container {
  background: #252a25; /* dark gloomy green */
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  width: 350px;
  max-width: 90%; /* prevents edge‑to‑edge on mobile */
  margin: 0 10px; /* small horizontal spacing */
  border: 1px solid #3a443a; /* subtle moss border */
}


label {
  margin-top: 10px;
  display: block;
  color: #c9d7c9; /* softer light green */
}


input, textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border-radius: 5px;
  border: 1px solid #4a564a;
  background: #1e241e;
  color: #e3f2e3;
  font-size: 14px;
  box-sizing: border-box !important;
}


input::placeholder,
textarea::placeholder {
  color: #8a9c8a;
}


textarea {
  height: 60px;
  resize: none;
}


button {
  margin-top: 15px;
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 5px;
  background: #355c35; /* dark forest green */
  color: #e8fbe8;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s ease;
}


button:hover:not(:disabled) {
  background: #2d4e2d;
}


button:disabled {
  background: #3e3e3e;
  cursor: not-allowed;
}

button.hidden {
  opacity: 0;
  pointer-events: none;
}

/* --- Toggle Button --- */

.toggle-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* margin-top: 5px; */
    padding: 5px 0;
}

.toggle-label {
    font-size: 14px;
    color: #c9d7c9;
}

/* Switch container */
.switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 24px;
}

/* Hide checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* Background slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #3e3e3e;
    transition: 0.3s;
    border-radius: 24px;
}

/* Circle */
.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: #d6e3d6;
    transition: 0.3s;
    border-radius: 50%;
}

/* When checked */
.switch input:checked + .slider {
    background-color: #355c35;
}

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