/* Partner Checkout Page Styling - Matching InBPE Prototype */

/* Main container styling */
.checkout-main {
  background: linear-gradient(#f7f9fa 0%, #f7f9fa 100%);
  min-height: 100vh;
  padding: 40px 20px;
  font-family: "DM Sans", sans-serif;
}

/* Form card containers */
.checkout-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0px 12px 25px 0px rgba(34, 36, 90, 0.06);
  overflow: hidden;
  position: relative;
}

/* Card headers */
.checkout-card-header {
  background-color: #ffffff;
  border-bottom: 1px solid #ebf3f6;
  padding: 12px 40px;
  min-height: 50px;
  display: flex;
  align-items: center;
  margin: 0;
  width: 100%;
}

.checkout-card-header h2 {
  font-family: "DM Sans", sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #32363b;
  margin: 0;
  padding: 0;
}

/* Card body */
.checkout-card-body {
  padding: 40px;
  background-color: #ffffff;
}

/* Form labels */
.checkout-label {
  display: block;
  text-align: left;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  color: #32363b;
  margin-bottom: 5px;
}

/* Form inputs */
.checkout-input,
.checkout-select {
  width: 100%;
  padding: 10px;
  border: 1px solid #c9ced4;
  border-radius: 12px;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  color: #707780;
  background-color: #ffffff;
  margin-top: 5px;
}

.checkout-input::placeholder {
  color: #707780;
}

.checkout-input:focus,
.checkout-select:focus {
  outline: none;
  border-color: #e5a059;
}

/* Payment method buttons */
.payment-method-btn {
  width: 100%;
  min-height: 60px;
  max-height: 60px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 10px;
  border: 1px solid #c9ced4;
  border-radius: 6px;
  background-color: #ffffff;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin: 0 7px;
}

.payment-method-btn.active {
  background-color: #edf1f3;
}

.payment-method-btn:hover {
  background-color: #f7f9fa;
}

.payment-method-icon {
  font-size: 16px;
  color: #707780;
  margin-right: 10px;
}

.payment-method-label {
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  color: #32363b;
  text-align: center;
}

/* Submit button */
.checkout-submit-btn {
  font-family: "DM Sans", sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  padding: 9px 21px;
  margin: 40px 10px 10px;
  font-weight: 500;
  text-decoration: none;
  color: #fff;
  font-size: 18px;
  background: linear-gradient(#e5a059 0%, #e5a059 100%);
  height: 50px;
  width: 100%;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.checkout-submit-btn:hover {
  background: linear-gradient(#01273e 0%, #01273e 100%);
}

/* Summary section */
.checkout-summary {
  padding: 20px 40px;
}

.checkout-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.checkout-summary-label {
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #32363b;
}

.checkout-summary-value {
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: #32363b;
}

/* Grid layout for form fields */
.checkout-field-row {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.checkout-field-col {
  flex: 1;
}

.checkout-field-col-small {
  width: 40px;
  min-width: 40px;
  max-width: 40px;
}

/* Responsive design */
@media (max-width: 768px) {
  .checkout-card-header {
    padding: 10px 20px;
    min-height: 45px;
  }

  .checkout-card-header h2 {
    font-size: 16px;
  }

  .checkout-card-body {
    padding: 20px;
  }

  .checkout-summary {
    padding: 20px;
  }

  .payment-method-btn {
    flex-direction: column;
    max-height: 80px;
    min-height: 80px;
    justify-content: flex-start;
    padding-top: 14px;
    margin: 4px;
  }

  .payment-method-icon {
    margin-right: 0;
    margin-bottom: 6px;
  }

  .payment-method-label {
    font-size: 12px;
    white-space: normal;
  }

  .checkout-field-row {
    flex-direction: column;
  }

  .checkout-submit-btn {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .checkout-main {
    padding: 20px;
  }

  .checkout-card-header {
    padding: 8px 15px;
    min-height: 40px;
  }

  .checkout-card-header h2 {
    font-size: 15px;
  }
}

