/* ================================================================
   REGISTRATION FEE STYLES
   Centralized CSS for Registration Fee panel across all pages
   ================================================================ */

/* ----------------------------------------------------------------
   Container Layout
   ---------------------------------------------------------------- */
.setRegiFee-hide-container {
  display: flex;
  gap: 30px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  align-items: flex-start;
}

.setRegiFee-left-col {
  width: 65%;
  flex-shrink: 0;
}

.setRegiFee-right-col {
  width: 35%;
  flex-grow: 1;
}

.setRegiFee-right-col p {
  color: #f8f9fa;
  font-size: 24px;
  font-family: 'DIN', 'DIN Round', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ----------------------------------------------------------------
   Fee Information Section
   ---------------------------------------------------------------- */
.fee_info p {
  font-family: 'DINLight', 'DIN Round', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 100;
  font-size: 12px;
  color: #f8f9fa;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

/* ----------------------------------------------------------------
   Fee Charges Display
   ---------------------------------------------------------------- */
.fee_charges {
  background-color: #fff;
  border-radius: 4px;
  padding: 15px 0px 10px 0px;
}

.fee_charges p {
  font-family: 'DIN', 'DIN Round', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 12px;
  color: #f8f9fa;
}

.fee_charges p span {
  color: #b9ff66;
  font-weight: 500;
}

.fee_charges span {
  font-family: 'DIN', 'DIN Round', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: bold;
}

/* ----------------------------------------------------------------
   Form Controls
   ---------------------------------------------------------------- */
.setRegiFee-right-col .form-label {
  color: #f8f9fa;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.setRegiFee-right-col .form-control {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #f8f9fa;
}

.setRegiFee-right-col .form-control:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: #f5484d;
  color: #f8f9fa;
  box-shadow: 0 0 0 0.2rem rgba(245, 72, 77, 0.25);
}

.setRegiFee-right-col .form-select {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #f8f9fa;
}

.setRegiFee-right-col .form-select:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: #f5484d;
  color: #f8f9fa;
}

/* ----------------------------------------------------------------
   Payment Logo Section
   ---------------------------------------------------------------- */
.payment-logo-wrapper {
  margin-top: 1.5rem;
}

.desktop-payment-logo-wrapper {
  padding: 15px 0 0 0;
  margin-top: 10px;
}

.payment-logo {
  padding: 1rem;
  text-align: center;
}

.payment-logo img {
  margin-bottom: 0.5rem;
}

.payment-logo p {
  color: #f8f9fa !important;
  font-size: 13px !important;
  margin-bottom: 0.25rem;
}

/* Inline verified icon styling */
.payment-logo p img {
  margin-top: -2px; /* Slight adjustment for perfect alignment */
}

/* Ensure payment logos are visible */
.setRegiFee-hide-container .payment-logo-wrapper {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Override conflicting styles from RegistrationOptions.css */
.setRegiFee-hide-container .payment-logo p {
  color: #f8f9fa !important;
  font-size: 13px !important;
}

/* ================================================================
   MOBILE RESPONSIVE STYLES
   ================================================================ */
@media (max-width: 767px) {
  .setRegiFee-hide-container {
    flex-direction: column;
    gap: 20px;
    padding: 20px 15px;
  }

  .setRegiFee-left-col {
    width: 100%;
    order: 2; /* Appears second on mobile */
  }

  .setRegiFee-right-col {
    width: 100%;
    margin-top: 0;
    order: 1; /* Appears first on mobile */
  }

  .setRegiFee-right-col p {
    font-size: 18px;
  }

  /* Fix mobile width and gap for amount/currency inputs */
  .entry-fee-currency-row {
    display: flex !important;
    gap: 0.5rem !important;
    flex-wrap: nowrap !important;
    margin-left: 0 !important; /* Remove Bootstrap negative margins */
    margin-right: 0 !important;
    margin-bottom: 1rem !important; /* Add spacing before fee_charges */
  }

  .entry-fee-currency-row .col-6 {
    padding-left: 0 !important;
    padding-right: 0 !important;
    flex: 1 1 0 !important; /* Equal width columns accounting for gap */
    max-width: none !important; /* Override Bootstrap max-width */
  }

  /* Remove margin from form groups on mobile */
  .entry-fee-currency-row .form-group {
    margin-bottom: 0 !important;
  }

  /* Keep fee_charges font size same as desktop on mobile */
  .fee_charges p {
    font-size: 12px !important; /* Same as desktop */
  }

  /* Override margin-top on mobile for proper alignment */
  .setRegiFee-right-col .fee_charges {
    margin-top: 0 !important;
  }

  /* Payment logo mobile adjustments */
  .payment-logo-wrapper {
    margin-top: 1rem;
  }

  .payment-logo {
    padding: 0.75rem;
  }
}

/* ================================================================
   ADDITIONAL OVERRIDES
   ================================================================ */

/* PayPal Container */
.paypal-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #ffffff;
  border-radius: 8px;
  padding: 12px;
  margin-top: 1rem;
}