/* Quick Checkout Form Styles */
.modern-checkout-form {
  max-width: 480px;
  margin: 3rem auto;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  padding: 1rem;
  font-family: "Poppins", sans-serif;
  color: #2c3e50;
  transition: all 0.4s ease-in-out;
}

.modern-checkout-form:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.form-title {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #54b435;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 3px solid #54b435;
  text-transform: uppercase;
}

.form-group {
  margin-bottom: 25px;
}

.form-group-com {
  margin-top: 25px;
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  margin-bottom: 8px;
  color: #34495e;
  font-weight: 500;
}

.weight-for-office {
  font-weight: 600 !important;
}

.input-field {
  width: 100%;
  padding: 14px 20px;
  border: 2px solid #e8e8e8;
  border-radius: 12px;
  font-size: 16px;
  outline: none;
  background-color: #f8f9fa;
  transition: all 0.3s ease-in-out;
}

.input-field:focus {
  border-color: #54b435;
  background-color: #ffffff;
  box-shadow: 0 0 8px rgba(84, 180, 53, 0.3);
}

.input-field:hover {
  border-color: #54b435;
}

/* Order Summary Styling */
.order-summary {
  margin: 25px 0;
  padding: 20px;
  border: 2px solid rgba(84, 180, 53, 0.15);
  border-radius: 16px;
  background-color: #f8f9fa;
  transition: all 0.3s ease-in-out;
}

.order-summary:hover {
  border-color: #54b435;
  background-color: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.order-summary h3 {
  margin: 0 0 20px 0;
  padding-bottom: 12px;
  border-bottom: 3px solid #54b435;
  font-size: 22px;
  color: #54b435;
  font-weight: 600;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  padding: 8px 0;
  font-size: 16px;
  transition: all 0.2s ease-in-out;
}

.summary-item:hover {
  background-color: rgba(84, 180, 53, 0.1);
  padding: 8px 12px;
  border-radius: 8px;
}

.summary-item.total {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 2px solid rgba(84, 180, 53, 0.1);
  font-weight: 700;
  font-size: 1.25em;
  color: #54b435;
}

.submit-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 16px 24px;
  background: #54b435;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  margin-top: 30px;
}

.submit-button:hover {
  background: #489c2f;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.submit-button:active {
  transform: translateY(0);
}

/* Form Row Layout */
.form-row {
  display: flex;
  gap: 2px;
  margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .modern-checkout-form {
    max-width: 100%;
    padding: 30px;
  }

  .form-row {
    flex-direction: column;
    gap: 20px;
  }

  .form-title {
    font-size: 28px;
  }

  .input-field {
    padding: 12px 18px;
  }
}

/* Select Field Specific Styling */
select.input-field {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2354b435' viewBox='0 0 16 16'%3E%3Cpath d='M8 11.5l-5-5h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
}

/* Error State */
.input-field.error {
  border-color: #e74c3c;
  background-color: #fff5f5;
}

/* Success State */
.input-field.success {
  border-color: #54b435;
  background-color: #e9f9e1;
}
