/* ==========================================
   PAYMENT METHOD STYLING - VISIBLE TEXT
   Upload to: /var/www/romeezgear/css/payment-methods.css
   ========================================== */

.payment-method-section {
  margin-top: 30px;
  padding: 25px;
  background: #f8f9fa;
  border-radius: 12px;
  border: 2px solid #e0e0e0;
}

.payment-method-section h3 {
	font-size: 18px;
	color: #294962;
	margin: 0 0 20px 0;
	font-weight: 700;
	display: flex;
	align-items: center;
	gap: 10px;
	justify-content: center;
}

.payment-method-section h3 i {
  color: #20c997;
}

/* Payment method options container */
.payment-methods {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
  flex-wrap: wrap;
  flex-direction: column;
}

/* Individual payment method option */
.payment-method-option {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 60px;
}

.payment-method-option:hover {
  border-color: #20c997;
  box-shadow: 0 4px 12px rgba(32, 201, 151, 0.2);
  transform: translateY(-2px);
}

.payment-method-option.active,
.payment-method-option.selected {
  border-color: #294962;
  background: linear-gradient(135deg, #f0f8ff 0%, #e6f7ff 100%);
  box-shadow: 0 6px 16px rgba(41, 73, 98, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 60px;
}

/* Radio button */
.payment-method-option input[type="radio"] {
  margin: 0 0 12px 0;
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: #294962;
}

/* Payment icon */
.payment-method-option .payment-icon {
  font-size: 42px;
  margin-bottom: 12px;
  display: block;
}

/* Payment name */
.payment-method-option .payment-name {
  font-size: 18px;
  font-weight: 700;
  color: #294962;
  display: block;
  margin-bottom: 5px;
}

.payment-method-option .payment-description {
  font-size: 13px;
  color: #666;
  display: block;
}

/* Credit card section */
#creditCardSection {
  /*background: white;
  padding: 25px;
  border-radius: 12px;
  border: 2px solid #e0e0e0;*/
  margin-bottom: 20px;
  margin-top: -40px;
}

#creditCardSection h4 {
  font-size: 18px;
  color: #294962;
  margin: 0 0 20px 0;
  font-weight: 600;
}

#creditCardSection button[type="submit"] {
  width: 100%;
  padding: 18px;
  background: linear-gradient(135deg, #294962 0%, #20c997 100%);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(41, 73, 98, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

#creditCardSection button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(41, 73, 98, 0.4);
}

#creditCardSection button[type="submit"]:active {
  transform: translateY(0);
}

#creditCardSection button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* PayPal info box */
#paypalInfo {
  background: #fff8e1;
  border-left: 4px solid #ffc107;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}

#paypalInfo h4 {
  font-size: 18px;
  color: #856404;
  margin: 0 0 15px 0;
  font-weight: 600;
}

#paypalInfo ul {
  margin: 0;
  padding-left: 20px;
  list-style: none;
}

#paypalInfo ul li {
  margin-bottom: 10px;
  font-size: 14px;
  color: #856404;
  position: relative;
  padding-left: 8px;
}

#paypalInfo ul li::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 8px;
  width: 6px;
  height: 6px;
  background: #ffc107;
  border-radius: 50%;
}

/* PayPal button container */
#paypal-button-container {
  min-height: 150px;
  padding: 20px;
  background: white;
  border-radius: 12px;
  border: 2px solid #e0e0e0;
}

/* Security badge */
.security-badge {
	text-align: center;
	margin-top: 25px;
	padding: 20px;
	background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
	border-radius: 10px;
	color: #666;
	font-size: 15px;
	font-weight: 500;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 2px solid #dee2e6;
}

.security-badge span:first-child {
  font-size: 28px;
  color: #20c997;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .payment-methods {
    flex-direction: column;
  }
  
  .payment-method-option {
    min-width: 100%;
  }

  .payment-method-section {
	min-width: 280px;
	margin-left: -10px;
  }

  .payment-method-option.active,
  .payment-method-option.selected {
    width: 10px;
  }
  
  #creditCardSection button[type="submit"] {
    font-size: 16px;
    padding: 16px;
    margin-left: -19px;
  }

  .security-badge {
    text-align: center;
    margin-top: 25px;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    color: #666;
    font-size: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #dee2e6;
    margin-left: -19px;
    width: 265px;
  }
}

/* Fix for invisible text issue */
.payment-method-option,
.payment-method-option * {
  color: #294962 !important;
}

.payment-method-option input[type="radio"] + .payment-icon {
  color: #294962 !important;
}

.payment-method-option input[type="radio"] + .payment-icon + .payment-name {
  color: #294962 !important;
}

/* Ensure text visibility in all states */
label[for="paymentCard"],
label[for="paymentPaypal"] {
  color: #294962 !important;
}

label[for="paymentCard"] *,
label[for="paymentPaypal"] * {
  color: #294962 !important;
}

/* Force visibility */
.payment-method-option .payment-name,
.payment-method-option .payment-description {
  color: #294962 !important;
  opacity: 1 !important;
  visibility: visible !important;
}