/* =========================
   ORDER FORM
========================= */

.order-form {
  max-width: 820px;
  margin: 80px auto;
  padding: 40px 32px;
  position: relative;
  background:
    linear-gradient(
      180deg,
      #f2f6f4,
      #ffffff
    );
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.order-form form {
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(14px);
  border-radius: 32px;
  padding: 40px;
  box-shadow:
    0 20px 50px rgba(0,0,0,0.08);
}

.order-form::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at top center,
      rgba(143,179,184,0.22),
      transparent 60%
    ),
    radial-gradient(
      circle at bottom left,
      rgba(200,190,150,0.18),
      transparent 55%
    );
  pointer-events: none;
}

.order-form input,
.order-form textarea,
.order-form select {
  background: #fdfefe;
  border: 1px solid rgba(143,179,184,0.25);
}

.order-form input:focus,
.order-form textarea:focus,
.order-form select:focus {
  border-color: #8fb3b8;
  box-shadow: 0 0 0 3px rgba(143,179,184,0.15);
}

.order-title {
  text-align: center;
  padding-bottom: 30px;
}

.order-form h3 {
  text-align: center;
  font-size: 26px;
  margin-bottom: 10px;
  color: #2c2c2c;
}

.order-form p {
  text-align: center;
  color: #777;
  margin-bottom: 30px;
  font-size: 15px;
}

/* =========================
   SECTION TITLE
========================= */

.order-form h4 {
  margin-top: 36px;
  margin-bottom: 14px;
  font-size: 16px;
  font-weight: 600;
  color: #7a5c3e;
  border-left: 4px solid #c2a27c;
  padding-left: 10px;
}

/* =========================
   FORM GROUP
========================= */

.order-form .form-group {
  margin-bottom: 20px;
}

.order-form label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #555;
}

/* =========================
   INPUT & TEXTAREA
========================= */

.order-form input,
.order-form textarea,
.order-form select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #ddd;
  font-size: 14px;
  transition: all 0.25s ease;
  background: #fafafa;
}

.order-form textarea {
  min-height: 90px;
  resize: vertical;
}

.order-form input:focus,
.order-form textarea:focus,
.order-form select:focus {
  outline: none;
  border-color: #c2a27c;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(194, 162, 124, 0.2);
}

/* =========================
   GRID (PAIR INPUT)
========================= */

.order-form .form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

/* =========================
   BUTTON
========================= */

.order-form .btn-order {
  margin-top: 36px;
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, #c2a27c, #a9845a);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(169, 132, 90, 0.4);
}

.order-form .btn-order:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(169, 132, 90, 0.5);
}

.order-form .btn-order:active {
  transform: translateY(0);
}

/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {
  .order-form {
    padding: 28px 20px;
  }

  .order-form .form-grid {
    grid-template-columns: 1fr;
  }
}

.section-label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #4a3b2c;
}

/* Wrapper */
.select-wrapper {
  position: relative;
}

/* Select */
.select-wrapper select {
  width: 100%;
  padding: 14px 42px 14px 16px;
  border-radius: 14px;
  border: 1px solid #e4d9cc;
  background: #fff;
  font-size: 14px;
  color: #3a2e24;
  appearance: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

/* Arrow custom */
.select-wrapper::after {
  content: "▾";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: #9c7a54;
  pointer-events: none;
}

/* Hover */
.select-wrapper select:hover {
  border-color: #c4a484;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}

/* Focus */
.select-wrapper select:focus {
  outline: none;
  border-color: #b08b5e;
  box-shadow: 0 0 0 3px rgba(176,139,94,0.2);
}

/* Placeholder style */
.select-wrapper select option[disabled] {
  color: #b5a393;
}

/* === DRIVE INPUT (HIDDEN DEFAULT) === */
.drive-input {
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  max-height: 0;
  overflow: hidden;
  pointer-events: none;
  transition:
    opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    max-height 0.45s ease;
}

/* === SHOW STATE === */
.drive-input.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  max-height: 140px;
  pointer-events: auto;
  margin-top: 14px;
}

/* === INPUT STYLE (LUXURY TOUCH) === */
.drive-input input {
  width: 100%;
  padding: 15px 16px;
  border-radius: 16px;
  border: 1px solid #e4d9cc;
  font-size: 14px;
  background: linear-gradient(180deg, #ffffff, #faf7f3);
  color: #3a2e24;
  transition: all 0.3s ease;
}

.drive-input input::placeholder {
  color: #b7a898;
}

.drive-input input:focus {
  outline: none;
  border-color: #b08b5e;
  box-shadow:
    0 10px 25px rgba(176,139,94,0.15),
    0 0 0 3px rgba(176,139,94,0.18);
}
