/* FORM PAGE */
.form-page {
  background: #f8f8f8;
  padding: 40px 0;
  margin-top: 100px; /* Tambahan jarak dari navbar */
}

@media (max-width: 768px) {
  .form-page {
    margin-top: 70px; /* Jarak lebih kecil di layar HP */
  }
}

.container {
  max-width: 700px;
  margin: auto;
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

h1 {
  text-align: center;
  margin-bottom: 25px;
  font-size: 2rem;
  font-weight: 700;
  color: #EA232A;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #EA232A;
}

.input-icon {
  position: relative;
}

.input-icon i {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  color: #888;
  font-size: 1rem;
}

input, select {
  width: 100%;
  padding: 12px 14px 12px 40px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  background: #fff;
  outline: none;
  transition: all 0.3s ease;
}

input:focus, select:focus {
  border-color: #EA232A;
  box-shadow: 0 0 8px rgba(234,35,42,0.3);
}

small {
  display: block;
  margin-top: 5px;
  font-size: 0.85rem;
  color: #777;
}

.total-section {
  background: #fff4f2;
  padding: 15px;
  border-radius: 8px;
  margin-top: 10px;
  text-align: center;
}

.total-section h3 {
  margin: 0 0 10px;
  font-size: 1.3rem;
}

#totalAmount {
  font-size: 1.8rem;
  font-weight: 800;
  color: #EA232A;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 25px;
}

.back-button,
.submit-button {
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.back-button {
  background: #ccc;
  color: #333;
}

.back-button:hover {
  background: #b3b3b3;
}

.submit-button {
  background: linear-gradient(135deg, #EA232A, #ff4d4d);
  color: white;
}

.submit-button:hover {
  background: linear-gradient(135deg, #d1202a, #e64545);
  transform: scale(1.05);
}