/* Reset & Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

body {
  background: #f2f2f2;
  color: #333;
  line-height: 1.5;
}

/* Container */
.payment_container {
  max-width: 700px;
  margin: 30px auto;
  background: white;
  padding: 25px 30px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  margin-top: 7rem;
}

/* Headings */
h2 {
  margin: 10px 0;
  font-size: 22px;
  color: #111;
}

.section-title {
  background: #005a8c;
  color: white;
  padding: 10px 15px;
  font-weight: bold;
  font-size: 16px;
  /* margin: 25px 0 10px; */
}

/* Paragraphs */
.para {
  font-size: 13px;
  color: #555;
  margin: 10px 0 15px;
}

/* Form Fields */
.form-group {
  margin-bottom: 15px;
}

label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
  font-size: 14px;
}

.required {
  color: red;
  margin-left: 4px;
}

input[type="text"],
input[type="email"],
input[type="tel"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* Phone Field */
.phone-group {
  display: flex;
  gap: 10px;
  align-items: center;
}

.phone-group input[type="tel"] {
  flex: 1;
}

.phone-group input[type="text"] {
  width: 80px;
}

.phone-group img {
  cursor: pointer;
}

/* Notice */
.notice {
  color: red;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin-bottom: 20px;
}
.user_deails_info {
  margin: 20px 0px;
  border: 1px solid #c5c5c5;
}
.user_deails_info p{
  padding: 7px 0px;
}
.user_deails_info a{
  color: red;
  text-decoration: none;
}
.user_deails_info i{
  font-size: 17px;
}
.user_info_fields span {
  color: red;
}
.user_info_fields input[type="number"] {
  padding: 10px 3px;
  border: 1px solid #c5c5c5;
  width: 50%;
  border-radius: 3px;
}
.form-group input[type="date"] {
  padding: 10px 3px;
  border: 1px solid #c5c5c5;
  width: 30%;
  border-radius: 3px;
}

/* RADIO BUTTON CSS */
.radio-group {
  padding: 10px;
}
.radio-group label {
  padding: 7px;
  font-size: 16px;
  color: #666;
  cursor: pointer;
}
/* Checkbox */
.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}

.checkbox-group input[type="checkbox"] {
  margin-top: 5px;
}


.checkbox-group label {
  font-weight: normal;
  font-size: 13px;
}

.checkbox-group a {
  color: #005a8c;
  text-decoration: underline;
}

.terms {
  border: 1px solid #ccc;
  background: #f9f9f9;
  padding: 10px;
  margin-top: 10px;
  font-size: 12px;
  color: #666;
  max-height: 100px;
  overflow-y: auto;
}

/* Payment Options */
.payment-option {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.payment-option label {
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 12px;
  cursor: pointer;
  background-color: #fdfdfd;
  display: flex;
  align-items: center;
  gap: 10px;
}

.payment-option label:hover {
  background-color: #f0f8ff;
}

/* Submit & Summary */
.total-line {
  text-align: right;
  font-weight: bold;
  font-size: 18px;
  margin-top: 20px;
}

.btn-send {
  display: block;
  width: 100%;
  background: #e31837;
  color: white;
  padding: 15px;
  border: none;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 20px;
  transition: background 0.3s ease;
}

.btn-send:hover {
  background: #c4122f;
}

.info-note {
  font-size: 12px;
  color: gray;
  text-align: center;
  margin-top: 10px;
}

/* ========================
   Order Summary Styles
   ======================== */
.toggle-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #e8f4fd;
  border: 1px dashed #2e89c1;
  padding: 10px 15px;
  cursor: pointer;
  font-weight: bold;
  color: #2e89c1;
  font-size: 16px;
  border-radius: 4px;
  margin: 15px 0;
}

.order-summary {
  display: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 15px;
  background: #fafafa;
  margin-bottom: 25px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 15px;
}

th, td {
  text-align: left;
  padding: 10px;
  border-bottom: 1px solid #ccc;
}

th {
  text-transform: uppercase;
  font-size: 13px;
  color: #666;
}

td {
  font-size: 15px;
}

.bold {
  font-weight: bold;
}

.modify-btn {
  background: #0074bd;
  color: white;
  padding: 10px 15px;
  text-decoration: none;
  border-radius: 4px;
  display: inline-block;
  margin-top: 10px;
}

.totals {
  text-align: right;
  font-size: 14px;
}

.totals div {
  margin-bottom: 5px;
}

.totals .bold {
  font-size: 18px;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .payment_container {
    padding: 15px;
    margin-top: 4rem;
  }

  .phone-group {
    flex-direction: column;
    align-items: stretch;
  }

  .total-line {
    text-align: left;
  }

  .btn-send {
    font-size: 15px;
  }
}
