* {
  font-family: 'Poppins', sans-serif;
  box-sizing: border-box;
}

body {
  background: #f4f7fb;
  color: #333;
  margin: 0;
  padding: 40px 0;
}

.title {
  text-align: center;
  font-weight: 700;
  color: #0c2442;
  margin-bottom: 40px;
}

.order-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start; 
  gap: 25px;
  flex-wrap: nowrap;
}

/* ===== Left Panel (Form) ===== */
.requirements {
  flex: 0 0 68%;
  background: #f7f9fb;
  border-radius: 12px;
  padding: 35px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  min-height: auto; 
}


.requirements h3 {
  text-align: center;
  margin-bottom: 25px;
  color: #1b3a57;
}

.form-row {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}

label {
  font-weight: 500;
  margin-bottom: 5px;
  color: #1b3a57;
}

input, select, textarea {
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  outline: none;
  background: #fff;
}

textarea {
  resize: none;
  height: 80px;
}

.level-buttons {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.level-buttons button {
  flex: 1;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  background: #fff;
  cursor: pointer;
  font-weight: 500;
  color: #333;
  transition: 0.3s;
}

.level-buttons button.active {
  background: #0c2442;
  color: #fff;
  border-color: #0c2442;
  transition: all 0.3s ease;
}

.level-buttons button:hover {
  background-color: #0b3766;
  color: #fff;
}

.note {
  font-size: 13px;
  color: #777;
  margin-top: 15px;
}

/* ===== Right Panel (Summary) ===== */
.summary {
  flex: 0 0 30%;
  background: linear-gradient(180deg, #00247D , #E32636);
  color: #fff;
  border-radius: 12px;
  padding: 30px 25px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  height: fit-content; 
  align-self: flex-start; 
  position: sticky;
  top: 40px; 
}


.summary h3 {
  text-align: center;
  margin-bottom: 20px;
  color: #fff;
}

.summary ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.summary ul li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  font-size: 15px;
}

.total {
  text-align: center;
  margin-top: 25px;
}

.total h4 {
  margin-bottom: 5px;
  font-weight: 500;
}

.total p {
  font-size: 28px;
  font-weight: 700;
  margin: 0;
}

.checkout-btn {
  display: block;
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: rgba(255,255,255,0.25);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  margin-top: 25px;
  transition: 0.3s;
}

.checkout-btn:hover {
  background: rgba(255,255,255,0.4);
}

.error-field {
  border: 2px solid red !important;
  background-color: #ffeaea;
}


/* ===== Responsive ===== */
@media (max-width: 992px) {
  .order-container {
    flex-direction: column;
  }
  .requirements, .summary {
    flex: 100%;
  }
}

