/* === BODY BACKGROUND === */
body {
  background: #000;
  font-family: 'Poppins', sans-serif;
  color: #f3f4f6;
  margin: 0;
  padding: 0;
}

/* === STICKY PROGRESS BAR === */
.progress-container {
  position: sticky;
  top: 10px;
  z-index: 9999;
  background: #4a4a4a; /* dark gray background */
  padding: 10px 20px;
  border-radius: 10px;
  max-width: 720px;
  margin: 10px auto 20px auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}


.progress-bar {
  height: 8px;
  width: 0%;
  background: linear-gradient(90deg, #FFD700, #FF8C00);
  border-radius: 10px;
  transition: width 0.3s ease;
}

.progress-text {
  font-size: 0.85rem;
  color: #FFD700;
  font-weight: 500;
  text-align: right;
}

/* === FORM MODAL WRAPPER === */
.google-form-wrapper {
  max-width: 720px;
  margin: 20px auto 80px auto;
  padding: 30px 35px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.8);
  color: #0b0b0c;
  position: relative;
  z-index: 10;
}

/* === FORM TITLE === */
.form-title {
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 35px;
  background: linear-gradient(90deg, #FFD700, #FF8C00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* === FORM STEP CARD === */
.form-step {
  display: none;
  animation: fadeUp 0.5s ease both;
}

.form-step.active {
  display: block;
}

.card {
  background: #f9f9f9;
  padding: 25px 30px;
  border-radius: 12px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.25);
  margin-bottom: 25px;
}

/* === LOGO FIX === */
.form-logo {
  text-align: center;
  margin-bottom: 15px;
}

.form-logo img {
  max-width: 140px; /* limit logo width */
  height: auto;
  object-fit: contain; /* prevents stretching */
}

/* === INPUTS, TEXTAREA, SELECT === */
input[type="text"],
input[type="email"],
input[type="date"],
input[type="time"],
input[type="file"],
select,
textarea {
  width: 100%;
  padding: 12px 15px;
  margin: 10px 0 15px 0;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  box-sizing: border-box;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #ffd700;
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
}

/* === CHECKBOX & RADIO GROUP === */
.checkbox-group,
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 15px;
}

.checkbox-group label,
.radio-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  cursor: pointer;
  color: #333;
}

.checkbox-group input,
.radio-group input {
  accent-color: #ffd700;
}

/* === NAVIGATION BUTTONS === */
.form-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.form-navigation button {
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: linear-gradient(90deg, #ffd700, #ff8c00);
  color: #000;
}

.form-navigation button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(255, 180, 0, 0.5);
}

#submitBtn {
  display: none;
}

/* === SMALL TEXT === */
small {
  font-size: 0.85rem;
  color: #666;
  display: block;
  margin-bottom: 6px;
}

.other-input {
  margin-top: 5px;
  padding: 6px 8px;
  width: 60%;
}

/* === MEDIA QUERIES === */
@media (max-width: 768px) {
  .google-form-wrapper {
    margin: 20px 15px;
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .form-navigation {
    flex-direction: column;
    gap: 10px;
  }
  .other-input {
    width: 100%;
  }
}

/* === FORM LOGO === */
.form-logo {
  text-align: center;      /* center the logo */
  margin-bottom: 15px;     /* spacing between logo and step title */
}

.form-logo img {
  max-width: 140px;        /* maintain size */
  width: auto;             /* prevent stretching */
  height: auto;            /* maintain aspect ratio */
  object-fit: contain;
}

/* === STEP TITLE === */
.step-title {
  text-align: center;      /* center step title */
  font-weight: 700;
  margin-bottom: 8px;
}

/* === GOLD DIVIDER === */
.step-divider {
  width: 120px;
  height: 4px;
  margin: 10px auto 20px auto; /* spacing top/bottom around the line */
  border-radius: 10px;
  background: linear-gradient(90deg, #FFD700, #FF8C00);
  animation: dividerGrow 0.6s ease;
}

.form-step.active {
  display: block;
}

.time-presets {
  display: flex;
  justify-content: center; /* center buttons */
  gap: 10px;
  margin-bottom: 10px;
}

.time-btn {
  flex: 1;
  padding: 10px 0;
  border-radius: 8px;
  border: 1px solid #ccc;
  background: #f4f6f8;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
}

.time-btn:hover {
  background: #e8eef5;
}

.time-btn:active {
  background: #dce7f5;
  transform: scale(0.97);
}

/* Active button style */
.active-time-btn {
  background: linear-gradient(90deg, #ffd700, #ff8c00);
  color: #000;
  border-color: #ffb400;
}

.thank-you-message {
  max-width: 720px;
  margin: 50px auto;
  padding: 30px 35px;
  background: #f9f9f9;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  text-align: center;
  color: #333;
  font-family: 'Poppins', sans-serif;
  animation: fadeInUp 0.6s ease forwards;
}

.thank-you-message h2 {
  color: #FFD700;
  font-size: 2rem;
  margin-bottom: 15px;
}

.thank-you-message p {
  font-size: 1rem;
}

/* Optional animation */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

