.express-cert-banner-compact {
  width: 100%;
  height: 60px;
  background: linear-gradient(135deg, var(--site-color) 0%, #eb8a23 100%);
  border-radius: 10px;
  box-shadow: 0 6px 25px rgba(255, 107, 107, 0.25);
  margin: 20px 0;
}

.banner-content-compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 25px;
}

.banner-text-compact {
  color: white;
  font-size: 18px;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.express-cert-btn-compact {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.express-cert-btn-compact:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.modal-backdrop {
  z-index: 1000 !important;
}

.modal-header-gradient {
  background: linear-gradient(135deg, var(--site-color), #eb8a23);
  color: white;
}

.section-title {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--site-color);
}

.document-item {
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.document-item:hover {
  border-color: var(--site-color);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.1);
}

.document-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.document-name {
  font-weight: 600;
  color: #333;
  font-size: 16px;
}

.required-badge {
  background: #ff6b6b;
  color: white;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 500;
}

.custom-file-input {
  border: 2px solid #e9ecef;
  border-radius: 8px;
  transition: border-color 0.3s ease;
}

.custom-file-input:focus {
  border-color: var(--site-color);
  box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.checkout-section {
  background: #f8f9fa;
  border-radius: 16px;
  padding: 25px;
  border: 2px solid #e9ecef;
  height: fit-content;
  position: sticky;
  top: 20px;
}

.checkout-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
  text-align: center;
}

.price-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 8px;
}

.price-item.total {
  border-top: 2px solid #dee2e6;
  padding-top: 12px;
  font-weight: 600;
  font-size: 18px;
  color: #333;
}

.price-label {
  color: #666;
}

.price-value {
  font-weight: 500;
  color: #333;
}

.checkout-btn {
  background: linear-gradient(135deg, #10ac84, #00d2d3);
  border: none;
  padding: 16px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  margin-top: 20px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.checkout-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(16, 172, 132, 0.3);
}

.checkout-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
}

.user-details-section {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 12px;
  border: 2px solid #e9ecef;
}

.form-validation-error {
  color: #dc3545;
  font-size: 12px;
  margin-top: 5px;
}

.file-upload-success {
  border-color: #28a745 !important;
}

.security-info {
  text-align: center;
  margin-top: 15px;
  font-size: 12px;
  color: #666;
}

@media (max-width: 768px) {
  .express-cert-btn {
    font-size: 16px;
    padding: 14px 28px;
  }
}

.payment-modal-header {
  background: linear-gradient(135deg, #ec973c 0%, #eb8a23 100%);
  color: white;
  border-radius: 16px 16px 0 0 !important;
  padding: 25px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.payment-modal-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  pointer-events: none;
}

.payment-modal-header .modal-title {
  font-size: 24px;
  font-weight: 700;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
}

.payment-modal-header .btn-close {
  position: relative;
  z-index: 2;
}

.payment-amount-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  margin: -25px -25px 25px -25px;
  padding: 30px 25px;
  text-align: center;
}

.payment-amount-title {
  font-size: 16px;
  color: #6c757d;
  margin-bottom: 8px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.payment-amount-value {
  font-size: 36px;
  font-weight: 800;
  color: #ec973c;
  margin-bottom: 8px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.payment-amount-subtitle {
  font-size: 14px;
  color: #2d3436;
  margin: 0;
  font-weight: 500;
}

.payment-method-btn {
  flex: 1;
  background: white;
  border: 3px solid #e9ecef;
  border-radius: 20px;
  padding: 30px 20px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.payment-method-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.8),
    transparent
  );
  transition: left 0.5s;
}

.payment-method-btn:hover::before {
  left: 100%;
}

.payment-method-btn:hover {
  transform: translateY(-8px);
  border-color: #ec973c;
  box-shadow: 0 15px 40px rgba(236, 151, 60, 0.3);
}

.payment-method-btn.btn-outline-primary:hover {
  border-color: #ec973c;
  background: white;
  color: #2d3436;
}

.payment-method-btn.btn-outline-success {
  border-color: #00b894;
}

.payment-method-btn.btn-outline-success:hover {
  border-color: #00a085;
  box-shadow: 0 15px 40px rgba(0, 184, 148, 0.3);
  background: white;
  color: #2d3436;
}

.payment-method-btn i.fa-2x {
  font-size: 48px;
  margin-bottom: 15px;
  display: block;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.payment-method-btn strong {
  font-size: 18px;
  font-weight: 700;
  color: #2d3436;
  display: block;
  margin-bottom: 8px;
}

.payment-method-btn small {
  font-size: 14px;
  color: #636e72;
  line-height: 1.4;
}

.payment-unavailable-section {
  margin-top: 20px;
}

.payment-alert {
  border-radius: 16px;
  padding: 20px;
  border: none;
  position: relative;
  overflow: hidden;
}

.payment-alert::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: currentColor;
}

.payment-alert.alert-warning {
  background: linear-gradient(135deg, #ffeaa7, #fdcb6e);
  color: #2d3436;
}

.payment-alert.alert-info {
  background: linear-gradient(135deg, #ec973c, #eb8a23);
  color: white;
}

.payment-alert .alert-icon {
  font-size: 20px;
  margin-right: 10px;
  vertical-align: middle;
}

.payment-alert .alert-title {
  font-weight: 700;
  margin-bottom: 8px;
}

.payment-alert a {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.2);
  color: inherit;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  margin-top: 8px;
  transition: all 0.3s ease;
}

.payment-alert a:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
  color: inherit;
}

.payment-alert a i {
  margin-right: 6px;
}

/* Loading States */
.payment-method-btn:disabled {
  pointer-events: none;
  opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
  .payment-methods-grid {
    flex-direction: column;
    gap: 15px;
  }

  .payment-method-btn {
    padding: 25px 15px;
  }

  .payment-amount-value {
    font-size: 28px;
  }

  .payment-modal-header {
    padding: 20px;
  }

  .payment-modal-header .modal-title {
    font-size: 20px;
  }
}

/* Custom modal styling */
.payment-method-modal .modal-content {
  border: none;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.payment-method-modal .modal-body {
  padding: 25px;
}

.payment-cancelled-alert,
.payment-failed-alert {
  font-family: inherit;
}

.payment-error-details {
  text-align: left;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
  margin-top: 10px;
}

.payment-error-details p {
  margin: 8px 0;
}

.support-contact {
  text-align: left;
  padding: 15px;
}

.support-contact p {
  margin: 12px 0;
  font-size: 16px;
}

.support-contact i {
  color: #ec973c;
  margin-right: 8px;
  width: 20px;
}

.btn-retry-payment {
  padding: 10px 24px !important;
}

/* SweetAlert2 animation customization */
.swal2-popup.swal2-show {
  animation: swal2-show 0.3s;
}

.swal2-icon {
  margin: 20px auto 10px !important;
}
