/* General Reset for iframe usage */
body, html {
  margin: 0;
  padding: 0;
  overflow: hidden;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

#container {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding: 35px 30px;
  background: linear-gradient(to bottom right, #f7f9fc, #ffffff);
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  box-sizing: border-box;
}

/* Main Title */
#main-title {
  text-align: center;
  color: #2c3e50;
  margin-bottom: 30px;
  font-size: 32px;
  font-weight: bold;
  border-bottom: 2px solid #ecf0f1;
  padding-bottom: 10px;
}

/* Labels */
.label, label {
  display: block;
  margin: 12px 0 6px;
  font-weight: 600;
  color: #2c3e50;
}

/* Input Fields */
.input-field {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #dce1e7;
  border-radius: 6px;
  font-size: 16px;
  background-color: #f9fbfd;
  transition: border-color 0.3s;
  margin-bottom: 12px;
}

.input-field:focus {
  outline: none;
  border-color: #3498db;
  background-color: #fff;
}

/* Textarea */
#address {
  resize: vertical;
  min-height: 100px;
}

/* Result Display */
#result {
  margin-top: 20px;
  font-size: 20px;
  font-weight: 600;
  color: #27ae60;
  text-align: center;
}

/* Primary Buttons */
.primary-button {
  background-color: #3498db;
  color: #fff;
  border: none;
  padding: 14px 24px;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  margin-top: 20px;
  transition: background-color 0.3s ease;
  display: inline-block;
}

.primary-button:hover {
  background-color: #2c80b4;
}

/* Returning User Section */
h4 {
  margin-top: 30px;
  color: #2c3e50;
}

/* Order Form Section */
#orderForm {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #ecf0f1;
}

/* Responsive Design */
@media (max-width: 600px) {
  #container {
    padding: 25px 20px;
  }

  .primary-button {
    width: 100%;
  }
}

/* Register Section */
.register-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  flex-wrap: wrap;
}

/* Checkbox Styling */
.register-section input[type="checkbox"] {
  margin-right: 8px;
  transform: scale(1.2);
  accent-color: #3498db;
  cursor: pointer;
}

/* Already Have Account Link */
.account-toggle {
  color: #2980b9;
  cursor: pointer;
  font-size: 15px;
  text-decoration: underline;
  margin-top: 10px;
  transition: color 0.3s ease;
}

.account-toggle:hover {
  color: #1c5980;
}
