/* public_html/css/request-form.css */

#container {
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 1rem;
}

h1 {
  color: var(--primary-green);
  margin-bottom: 0.5rem;
}

.instructions {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.required-note {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: #555;
}

/* ==================== FORM STYLING ==================== */
.form-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-row > div {
  flex: 1;
}

label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: bold;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

/* ==================== REQUIRED ASTERISK - 2.25em (300% reduced by 25%) ==================== */
.required {
  color: var(--accent-orange);
  font-size: 2.25em;        /* 300% bigger reduced by 25% */
  font-weight: bold;
  vertical-align: baseline; /* normal character position (no superscript) */
  margin-left: 6px;         /* increased slightly for better spacing with larger size */
  line-height: 1;
}

/* ==================== SLIDER & THANK YOU ==================== */
.slider-container {
  position: relative;
  width: 100%;
  height: 60px;
  background: #e0e0e0;
  border-radius: 30px;
  overflow: hidden;
  cursor: grab;
  margin: 2rem 0;
  user-select: none;
}

.slider-track {
  position: absolute;
  height: 100%;
  width: 0%;
  background: linear-gradient(to right, var(--primary-green), #4ade80);
  transition: width 0.1s;
}

.slider-btn {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  background: white;
  border: 3px solid var(--primary-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--primary-green);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: left 0.1s;
  z-index: 10;
}

.slider-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: bold;
  color: #555;
  pointer-events: none;
  z-index: 5;
}

/* Thank You Section */
#thankYou {
  display: none;
  margin-top: 2rem;
  padding: 1.5rem;
  background: #f0f9f0;
  border: 2px solid var(--primary-green);
  border-radius: 8px;
}

#thankYou.show {
  display: block;
}