body {
  background: #132824;
  color: white;
  margin: 0;
  font-family: system-ui, -apple-system, sans-serif;
}

.container {
  max-width: 900px;
  margin: auto;
  padding: 15px;
  display: flex;
  flex-direction: column;
  min-height: 85vh;
}

textarea {
  width: 100%;
  padding: 15px;
  box-sizing: border-box;
  border-radius: 10px;
  border: none;
  background: #0d1917;
  color: #fff;
  font-size: 16px; /* Prevent zooming on iOS */
  resize: vertical;
}

label {
  display: block;
  margin: 15px 0 5px;
  font-size: 18px;
}

/* --- BUTTON ROW FIX FOR MOBILE --- */
.buttonRow {
  display: flex;
  flex-wrap: nowrap; /* Forces one line */
  gap: 8px; /* Small gap between buttons */
  margin: 20px 0;
  justify-content: space-between;
  width: 100%;
}

.buttonRow button {
  background: #f1a433;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  
  /* Flexible width adjustments */
  flex: 1; 
  white-space: nowrap; /* Prevents text splitting to two lines */
  padding: 12px 5px; /* Less side padding */
  font-size: 14px; /* Smaller font to fit */
  min-width: 0; /* Allows shrinking below content size if absolutely needed */
}

/* Make Auto-Slide slightly distinct if desired */
.startB {
  font-weight: bold;
}

button:hover {
  opacity: 0.85;
}

.muted {
  opacity: 0.7;
  text-align: center;
  margin-top: 20px;
  font-size: 0.8em;
}

/* --- QR CAROUSEL --- */
.carousel-section {
  margin-top: 10px;
  flex-grow: 1; /* Takes up available space */
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
}

.qrContainer {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  position: relative;
  min-height: 280px;
}

.qrGlow {
  position: absolute;
  width: 260px;
  height: 260px;
  filter: blur(30px);
  background: #48b4dfaa;
  border-radius: 20px;
  z-index: 1;
}

.qrContainer img {
  width: 260px;
  height: 260px;
  object-fit: contain;
  z-index: 2;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

/* --- FLOATING WHATSAPP BUTTON --- */
.floating-action-container {
  display: flex;
  justify-content: center;
  margin-top: auto; /* Pushes to bottom of container */
  margin-bottom: 20px;
  z-index: 100;
}

.wp-float-btn {
  background-color: #25D366;

  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 25px;
  border-radius: 50px;
  font-weight: bold;
  font-size: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  /*flex: 0 0 auto;  Don't stretch like other buttons */
}

.wp-float-btn img {
  width: 160px;
  height: 40px;
  filter: brightness(0) invert(1);
}

/* Time controls at bottom of page */
.time-controls {
  text-align: center;
  margin: 10px 0 30px;
}
.time-controls button {
    padding: 5px 15px;
    background: #444;
    color: white;
}