/**
 * Event Ticket Page - UX Enhancements
 * Target Audience: 35-55 years
 * Focus: Better readability, clear hierarchy, improved accessibility
 * Date: January 2025
 */

/* ========================================
   SIDE-BY-SIDE LAYOUT: Bootstrap Column Approach
   ======================================== */


  .donation-input-wrapper{
    position: relative;
  }

  .donation-input-wrapper .wrapper{
    display: flex;
    gap: 10px;
  }

  .checkout-part .total-prices h6{
    color: #6c757d;
  }

  .donation-input-wrapper .currSymbol{
    position: absolute;
    left: 14px;
    top: 7px;
  }

  .sticky-top{
    position: sticky;
    top: 70px;
    z-index: 99;
  }

@media (min-width: 768px) {
  /* Make the row containing tickets a flex container */
  .ticket-section .row.pb-5 {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
  }

  /* Main tickets container - 8 columns width (66.67%) */
  .ticket-section .col-md-12 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
    padding-right: 15px;
  }

  /* Reset nested row margins */
  .ticket-table-rows-total {
    margin-top: 0 !important;
  }

  /* Keep terms column visible */
  .ticket-table-rows-total > div:first-child {
    display: block;
  }

  /* Checkout sidebar - fixed position on the right */


  /* Checkout part styling */
  .checkout-part {
    background: #ffffff;
    border-radius: 8px;
    padding: 1.5rem;
    /* box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08); */
    border: 1px solid #c1c1c1;
    margin-bottom: 20px;
  }

  .checkout-part.has-tickets{
    padding: 0px;
    border: none;
  }





  /* Donation section adjustments for sidebar */
  .donation-section {
    margin-bottom: 1.5rem !important;
    padding: 1rem !important;
  }

  .donation-section h5 {
    font-size: 1rem !important;
  }

  /* Coupon section in sidebar */
  .cuponApplied {
    margin-top: 1rem;
  }

  .cuponApplied .form-control {
    font-size: 0.95rem;
    min-height: 42px;
    max-width: 100%;
  }

  .cuponApplied .btn {
    font-size: 0.95rem;
    min-height: 42px;
    padding: 0.5rem 1rem;
  }


  /* Empty state styling */
  .checkout-part .empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    padding-bottom: 4rem;
  }

  .checkout-part .empty-state i {
    font-size: 4rem;
    color: #6c757d;
    opacity: 0.3;
  }

  .checkout-part .empty-state p {
    font-size: 1.125rem;
    font-weight: 500;
    color: #6c757d;
    margin: 0;
  }
}

/* Container adjustments */
/* @media (min-width: 768px) {
  .ticket-section .container {
    max-width: 100%;
  }
} */

/* Large desktop - wider layout */
@media (min-width: 1400px) {
  .ticket-section .col-md-12 {
    flex: 0 0 calc(70% - 1rem);
    max-width: calc(70% - 1rem);
  }

}

/* Tablet - keep stacked */
@media (max-width: 767px) {
  .checkout-part {
    margin-top: 1.5rem;
    padding: 1rem;
    border: 1px solid #e9ecef;
    border-radius: 8px;
  }
}

/* ========================================
   PHASE 1: TYPOGRAPHY & VISUAL IMPROVEMENTS
   ======================================== */

/* Base Font Size Improvements */

.ticket-details{
  padding: 10px 15px;
  background: #f2f2f2;
  margin-top: 10px !important;
  border-radius: 8px;
}

.ticket-details p{
  font-size: 16px;
}

.ticket-name-details.pl-75px{
  padding-left: 0px;
}

.terms-selector.pl-75px{
  padding-left: 0px;
}

.ticket-name-details.pr-75px{
  padding-left: 0px;
}

.ticket-table-header h4 {
  font-size: 1.25rem !important;
  font-weight: 600 !important;
  line-height: 1.4;
}

.ticket-name-details h4 {
  font-size: 1.15rem !important;
  font-weight: 500 !important;
  line-height: 1.4;
  margin-bottom: 0rem;
}

.ticket-price-details h4 {
  font-size: 1.5rem !important;
  font-weight: 500 !important;
  line-height: 1.3;
}

/* Enhanced Status Badges - Larger and More Prominent */
.badge {
  font-size: 0.875rem;
  padding: 0.4rem 0.75rem !important;
  font-weight: 600 !important;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.badge.bg-success {
  background-color: #28a745 !important;
  color: white !important;
  border: 2px solid #1e7e34;
}

.badge.bg-warning {
  background-color: #fff3cd !important;
  color: #856404 !important;
  border: 2px solid #ffc107;
}

.badge.bg-warning i{
  font-weight: 500;
  font-size: 14px;
}

.badge.bg-danger {
  background-color: #f8d7da !important;
  color: #721c24 !important;
  border: 2px solid #dc3545;
}

/* Larger Touch Targets for Buttons */
.btn,
button:not(.btn-close),
a.btn {
  min-height: 48px;
  font-size: 18px;
  padding: 0.875rem 1.5rem;
  font-weight: 500;
  line-height: 1.2;
  border-radius: 8px;
}

/* Exception: Participant action buttons should be compact */
.participant-actions-vertical .btn-icon-vertical,
.participant-actions-compact .btn {
  min-height: auto !important;
  padding: 0.5rem !important;
  font-size: 16px !important;
  line-height: 1 !important;
}

.btn-lg {
  min-height: 54px;
  font-size: 1.25rem;
  padding: 1rem 2rem;
}

/* Ticket Counter Buttons - Larger */
.ticket-counters button {
  max-width: 40px !important;
  height: 40px !important;
  min-height: 40px;
  font-size: 1.5rem !important;
  font-weight: 400 !important;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 20px !important;
  padding-right: 20px !important;
}

.ticket-counters input.ticket-value {
  font-size: 1.25rem !important;
  font-weight: 500;
  min-height: 48px;
  text-align: center;
}

/* Form Inputs - Larger for Better Usability */
.form-control,
.form-select {
  min-height: 48px;
  font-size: 1rem;
  padding: 0.6rem 1rem;
  border-radius: 8px;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
}

/* ========================================
   ACTION REQUIRED SECTION - NON-DISMISSIBLE
   ======================================== */

.action-required-card {
  box-shadow: 0 4px 16px rgba(255, 193, 7, 0.3) !important;
  border-width: 2px !important;
  border-color: #ffc107 !important;
  margin-bottom: 2rem;
  animation: gentle-pulse 2s ease-in-out infinite;
}

@keyframes gentle-pulse {
  0%, 100% {
    box-shadow: 0 4px 16px rgba(255, 193, 7, 0.3);
  }
  50% {
    box-shadow: 0 4px 20px rgba(255, 193, 7, 0.5);
  }
}

.action-required-card .card-header {
  background-color: #ffc107 !important;
  color: #000 !important;
  padding: 1.25rem 1.5rem;
  border-bottom: 2px solid #e0a800;
}

.action-required-card .card-header h3 {
  font-size: 1.5rem !important;
  font-weight: 700;
  margin-bottom: 0;
  display: flex;
  align-items: center;
}

.action-required-card .card-body {
  padding: 2rem 1.5rem;
}

.action-required-card .lead {
  font-size: 1.125rem;
  font-weight: 500;
  color: #333;
}

.action-item {
  background: #fffbf0;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  border-left: 5px solid #ffc107 !important;
  transition: all 0.3s ease;
}

.action-item:hover {
  background: #fff9e6;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.action-number {
  width: 48px;
  height: 48px;
  background: #ffc107;
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.action-item h5 {
  font-size: 1.25rem !important;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.action-item p {
  font-size: 1rem;
  line-height: 1.5;
}

/* Progress Bar in Action Card */
.action-required-card .progress {
  height: 12px;
  border-radius: 6px;
  background-color: #e9ecef;
}

.action-required-card .progress-bar {
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 6px;
}

/* ========================================
   PAYMENT VERIFICATION ENHANCEMENT
   ======================================== */

.bankInfo {
  background: #fff3cd !important;
  border: 3px solid #ffc107 !important;
  padding: 1.5rem !important;
  border-radius: 12px !important;
  margin-top: 1rem;
}

.bankInfo p {
  font-size: 1.125rem !important;
  font-weight: 500;
  margin-bottom: 1rem;
  color: #856404;
}

.confirmPaymentBtn,
a.confirmPaymentBtn {
  display: block !important;
  width: 100% !important;
  background: #dc3545 !important;
  color: white !important;
  padding: 1rem !important;
  border-radius: 8px !important;
  text-align: center !important;
  font-weight: 700 !important;
  font-size: 1.25rem !important;
  text-decoration: none !important;
  min-height: 54px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.confirmPaymentBtn:hover,
a.confirmPaymentBtn:hover {
  background: #bb2d3b !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

/* ========================================
   TICKET SELECTION VISUAL FEEDBACK
   ======================================== */

.ticket-table-rows {
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
  padding: 1rem 0;
}

.ticket-table-rows .couponDivWrapper{
  margin-top: 5px;
}

.ticket-table-rows.selected {
  background: none !important;
  outline: 1px solid #ffd25d !important;
}


/* ========================================
   BOOKING CARDS & STATUS
   ======================================== */

.bookedTickets {
  border: 2px solid #e9ecef;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.bookedTickets:hover {
  border-color: var(--bs-primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.bookedTickets h5 {
  font-size: 1.125rem !important;
  font-weight: 600;
}

.bookedTickets p {
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

/* Pending Tasks Card */
.pendingTasks {
  border: 2px solid #e9ecef;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.pendingTasks:hover {
  border-color: var(--bs-primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.pendingTasks h6 {
  font-size: 1rem !important;
  font-weight: 600;
}

.pendingTasks p {
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ========================================
   FORM STATUS BANNER
   ======================================== */

.form-status-banner {
  border-width: 2px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border-radius: 12px;
}

.form-status-banner.border-success {
  border-color: #28a745 !important;
  background: #f0fff4;
}

.form-status-banner.border-warning {
  border-color: #ffc107 !important;
  background: #fffbf0;
}

.status-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.status-icon.bg-success {
  background: #28a745 !important;
}

.status-icon.bg-warning {
  background: #ffc107 !important;
}

.form-status-banner h5 {
  font-size: 1.25rem !important;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form-status-banner .badge {
  font-size: 0.875rem;
  padding: 0.35rem 0.65rem;
}

/* ========================================
   PRICING SUMMARY ENHANCEMENTS
   ======================================== */

.total-prices {
  padding: 0;
  background: transparent;
  border-radius: 0;
  border: none;
}

/* Order Summary header with icon */
.total-prices h5:first-child {
  font-size: 1rem !important;
  font-weight: 500 !important;
  color: #000 !important;
  margin-bottom: 0.5rem !important;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #f0f0f0;
  display: flex;
  align-items: center;
}

.total-prices h5:first-child i {
  font-size: 1.125rem;
  color: #000;
  font-weight: 400;
}

.promoTotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0rem;
  padding: 0.5rem 0;
}

.promoTotal h6 {
  font-weight: 500;
  margin-bottom: 0;
  color: #6c757d;
}

.promoTotal h5 {
  font-size: 1rem !important;
  font-weight: 600;
  margin-bottom: 0;
}

.grandTotal {
  border-top: 3px solid #dee2e6;
  padding-top: 1rem !important;
  margin-top: 1rem !important;
}

.grandTotal h6 {
  font-size: 1.375rem !important;
  font-weight:500 !important;
  color: #000 !important;
}

.grandTotal h5 {
  font-size: 1.75rem !important;
  font-weight: 600 !important;
}

/* Checkout Button Enhancement */
.checkout-button {
  width: 100%;
  min-height: 54px;
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  padding: 1rem 2rem;
  border-radius: 8px;
  background: var(--bs-primary);
  color: white;
  border: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.checkout-button .fa-shopping-cart{
  font-weight: 400;
}

.checkout-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(13, 110, 253, 0.3);
}

.checkout-button:disabled {
  background: #e9ecef;
  color: #6c757d;
  cursor: not-allowed;
  opacity: 0.6;
  transform: none;
  box-shadow: none;
}

.checkout-button:disabled:hover {
  transform: none;
  box-shadow: none;
}

/* ========================================
   MEMBERSHIP RESTRICTION IMPROVEMENTS
   ======================================== */

.member-restriction-banner {
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1rem;
  border-width: 2px;
}

.member-restriction-banner h6 {
  font-size: 1.125rem !important;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.member-restriction-banner p {
  font-size: 1rem;
  margin-bottom: 0;
}

.member-restriction-banner .fa-crown {
  color: #ffc107;
}

/* ========================================
   DONATION SECTION
   ======================================== */

.microDonation {
  background: #f0fff4 !important;
  border: 2px solid #28a745;
  border-radius: 12px;
  padding: 1.5rem !important;
}

.microDonation h4 {
  font-size: 1.25rem !important;
  font-weight: 600;
}

.donationInputBox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.donationInputBox input {
  min-height: 48px;
  font-size: 1.125rem;
  font-weight: 600;
}

.addMicroDonation {
  min-height: 48px;
  font-size: 1.125rem;
  font-weight: 600;
  white-space: nowrap;
}

/* ========================================
   MOBILE RESPONSIVE IMPROVEMENTS
   ======================================== */

@media (max-width: 768px) {
  /* Larger touch targets for mobile */


  .btn-lg {
    min-height: 52px;
    font-size: 1.125rem;
  }

  /* Ticket counters */
  /* .ticket-counters button {
    width: 44px !important;
    height: 44px !important;
    font-size: 1.25rem !important;
  } */

  /* Action required card */
  .action-required-card .card-header h3 {
    font-size: 1.25rem !important;
  }

  .action-number {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }

  .action-item h5 {
    font-size: 1.125rem !important;
  }

  /* Typography adjustments */
  .ticket-table-header h4 {
    font-size: 1.125rem !important;
  }

  .ticket-name-details h4 {
    font-size: 1rem !important;
  }

  .ticket-price-details h4 {
    font-size: 1.25rem !important;
  }

  /* Pricing summary */
  .promoTotal h6 {
    font-size: 1rem !important;
  }

  .promoTotal h5 {
    font-size: 0.9rem !important;
    font-weight: 500 !important;
  }

  .grandTotal h6 {
    font-size: 1.25rem !important;
  }

  .grandTotal h5 {
    font-size: 1.2rem !important;
  }

  /* Form inputs */
  .form-control,
  .form-select {
    min-height: 44px;
    font-size: 1rem;
  }
}

/* Mobile Sticky Footer */
.mobile-sticky-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  border-top: 2px solid #e9ecef;
  padding: 0;
}

.mobile-sticky-footer .container-fluid {
  padding: 0.75rem 1rem;
}

.mobile-sticky-footer .btn {
  min-height: 48px;
  font-size: 1.125rem;
  font-weight: 700;
  white-space: nowrap;
}

/* Add padding to body to prevent content from hiding under sticky footer */
@media (max-width: 767px) {
  body.has-sticky-footer {
    padding-bottom: 80px;
  }
}

/* ========================================
   IMPROVED ALERTS & TOASTS
   ======================================== */

.alert {
  font-size: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  border-width: 2px;
}

.alert-heading {
  font-size: 1.25rem !important;
  font-weight: 600;
}

.alert i {
  font-size: 1.125rem;
}

/* ========================================
   VIEW TICKETS BUTTON
   ======================================== */

.viewTicketsBtn {
  min-height: 48px;
  font-size: 1.125rem !important;
  font-weight: 600 !important;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.viewTicketsBtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ========================================
   COUPON SECTION IMPROVEMENTS
   ======================================== */

.cuponApplied {
  gap: 0.75rem;
}

.cuponApplied .form-control {
  min-height: 48px;
  min-width: calc(100% - 60px);
}

.cuponApplied .btn {
  min-height: 48px;
  font-weight: 500 !important;
}

.cupon-msg {
  font-size: 1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.checkCupon i {
  font-size: 1.25rem;
  color: #28a745;
}

.removeCoupon {
  font-size: 0.95rem;
  cursor: pointer;
  color: #dc3545;
  font-weight: 500;
  transition: all 0.3s ease;
}

.removeCoupon:hover {
  color: #bb2d3b;
  text-decoration: underline;
}

/* ========================================
   ACCESSIBILITY IMPROVEMENTS
   ======================================== */

/* Focus states */
a:focus,
button:focus,
.btn:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 3px solid #0d6efd;
  outline-offset: 2px;
}

/* Skip link for keyboard navigation */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #0d6efd;
  color: white;
  padding: 8px;
  text-decoration: none;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .ticket-table-rows.selected {
    border-left-width: 6px !important;
  }

  .action-required-card {
    border-width: 3px !important;
  }

  .badge {
    border-width: 2px !important;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
  .action-required-card,
  .mobile-sticky-footer,
  .checkout-button {
    display: none !important;
  }

  .bookedTickets {
    page-break-inside: avoid;
  }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.fw-semi-bold {
  font-weight: 600 !important;
}

.fs-16 {
  font-size: 1rem !important;
}

.text-muted {
  color: #6c757d !important;
}

.border-start {
  border-left-style: solid;
  border-left-width: 1px;
}

.border-4 {
  border-width: 4px !important;
}

/* Loading states */
.loader-container {
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spinner-border {
  width: 3rem;
  height: 3rem;
}

/* Fix spinner size in buttons to prevent height expansion */
.btn .spinner-border {
  width: 1rem;
  height: 1rem;
  border-width: 0.15rem;
  vertical-align: middle;
}

.btn .spinner-border-sm {
  width: 0.875rem;
  height: 0.875rem;
  border-width: 0.125rem;
  vertical-align: middle;
}

/* Ensure buttons maintain consistent height when showing spinners */
.btn {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn span {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

/* Event overlay improvements */
.event-overlay {
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.overlay-content h2 {
  font-size: 1.75rem;
  font-weight: 600;
  color: #6c757d;
}

.eventNotAccessible {
  padding: 2rem;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  text-align: center;
}

.eventNotAccessible .icon-container {
  margin-bottom: 1.5rem;
}

.eventNotAccessible .lock-icon {
  width: 60px;
  height: 60px;
  fill: #6c757d;
  opacity: 0.7;
}

.eventNotAccessible h4 {
  font-size: 1.25rem !important;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.eventNotAccessible p {
  font-size: 1.125rem;
  line-height: 1.6;
}

/* ========================================
   PHASE 2: TABBED SIDEBAR LAYOUT
   ======================================== */

/* Tabbed Bookings Card */
.your-bookings-card {
  border: 2px solid #e9ecef;
  border-radius: 12px;
  overflow: hidden;
}

.your-bookings-card .card-header {
  border-bottom: 2px solid #e9ecef;
  padding: 1rem 1.25rem;
}

/* Tab Navigation Styling */
.booking-tabs {
  background: #f8f9fa;
  border-bottom: 2px solid #dee2e6;
  margin-bottom: 0;
}

.booking-tabs .nav-item {
  margin-bottom: 0;
}

.booking-tabs .nav-link {
  border: none;
  border-bottom: 4px solid transparent;
  background: transparent;
  color: #6c757d;
  font-weight: 600;
  padding: 1rem 0.75rem !important;
  font-size: 0.95rem !important;
  transition: all 0.3s ease;
  position: relative;
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}

.booking-tabs .nav-link:hover {
  color: #495057;
  background: #f8f9fa;
  border-bottom-color: #adb5bd;
}

.booking-tabs .nav-link.active {
  color: #0d6efd !important;
  background: #ffffff !important;
  border-bottom-color: #0d6efd !important;
  border-bottom-width: 4px !important;
  font-weight: 700 !important;
  box-shadow: 0 -2px 8px rgba(13, 110, 253, 0.15);
}

.booking-tabs .nav-link .tab-text {
  display: inline;
  font-size: inherit;
}

.booking-tabs .nav-link .badge {
  font-size: 0.7rem !important;
  padding: 0.25rem 0.45rem !important;
  vertical-align: middle;
  font-weight: 700 !important;
}

/* Tab Content */
.your-bookings-card .tab-content {
  background: #fff;
}

/* ========== SUMMARY TAB STYLING ========== */
.stat-card {
  border: 2px solid #e9ecef;
  transition: all 0.3s ease;
}

.stat-card:hover {
  border-color: var(--bs-primary);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.stat-card .stat-icon {
  opacity: 0.8;
}

.stat-card h3 {
  line-height: 1.2;
}

/* Quick Actions */
.quick-actions h6 {
  color: #495057;
  border-bottom: 2px solid #e9ecef;
  padding-bottom: 0.5rem;
}

.quick-actions .btn {
  font-weight: 600;
  transition: all 0.3s ease;
}

/* ========== TICKETS TAB STYLING ========== */
.tickets-list {
  /* Custom scrollbar */
  scrollbar-width: thin;
  scrollbar-color: #dee2e6 #f8f9fa;
}

.tickets-list::-webkit-scrollbar {
  width: 8px;
}

.tickets-list::-webkit-scrollbar-track {
  background: #f8f9fa;
}

.tickets-list::-webkit-scrollbar-thumb {
  background: #dee2e6;
  border-radius: 4px;
}

.tickets-list::-webkit-scrollbar-thumb:hover {
  background: #adb5bd;
}

.ticket-booking-item {
  transition: all 0.3s ease;
  background: #fff;
}

.ticket-booking-item:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transform: translateX(2px);
}

.ticket-booking-item .alert {
  font-size: 0.875rem;
  margin-bottom: 0;
}

.ticket-booking-item .btn-sm {
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  font-weight: 600;
}

/* ========== FORMS TAB STYLING ========== */
.form-status-card {
  transition: all 0.3s ease;
}

.form-status-card:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.status-icon-large {
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* ========== RESPONSIVE ADJUSTMENTS ========== */
@media (max-width: 991px) {
  .your-bookings-card .card-header h4 {
    font-size: 1.125rem !important;
  }

  .booking-tabs .nav-link {
    font-size: 0.85rem !important;
    padding: 0.85rem 0.5rem !important;
    gap: 0.2rem;
  }

  .booking-tabs .nav-link .tab-text {
    font-size: 0.8rem;
  }
}

  .stat-card {
    padding: 0.75rem !important;
  }

  .stat-card h3 {
    font-size: 1.5rem !important;
  }

  .stat-card .stat-icon i {
    font-size: 1.5rem !important;
  }
}

/* Bootstrap 5 Background Opacity Classes (if not available) */
.bg-success-subtle {
  background-color: rgba(40, 167, 69, 0.1) !important;
}

.bg-warning-subtle {
  background-color: rgba(255, 193, 7, 0.1) !important;
}

.bg-success.bg-opacity-10 {
  background-color: rgba(40, 167, 69, 0.1) !important;
}

.bg-warning.bg-opacity-10 {
  background-color: rgba(255, 193, 7, 0.1) !important;
}

/* Text opacity utilities */
.opacity-25 {
  opacity: 0.25 !important;
}

/*
 * Event Ticket Tabbed Interface
 * Color Palette:
 * - Primary Yellow: #ffd25d
 * - Secondary Purple: #473bf0 (minimal use)
 * - Alert Red: rgb(229, 115, 115)
 * - Success Green: rgb(88, 176, 155)
 * - Font: ClashDisplay
 */

:root {
  --primary-yellow: #ffd25d;
  --secondary-purple: #473bf0;
  --alert-red: rgb(229, 115, 115);
  --success-green: rgb(88, 176, 155);
  --text-dark: #2c3e50;
  --text-muted: #6c757d;
  --border-light: #e0e0e0;
  --bg-light: #f8f9fa;
}

/* Tab Container */
.event-tabs-container {
  font-family: 'ClashDisplay', sans-serif;
  margin: 0;
  padding: 0;
}

/* Horizontal Tabs Navigation Wrapper */
.horizontal-tabs-nav-wrapper {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 999;
  border-bottom: 2px solid var(--border-light);
}

/* Horizontal Tabs Navigation */
.horizontal-tabs-nav {
  display: flex;
  gap: 0;
}

/* Override global button styles for tab buttons */
.horizontal-tab-btn,
.vertical-tab-btn {
  border-radius: 0 !important;
  transform: none !important;
}

.horizontal-tab-btn {
  flex: 1;
  padding: 18px 24px;
  background: transparent;
  border: none;
  border-top: 3px solid transparent;
  border-bottom: none;
  font-family: 'ClashDisplay', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: none;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  outline: none;
  box-shadow: none;
}

.horizontal-tab-btn:hover {
  background: rgba(255, 210, 93, 0.1);
  color: var(--text-dark);
}

.horizontal-tab-btn{
  border-radius: 0px;
  color: black;
}

.horizontal-tab-btn i{
  font-weight: 400;
}

.horizontal-tab-btn.active {
  color: #906800 !important;
  border-bottom:2px solid #906800 !important;
}

/* Maintain active styles on hover, focus, and click */


.horizontal-tab-btn .tab-icon {
  font-size: 18px;
}

/* Badge for pending items */
.tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  background: var(--alert-red);
  color: #fff;
  border-radius: 11px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  animation: pulse-badge 2s ease-in-out infinite;
}

.tab-badge.success {
  background: var(--success-green);
  animation: none;
}

@keyframes pulse-badge {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.9;
  }
}

/* Badge Icon for pending items (shows ! icon instead of number) */
.tab-badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--alert-red);
  color: #fff;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  cursor: default;
  animation: pulse-badge 2s ease-in-out infinite;
  position: relative;
  pointer-events: auto;
}

.tab-badge-icon.success {
  background: var(--success-green);
  animation: none;
}

.tab-badge-icon i {
  font-size: 12px;
  pointer-events: none;
}

/* Tooltip on hover for badge icon */
.tab-badge-icon::after {
  content: attr(title);
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 1000;
  line-height: 1.4;
}

.tab-badge-icon::before {
  content: '';
  position: absolute;
  top: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: rgba(0, 0, 0, 0.9);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 1000;
}

.tab-badge-icon:hover::after,
.tab-badge-icon:hover::before {
  opacity: 1;
}

/* Tab Content */
.horizontal-tab-content {
  display: none;
  padding-bottom:30px;
}

.horizontal-tab-content.active {
  display: block;
}

/* My Tickets - Nested Vertical Tabs Container */
.my-tickets-container {
  display: flex;
  gap: 0;
  min-height: 500px;
  background: #fff;
  margin-top: 24px;
}

/* Vertical Tabs Sidebar */
.vertical-tabs-sidebar {
  width: 280px;
  background: var(--bg-light);
  border-right: 1px solid var(--border-light);
  padding: 0;
  padding-top: 16px;
  flex-shrink: 0;
}

.vertical-tab-btn {
  width: 100%;
  padding: 20px 24px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, var(--bg-light) 100%);
  border: none;
  border-top: 3px solid transparent;
  font-family: 'ClashDisplay', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: none;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  outline: none;
  box-shadow: none;
}

.vertical-tab-btn:hover {
  background: linear-gradient(to bottom, rgba(255, 210, 93, 0.15) 0%, rgba(255, 210, 93, 0.08) 100%);
  color: var(--text-dark);
}

.vertical-tab-btn.active {
  background: linear-gradient(to bottom, #fff 0%, var(--bg-light) 100%) !important;
  border-top-color: var(--primary-yellow) !important;
  color: var(--text-dark) !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05) !important;
}

/* Maintain active styles on hover, focus, and click */
.vertical-tab-btn.active:hover,
.vertical-tab-btn.active:focus,
.vertical-tab-btn.active:active,
.vertical-tab-btn.active:focus-visible {
  background: linear-gradient(to bottom, #fff 0%, var(--bg-light) 100%) !important;
  border-top-color: var(--primary-yellow) !important;
  color: var(--text-dark) !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05) !important;
  outline: none !important;
}

.vertical-tab-label {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.vertical-tab-icon {
  font-size: 18px;
  min-width: 20px;
}

/* Vertical Tab Content Area */
.vertical-tabs-content {
  flex: 1;
  padding: 32px;
  overflow-y: auto;
  background: #fff;
}

.vertical-tab-pane {
  display: none;
}

.vertical-tab-pane.active {
  display: block;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  /* Hide checkout button and terms on mobile as user is taken to another screen */
  /* .checkout-button {
    display: none !important;
  } */

  /* .terms-selector,
  .terms-details,
  .termAndConditionWrapper {
    display: none !important;
  } */

  /* Stack registration form buttons below heading on mobile */
  .nonticketRsvpDataHeading {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1rem !important;
  }

  .nonticketRsvpDataHeading h3 {
    width: 100% !important;
    margin-bottom: 0 !important;
  }

  .nonticketRsvpDataHeading > div {
    width: 100% !important;
    display: flex;
    justify-content: flex-start;
  }

  .horizontal-tabs-nav {
    width: 100%;
    overflow-x: hidden;
  }

  .horizontal-tab-btn {
    flex: 1;
    width: 33.333%;
    padding: 0.25rem !important;
    font-size: 14px !important;
    white-space: normal;
    text-align: center;
    line-height: 1.3;
    word-break: break-word;
    flex-direction: column;
    gap: 6px;
  }

  .horizontal-tab-btn span {
    font-size: 16px !important;
  }

  .horizontal-tab-btn .tab-icon {
    display: none !important;
  }

  .horizontal-tab-btn .tab-badge-icon {
    display: none !important;
  }

  /* Stack vertical tabs on mobile */
  .my-tickets-container {
    flex-direction: column;
  }

  .vertical-tabs-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .vertical-tab-btn {
    flex: 0 0 auto;
    min-width: 180px;
    padding: 16px 20px;
    border-top: none;
    border-bottom: 3px solid transparent;
  }

  .vertical-tab-btn.active {
    border-top: none;
    border-bottom-color: var(--primary-yellow);
  }

  .vertical-tabs-content {
    padding: 20px;
  }
}

@media (max-width: 576px) {
  /* Hide checkout button and terms on mobile as user is taken to another screen */
  /* .checkout-button {
    display: none !important;
  } */

  /* .terms-selector,
  .terms-details,
  .termAndConditionWrapper {
    display: none !important;
  } */

  /* Stack registration form buttons below heading on mobile */
  .nonticketRsvpDataHeading {
    flex-direction: row !important;
    align-items: center !important;
    gap: 1rem !important;
  }

  .nonticketRsvpDataHeading h3 {
    width: 100% !important;
    margin-bottom: 0 !important;
  }

  .nonticketRsvpDataHeading > div {
    width: 100% !important;
    display: flex;
    justify-content: flex-start;
  }

  .horizontal-tabs-nav {
    width: 100%;
    overflow-x: hidden;
  }

  .horizontal-tab-btn {
    flex: 1;
    width: 33.333%;
    padding: 0.25rem !important;
    font-size: 14px !important;
    white-space: normal;
    text-align: center;
    line-height: 1.3;
    word-break: break-word;
    flex-direction: column;
    gap: 6px;
  }

  .horizontal-tab-btn span {
    font-size: 14px !important;
  }

  .horizontal-tab-btn .tab-icon {
    display: none !important;
  }

  .horizontal-tab-btn .tab-badge-icon {
    display: none !important;
  }

  .tab-badge {
    min-width: 18px;
    height: 18px;
    font-size: 11px;
  }

  .tab-badge-icon {
    width: 18px;
    height: 18px;
  }

  .tab-badge-icon i {
    font-size: 10px;
  }

  /* Adjust tooltip for mobile */
  .tab-badge-icon::after {
    font-size: 11px;
    padding: 5px 10px;
    max-width: 200px;
    white-space: normal;
    text-align: center;
  }

  .vertical-tab-btn {
    min-width: 160px;
    padding: 14px 16px;
    font-size: 14px;
  }
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.empty-state-icon {
  font-size: 64px;
  color: var(--border-light);
  margin-bottom: 16px;
}

.empty-state-title {
  font-family: 'ClashDisplay', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.empty-state-text {
  font-size: 16px;
  color: var(--text-muted);
}

/* Loading State */
.tab-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
}

.tab-loading .spinner-border {
  width: 48px;
  height: 48px;
  border-width: 4px;
  border-color: var(--primary-yellow);
  border-right-color: transparent;
}

/* Buttons in tab content */
.tab-content .btn-primary {
  background: var(--primary-yellow);
  border-color: var(--primary-yellow);
  color: var(--text-dark);
  font-family: 'ClashDisplay', sans-serif;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.tab-content .btn-primary:hover {
  background: #ffc940;
  border-color: #ffc940;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(255, 210, 93, 0.3);
}

.tab-content .btn-outline-primary {
  border-color: var(--primary-yellow);
  color: var(--text-dark);
  font-family: 'ClashDisplay', sans-serif;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.tab-content .btn-outline-primary:hover {
  background: var(--primary-yellow);
  border-color: var(--primary-yellow);
  color: var(--text-dark);
}

/* Alert styles within tabs */
.tab-content .alert {
  border-radius: 8px;
  font-family: 'ClashDisplay', sans-serif;
  font-weight: 500;
}

.tab-content .alert-warning {
  background: rgba(229, 115, 115, 0.1);
  border-color: var(--alert-red);
  color: #721c24;
}

.tab-content .alert-success {
  background: rgba(88, 176, 155, 0.1);
  border-color: var(--success-green);
  color: #155724;
}

/* Tickets List Styling */
.tickets-list h4 {
  font-family: 'ClashDisplay', sans-serif;
  font-weight: 700;
  color: var(--text-dark);
}

.tickets-list .card {
  border: 1px solid #e9ecef;
  border-radius: 8px;
  transition: box-shadow 0.2s ease;
}

.tickets-list .card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.tickets-list .card-body h5 {
  font-family: 'ClashDisplay', sans-serif;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 1.125rem;
}

.tickets-list .card-body p {
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}

.tickets-list .card-body .text-muted {
  color: #6c757d;
}

.tickets-list .alert-warning {
  background: rgba(255, 210, 93, 0.15) !important;
  border-color: #ffd25d !important;
  color: #856404 !important;
  border-width: 1px !important;
  font-size: 0.875rem;
}

/* Compact Participant Display for My Tickets Tab */
.participants-list-compact {
    /* background: #f8f9fa; */
    /* padding: 0.5rem; */
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.participant-item-compact {
  background: white;
  border-radius: 6px;
  background-color: #f8f8f8;
}

.participant-number-compact {
  width: 28px;
  height: 28px;
  background: #ffd25d;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #2c3e50;
  flex-shrink: 0;
}

.participant-name-compact {
  font-size: 14px;
  font-weight: 600;
  color: #2c3e50;
}

.participant-actions-compact {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}

.participant-actions-compact .btn {
  border: none;
  background: transparent;
  padding: 0;
  font-size: 16px;
  color: #6c757d;
  width: auto;
  height: auto;
  line-height: 1;
  transition: all 0.2s ease;
}

.participant-actions-compact .btn:hover {
  background: transparent !important;
  color: #0d6efd;
  transform: scale(1.15);
  border: none !important;
  box-shadow: none !important;
}

.participant-actions-compact .btn-outline-danger:hover {
  background: transparent !important;
  color: #dc3545;
  border: none !important;
}

.participants-divider {
  padding-bottom: 0.5rem;
  color: #495057;
  font-size: 14px;
}

/* Individual ticket cards styling */
.tickets-list .card {
  border: 1px solid #dee2e6;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.tickets-list .card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.tickets-list .card h5 {
  color: #2c3e50;
  font-size: 1.125rem;
  font-weight: 600;
}

.tickets-list .card strong {
  color: #473bf0;
  font-size: 1.05rem;
}

/**
 * Ticket Section UI Fixes
 * Fixes: Inconsistent borders, spacing, border-radius
 * Color Palette: #ffd25d (yellow), #473bf0 (purple), rgb(229, 115, 115) (red), rgb(88, 176, 155) (green)
 */

/* ========================================
   REMOVE ALL THICK LEFT BORDERS & YELLOW STYLING
   ======================================== */

/* Remove shadows from ticket section */
.main-ticket-table,
.main-ticket-table.active,
.hasBooking .main-ticket-table,
.ticket-section,
.ticket-table-container {
  box-shadow: none !important;
}

/* Ensure main-ticket-table border wraps only tickets (not donation/summary) */
.main-ticket-table {
  margin-bottom: 0 !important;
}

/* Style for donation and summary section outside the border */
.ticket-table-rows-total {
  background: transparent !important;
  padding: 0 !important;
}

/* Remove thick border from ticket rows - use subtle separator instead */
.ticket-table-rows {
  padding: 1.5rem !important;
  border-bottom: 1px solid #d7d7d7;
  background: transparent !important;
  box-shadow: none !important;
}

.ticket-table-rows:last-child {
  border-bottom: none !important;
}
/* 
.ticket-table-rows:hover {
  background: transparent !important;
} */


/* Remove thick border from action items */
.action-item {
  border-left: none !important;
  border: 2px solid #ffd25d !important;
  border-radius: 8px !important;
}

/* ========================================
   FIX MEMBERSHIP ALERT MESSAGES
   ======================================== */

/* Container for membership alerts - add proper spacing */
.ticket-name-details > div {
  margin-top: 0.75rem !important;
  max-width: 85% !important; /* Prevent touching counter buttons */
  /* padding-right: 1rem !important; */
}

/* Style membership alerts consistently */
.ticket-name-details .alert {
  border-radius: 8px !important;
  border-width: 1px !important;
  padding: 0.875rem 1rem !important;
  margin-bottom: 0.75rem !important;
  font-size: 0.95rem !important;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.ticket-name-details .alert strong{
  font-weight: 500;
  font-size: 16px;
}

.ticket-name-details .alert i {
  flex-shrink: 0;
  margin-top: 0.125rem;
}

/* Danger alert (red) */
.ticket-name-details .alert-danger {
  background-color: rgba(229, 115, 115, 0.1) !important;
  border-color: rgb(229, 115, 115) !important;
  color: #721c24 !important;
}

/* Info alert (yellow) */
.ticket-name-details .alert-info {
  background-color: rgba(255, 210, 93, 0.15) !important;
  border-color: #ffd25d !important;
  color: #856404 !important;
}

/* ========================================
   STANDARDIZE BORDER-RADIUS
   ======================================== */

/* All cards and containers */
.card,
.your-bookings-card,
.action-required-card,
.bookedTickets,
.pendingTasks,
.form-status-banner,
.member-restriction-banner,
.microDonation,
.bankInfo,
.eventNotAccessible,
.stat-card {
  border-radius: 8px !important;
}


/* Form controls */
.form-control,
.form-select,
.ticket-counters input.ticket-value {
  border-radius: 8px !important;
}

/* Badges */
.badge {
  border-radius: 6px !important;
}

/* Total prices section */
.total-prices {
  border-radius: 8px !important;
}

/* ========================================
   CONSISTENT BORDER STYLING
   ======================================== */

/* Standard border for all cards */
.card,
.bookedTickets,
.pendingTasks,
.stat-card {
  border: 1px solid #e9ecef !important;
}

/* Highlighted borders use 2px max */
.action-required-card,
.form-status-banner,
.member-restriction-banner {
  border-width: 2px !important;
}

/* Remove border-left highlights everywhere */
.form-status-banner,
.member-restriction-banner {
  border-left-width: 2px !important;
}

/* ========================================
   OLD DONATION SECTION - HIDDEN (moved to Order Summary column)
   ======================================== */

.ticket-table-rows.microDonation {
  display: none !important;
}

/* ========================================
   BADGE COLORS - USE SPECIFIED PALETTE
   ======================================== */

/* Members Only badge */
.badge.bg-warning {
  background-color: #ffd25d !important;
  color: #000 !important;
  border: none !important;
  font-weight: 500 !important;
  font-size: 14px;
}

/* Success badge */
.badge.bg-success {
  background-color: rgb(88, 176, 155) !important;
  color: #fff !important;
  border: none !important;
}

/* Danger badge */
.badge.bg-danger {
  background-color: rgb(229, 115, 115) !important;
  color: #fff !important;
  border: none !important;
}

/* Primary badge */
.badge.bg-primary {
  background-color: #473bf0 !important;
  color: #fff !important;
  border: none !important;
}

/* ========================================
   BUTTON COLORS - USE SPECIFIED PALETTE
   ======================================== */

/* Primary buttons - Yellow */
.btn-primary,
.addMicroDonation {
  background-color: #ffd25d !important;
  border-color: #ffd25d !important;
  color: #000 !important;
  /* font-weight: 600 !important; */
}

.btn-primary:hover,
.btn-primary:focus,
.addMicroDonation:hover {
  background-color: #ffc940 !important;
  border-color: #ffc940 !important;
  color: #000 !important;
  box-shadow: 0 4px 12px rgba(255, 210, 93, 0.3) !important;
}

/* Secondary buttons */
.btn-outline-primary {
  border-color: #ffd25d !important;
  color: #000 !important;
}

.btn-outline-primary:hover {
  background-color: #ffd25d !important;
  border-color: #ffd25d !important;
  color: #000 !important;
}

/* Danger/Warning buttons stay as is for important actions */
.confirmPaymentBtn,
a.confirmPaymentBtn {
  background: rgb(229, 115, 115) !important;
  border-color: rgb(229, 115, 115) !important;
  border-radius: 8px !important;
}

.confirmPaymentBtn:hover,
a.confirmPaymentBtn:hover {
  background: rgb(200, 100, 100) !important;
  border-color: rgb(200, 100, 100) !important;
  box-shadow: 0 4px 12px rgba(229, 115, 115, 0.3) !important;
}

/* ========================================
   CHECKOUT BUTTON
   ======================================== */

.checkout-button,
.ticketButton {
  background-color: #ffd25d !important;
  border-color: #ffd25d !important;
  color: #000 !important;
  font-weight: 500 !important;
  border-radius: 8px !important;
}

.checkout-button:hover,
.ticketButton:hover {
  background-color: #ffc940 !important;
  border-color: #ffc940 !important;
  box-shadow: 0 4px 16px rgba(255, 210, 93, 0.4) !important;
  transform: translateY(-2px);
}

/* ========================================
   ACTION REQUIRED CARD - USE YELLOW
   ======================================== */

.action-required-card {
  border-color: #ffd25d !important;
  box-shadow: 0 4px 16px rgba(255, 210, 93, 0.3) !important;
  border-radius: 8px !important;
}

@keyframes gentle-pulse {
  0%, 100% {
    box-shadow: 0 4px 16px rgba(255, 210, 93, 0.3);
  }
  50% {
    box-shadow: 0 4px 20px rgba(255, 210, 93, 0.5);
  }
}

.action-required-card .card-header {
  background-color: #ffd25d !important;
  color: #000 !important;
  border-bottom: 2px solid #ffc940 !important;
}

.action-number {
  background: #ffd25d !important;
  color: #000 !important;
  border-radius: 50% !important;
}

.action-item {
  background: rgba(255, 210, 93, 0.08) !important;
}

.action-item:hover {
  background: rgba(255, 210, 93, 0.15) !important;
}

/* ========================================
   BOOKING TABS - REMOVE THICK BORDERS
   ======================================== */

.booking-tabs .nav-link {
  border-bottom-width: 3px !important;
}

.booking-tabs .nav-link.active {
  border-bottom-color: #ffd25d !important;
  color: #000 !important;
}

/* ========================================
   RESPONSIVE FIXES
   ======================================== */

@media (max-width: 768px) {
  .ticket-table-rows {
    padding: 1.25rem !important;
  }

  .ticket-name-details > div {
    max-width: 100% !important;
    padding-right: 0.5rem !important;
    margin-bottom: 0px;
  }

  .ticket-name-details .alert {
    padding: 0.75rem 0.875rem !important;
    font-size: 0.9rem !important;
  }

  .donation-section {
    padding: 0.875rem !important;
  }

  .donation-section h5 {
    font-size: 1rem !important;
  }

  .donation-input-wrapper .d-flex {
    flex-wrap: nowrap;
  }

  .donation-section .addMicroDonation {
    padding: 0.5rem 1rem !important;
    font-size: 0.85rem !important;
  }
}

/* ========================================
   SPACING IMPROVEMENTS
   ======================================== */

/* Add consistent spacing between sections */
.ticket-date-selection-section {
  padding-top: 2rem ;
}

.ticket-date-selection-section label{
  font-size: 1rem;
  font-weight: 500;
}

/* Better spacing for ticket details */
.ticket-name-details ul {
  margin-top: 0.5rem;
  margin-bottom: 0rem;
}

.ticket-name-details ul li{
  margin-bottom: 0px;
  font-size: 16px;
}

.ticket-name-details ul li span{
  font-size: inherit;
}

.ticket-name-details ul li a{
  font-size: inherit;
}

.ticket-name-details button {
  margin-top: 0.75rem;
  padding: 0px !important;
  min-height: unset;
  line-height: 1;
  font-size: 16px;
  font-weight: 400;
  opacity: 0.7;
}

.ticket-name-details button i{
  opacity: 0.7;
  font-size: 16px;
}

/* ========================================
   CLEAN UP BORDERS ON NESTED ELEMENTS
   ======================================== */

/* Ensure no double borders */
.your-bookings-card .card-header {
  border-bottom: 1px solid #e9ecef !important;
}

.booking-tabs {
  border-bottom: 1px solid #e9ecef !important;
}

/* Total prices section border */
.grandTotal {
  border-top: 2px solid #e9ecef !important;
}

/* ========================================
   LINK COLORS
   ======================================== */

a.text-primary,
.text-primary {
  color: #655aff !important;
}

a.text-primary:hover {
  color: #3a30c0 !important;
}

/* ========================================
   FOCUS STATES - USE YELLOW
   ======================================== */

.form-control:focus,
.form-select:focus,
input:focus {
  border-color: #ffd25d !important;
  box-shadow: 0 0 0 0.25rem rgba(255, 210, 93, 0.25) !important;
}

button:focus:not(.ticket-counters button):not(.ticket-counters .btn):not(.ticket-counters .btn-primary):not(.horizontal-tab-btn):not(.vertical-tab-btn),
.btn:focus:not(.ticket-counters button):not(.ticket-counters .btn):not(.ticket-counters .btn-primary):not(.horizontal-tab-btn):not(.vertical-tab-btn),
.btn-primary:focus:not(.ticket-counters button):not(.ticket-counters .btn):not(.ticket-counters .btn-primary):not(.horizontal-tab-btn):not(.vertical-tab-btn) {
}

/* ========================================
   TICKET COUNTER BUTTON FIXES
   ======================================== */

/* Remove background color from counter buttons */
.ticket-counters button,
.ticket-counters .btn,
.ticket-counters .btn-primary,
.ticket-counters button.btn,
.ticket-counters button.btn-primary {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border: 1px solid #dee2e6 !important;
  color: #000 !important;
  transition: none !important;
  box-shadow: none !important;
  transform: none !important;
}

/* Remove hover effects */
/* .ticket-counters button:hover,
.ticket-counters .btn:hover,
.ticket-counters .btn-primary:hover,
.ticket-counters button.btn:hover,
.ticket-counters button.btn-primary:hover {
  background: transparent !important;
  background-color: transparent !important;
  border: 1px solid #dee2e6 !important;
  border-color: #dee2e6 !important;
  color: #000 !important;
  box-shadow: none !important;
  transform: none !important;
} */

/* Remove click/active state effects - prevent shadow toggle */
/* .ticket-counters button:active,
.ticket-counters button:focus,
.ticket-counters button:active:focus,
.ticket-counters button:focus-visible,
.ticket-counters .btn:active,
.ticket-counters .btn:focus,
.ticket-counters .btn:active:focus,
.ticket-counters .btn:focus-visible,
.ticket-counters .btn-primary:active,
.ticket-counters .btn-primary:focus,
.ticket-counters .btn-primary:active:focus,
.ticket-counters .btn-primary:focus-visible,
.ticket-counters button.btn:active,
.ticket-counters button.btn:focus,
.ticket-counters button.btn:active:focus,
.ticket-counters button.btn-primary:active,
.ticket-counters button.btn-primary:focus,
.ticket-counters button.btn-primary:active:focus {
  background: transparent !important;
  background-color: transparent !important;
  border: 1px solid #dee2e6 !important;
  border-color: #dee2e6 !important;
  color: #000 !important;
  box-shadow: none !important;
  outline: none !important;
  transform: none !important;
  filter: none !important;
} */

/* Prevent Bootstrap's show/active class effects */
.ticket-counters button.show,
.ticket-counters .btn.show,
.ticket-counters button.active,
.ticket-counters .btn.active,
.ticket-counters .btn-primary.show,
.ticket-counters .btn-primary.active {
  background: transparent !important;
  background-color: transparent !important;
  border: 1px solid #dee2e6 !important;
  border-color: #dee2e6 !important;
  color: #000 !important;
  box-shadow: none !important;
  transform: none !important;
}

.ticket-counters button:disabled,
.ticket-counters .btn:disabled,
.ticket-counters .btn-primary:disabled {
  background: #e9ecef !important;
  background-color: #e9ecef !important;
  border: 1px solid #dee2e6 !important;
  border-color: #dee2e6 !important;
  color: #6c757d !important;
  opacity: 0.5;
  box-shadow: none !important;
}

/* ========================================
   DONATION SECTION - SAME WIDTH AS ORDER SUMMARY
   ======================================== */

/* New donation section styling */
.donation-section {
  width: 100% !important;
}

.donation-section .fas.fa-hand-holding-heart {
  flex-shrink: 0;
}

.donation-input-wrapper .d-flex {
  width: 100%;
}

.donation-input-wrapper .form-control {
  height: 40px !important;
  min-height: 40px !important;
  padding: 0.5rem 0.75rem;
  padding-left: 30px;
  font-size: 1rem !important;
  border: 1px solid #dee2e6 !important;
  border-radius: 6px !important;
}

.donation-input-wrapper .form-control:focus {
  border-color: #ffd25d !important;
  box-shadow: 0 0 0 0.2rem rgba(255, 210, 93, 0.25) !important;
}

/* Donation Add/Clear button */
.donation-section .addMicroDonation {
  height: 40px !important;
  min-height: 40px !important;
  padding: 0.5rem 1.25rem !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: var(--main_text_color) !important;
  border-color: var(--main_text_color) !important;
  color: #fff !important;
  border-radius: 6px !important;
  white-space: nowrap !important;
  flex-shrink: 0;
}

.donation-section .addMicroDonation:hover {
  background-color: #ffc940 !important;
  border-color: #ffc940 !important;
}

.donation-section .addMicroDonation.active {
  background-color: rgb(229, 115, 115) !important;
  border-color: rgb(229, 115, 115) !important;
  color: #fff !important;
}

/* Currency symbol */
.donation-input-wrapper > .d-flex > span:first-child {
  flex-shrink: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #000;
}

/* ============================================
   Vertical Ticket Card Component Styles
   ============================================ */

:root {
  --ticket-yellow: #ffd25d;
  --ticket-white: #ffffff;
  --text-dark: #2c3e50;
  --text-muted: #6c757d;
  --border-light: #e0e0e0;
}

/* Main Ticket Card Container */
.modern-ticket-card-vertical {
  /* max-width: 380px; */
  margin: 0 auto;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
}
/* 
.modern-ticket-card-vertical:hover {
  transform: translateY(-4px);
} */

/* ============================================
   YELLOW SECTION (Header)
   ============================================ */

.ticket-card-header-vertical {
  background: rgba(130, 93, 7, 0.05);
  padding: 24px 28px 28px 28px;
  color: var(--text-dark);
  border-radius: 16px 16px 0 0;
  border: 1px solid #ffe5a5;
}

/* Event Name - Full Width at Top */
.event-name-vertical {
  font-size: 30px;
  /* font-weight: 600; */
  color: var(--text-dark);
  margin: 0 0 15px 0;
  line-height: 1.3;
}

/* Two Column Layout: Picture | Details */
.header-content-row {
  display: grid;
  grid-template-columns: 1fr 500px ;
  gap: 16px;
  align-items: center;
}

/* Left Column: Event Picture */
.event-picture-vertical {
  width: 200px;
  height: 200px;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.event-picture-vertical img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-picture-vertical i {
  font-size: 32px;
  color: var(--text-dark);
  opacity: 0.5;
}

/* Right Column: Event Details */
.event-details-vertical {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.event-details-vertical i{
  font-weight: 400;
  font-size: inherit;
}

.event-datetime-vertical {
  font-size: 16px;

  color: var(--text-dark);
  display: flex;
  align-items: center;
  line-height: 1.3;
}

.event-datetime-vertical i {
  font-size: 16px;
  opacity: 0.8;
  flex-shrink: 0;
}

.event-time-vertical {
  font-size: 16px;

  color: var(--text-dark);
  display: flex;
  align-items: center;
  line-height: 1.3;
}

.event-time-vertical i {
  font-size: 16px;
  opacity: 0.8;
  flex-shrink: 0;
}

.event-location-vertical {
  font-size: 16px;
  color: var(--text-dark);
  opacity: 0.9;
  display: flex;
  align-items: flex-start;
  line-height: 1.3;
}

.event-location-vertical i {
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Price Info - Centered (No Background/Border) */
.ticket-price-info-centered {
  padding-top: 20px;
}

.ticket-type-label-simple {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  opacity: 0.85;
  margin-bottom: 6px;
}

.price-amount-colored {
  font-size: 25px;
  font-weight: 500;
  color: #473bf0;
  line-height: 1;
}

/* Seat Number Display */
.seat-number-display {
  font-size: 15px;
  font-weight: 700;
  color: #473bf0;
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 16px;
  border: 2px solid #473bf0;
  border-radius: 8px;
  background: rgba(71, 59, 240, 0.05);
  box-shadow: 0 2px 8px rgba(71, 59, 240, 0.15);
  transition: all 0.2s ease;
}

.seat-number-display:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(71, 59, 240, 0.25);
  background: rgba(71, 59, 240, 0.1);
}

.seat-number-display i {
  font-size: 14px;
}

/* ============================================
   PERFORATION SEPARATOR
   ============================================ */

.perforation-separator {
  height: 0;
  position: relative;
  background: transparent;
}

/* Left Hole */
.perforation-hole-left {
  position: absolute;
  left: -14px;
  top: 0;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  background: white;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 10;
  pointer-events: none;
}

/* Right Hole */
.perforation-hole-right {
  position: absolute;
  right: -14px;
  top: 0;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  background: white;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 10;
  pointer-events: none;
}

/* ============================================
   WHITE SECTION (Body)
   ============================================ */

.ticket-card-body-vertical {
  background: #fff;
  padding: 20px;
  border-radius: 16px;
}

.ticket-card-body-vertical .ticketTop{
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff5e2;
  padding: 15px;
  justify-content: space-between;
  border-radius: 10px;
}

/* ============================================
   SECTION 1: Ticket Information
   ============================================ */

.ticket-info-section {

}

.info-line {
  /* display: flex; */
  align-items: baseline;
  margin-bottom: 12px;
  line-height: 1.6;
}

.info-line:last-child {
  margin-bottom: 0;
}

.info-label-inline {
  font-size: 14px;
  font-weight: 600;
  color: #000000;
  margin-right: 8px;
  white-space: nowrap;
}

.info-label-inline i {
  font-size: 11px;
  margin-right: 4px;
}

.info-value-inline {
  font-size: 13px;
  /* font-weight: 600; */
  color: var(--text-dark);
  word-break: break-word;
  flex: 1;
  display: block;
}

/* ============================================
   SECTION 2: QR Code
   ============================================ */

.qr-code-section {
  text-align: center;
  /* padding: 28px 0 0 0; */
  margin-bottom: 0;
  position: relative;
}

.qr-code-section::before{
  content: '';
  width: 2px;
  height: calc(100% + 40px);
  position: absolute;
  top: -20px;
  left: -25px;
  border: 1px dashed #110c0070;
}

.qr-code-wrapper {
  display: inline-block;
  /* padding: 16px; */
  background: white;
  border-radius: 12px;
  /* box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08); */
  /* margin-top: 20px; */
}

.qr-code-wrapper img {
  width: 150px;
  height: 150px;
  display: block;
}

.qr-placeholder {
  width: 150px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  border-radius: 8px;
  color: var(--text-muted);
}

/* ============================================
   SECTION 3: Participants
   ============================================ */

.participants-section {
  margin-top: 10px;
}

.participants-divider {
  text-align: center;
  position: relative;
  margin-bottom: 0px;
}

.participants-divider::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 55%;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--border-light) 20%, var(--border-light) 80%, transparent);
  transform: translateY(-50%);
}

.divider-text {
  position: relative;
  display: inline-block;
  background: #fff;
  padding: 0 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-muted);
  z-index: 1;
}

.participants-list-vertical {
  display: flex;
  flex-direction: column;
  /* gap: 8px; */
}

.participant-item-vertical {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.3rem 0px;
  background: #fff;
  border-radius: 8px;
}

.participant-number {
  width: 32px;
  height: 32px;
  background: var(--ticket-yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  flex-shrink: 0;
}

.participant-name-vertical {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
}

.participant-name-vertical.text-muted {
  font-style: italic;
  color: var(--text-muted) !important;
  font-weight: 400;
}

.participant-actions-vertical {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}

.btn-icon-vertical {
  border: none;
  background: transparent;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #6c757d;
  width: auto;
  height: auto;
}

.quick-fill-section p{
  font-weight: 500;
}

.btn-icon-vertical:hover {
  color: #906800;
  transform: scale(1.15);
}

.btn-delete-vertical:hover {
  color: #dc3545;
}

.btn-icon-vertical i {
  font-size: 16px;
}

.nonTicketingSummery{
  padding-top: 0px !important;
}

.nonTicketingSummery .questionAnswers h3 span {
  font-size: 30px;
  font-weight: 600;
}

.nonTicketingSummery .questionAnswers .questionBox p{
  margin-bottom: 0px;
}

.search-section .wrap{
  position: relative;
}

.search-section .wrap i{
  position: absolute;
  right: 15px;
  top: 18px;
}

.user-search-cards .user-search-card{
  padding: 10px;
  min-height: unset;
}


.nonTicketingSummery .questionAnswers .nonticketRsvpDataHeading .btn-edit {
  padding: 13px 27px !important;
  font-weight: 500;
  font-size: 16px;
  background: #ffd25d;
  border: 1px solid #000 !important;
  min-height: unset !important;
}



/* ============================================
   MOBILE RESPONSIVE
   ============================================ */

@media (max-width: 576px) {

  .participant-forms-section{
    padding: 0px;
  }
  .tiket-select-date .flatpickr-wrapper{
    width: 100%;
  }

  .tiket-select-date .btnClear {
    border-radius: 10px !important;
    font-size: 16px;
    padding-left: 20px;
    padding-right: 20px;
    padding: 10px 15px;
    transition: 0.3s;
    border: 1px solid #000;
}

  .nonTicketingSummery .container{
    padding: 0px;
  }

  .nonTicketingSummery .questionAnswers h3 span {
    font-size: 22px !important;
}

  .ticket-full-details-modern .container{
    padding: 0px;
  }

  .total-prices .grandTotal {
    margin-top: 0px !important;
    padding-top: 10px !important;
  }

  .ticket-table-rows-total{
    box-shadow: none !important;
  }
  .cuponApplied .form-control {
    min-width: calc(100% - 86px);
  }
  .ticket-table-rows-total{
    position: static !important;
  }
  .modern-ticket-card-vertical {
    max-width: 100%;
    border-radius: 12px;
  }

  .ticket-card-header-vertical {
    border-radius: 12px 12px 0 0;
  }

  .ticket-card-body-vertical {
    border-radius: 12px;
  }

  .ticket-card-header-vertical {
    padding: 20px;
  }

  .event-name-vertical {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .header-content-row {
   display: block;
  }

  .event-picture-vertical {
    width: 70px;
    height: 70px;
  }

  .event-picture-vertical i {
    font-size: 28px;
  }

  .event-datetime-vertical {
    font-size: 13px;
  }

  .event-time-vertical {
    font-size: 13px;
  }

  .event-location-vertical {
    font-size: 12px;
  }

  .ticket-price-info-centered {
    padding: 0px;
  }

  .ticket-type-label-simple {
    font-size: 16px;
    margin-bottom: 4px;
    font-weight: 500;
  }

  .price-amount-colored {
    font-size: 20px;
  }

  .seat-number-display {
    font-size: 14px;
    margin-top: 10px;
    padding: 6px 12px;
    border-width: 2px;
  }

  .seat-number-display i {
    font-size: 13px;
  }

  .perforation-hole-left,
  .perforation-hole-right {
    width: 24px;
    height: 24px;
  }

  .perforation-hole-left {
    left: -12px;
  }

  .perforation-hole-right {
    right: -12px;
  }

  .ticket-card-body-vertical {
    padding: 20px;
    margin-top: 20px;
  }


  .info-line {
    margin-bottom: 10px;
  }

  .info-label-inline {
    font-size: 12px;
  }

  .info-value-inline {
    font-size: 13px;
  }



  .qr-code-wrapper img {
    width: 180px;
    height: 180px;
  }

  .qr-placeholder {
    width: 150px;
    height: 150px;
  }

  .qr-placeholder i {
    font-size: 2.5rem;
  }

  .divider-text {
    font-size: 11px;
    padding: 0 12px;
  }

  .participants-list-vertical {
    gap: 8px;
  }

  .participant-item-vertical {
    padding: 0.5rem;
    gap: 6px;
  }

  .participant-number {
    width: 28px;
    height: 28px;
    font-size: 13px;
  }

  .participant-name-vertical {
    font-size: 14px;
  }

  .btn-icon-vertical i {
    font-size: 15px;
  }

  .checkout-part{
    display: none;
  }

  .checkout-part.has-tickets{
    display: block;
    border: none;
    padding: 0;
  }

  .nonTicketingSummery .questionAnswers .nonticketRsvpDataHeading .btn-edit {
    padding: 10px 22px;
    font-weight: 500;
    font-size: 18px;
    border: 2px solid #dee2e6;
    min-height: unset;
}

.ticket-card-body-vertical .ticketTop{
  display: block;
}

.qr-code-section::before{
  display: none;
}


.qr-code-section{
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px dashed #110c0070;
}

.ticket-table-rows{
  border: 1px solid #d7d7d7;
  border-radius: 10px;
}

.ticket-name-details button{
  margin-top: 0.5rem;
  font-size: 14px;
}

.ticket-details p {
  font-size: 14px;
}

.ticket-table-rows:last-child{
  border-bottom: 1px solid #d7d7d7 !important;
}

.tiket-select-date input{
  font-size: 16px;
}

.mobile-sticky-footer .btn span{
  font-size: 16px;
  font-weight: 500;
}

.mobile-sticky-footer .btn i{
  display: none;
}

}

/* ============================================
   TICKET GRID LAYOUT (Multiple Tickets)
   ============================================ */

/* Container for multiple tickets - Use Bootstrap grid */
/* .tickets-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 380px));
  gap: 24px;
  margin: 20px 0;
  justify-content: center;
} */

/* On large screens, show up to 3 tickets per row */
/* @media (min-width: 1200px) {
  .tickets-grid-container {
    grid-template-columns: repeat(auto-fit, minmax(360px, 380px));
    justify-content: center;
  }
} */

/* On medium screens, show up to 2 tickets per row */
/* @media (min-width: 768px) and (max-width: 1199px) {
  .tickets-grid-container {
    grid-template-columns: repeat(auto-fit, minmax(360px, 380px));
    justify-content: center;
  }
} */

/* On small screens, show 1 ticket per row */
/* @media (max-width: 767px) {
  .tickets-grid-container {
    grid-template-columns: 1fr;
    gap: 20px;
    justify-content: center;
  }
} */

/* Remove the auto-centering for tickets in a grid */
.tickets-grid-container .modern-ticket-card-vertical {
  margin: 0;
}

/* Print Styles */
@media print {
  .modern-ticket-card-vertical {
    box-shadow: none;
    border: 1px solid var(--border-light);
    page-break-inside: avoid;
  }

  .participant-actions-vertical {
    display: none;
  }

  .modern-ticket-card-vertical:hover {
    transform: none;
    box-shadow: none;
  }

  .tickets-grid-container {
    display: block;
  }

  .tickets-grid-container .modern-ticket-card-vertical {
    page-break-after: always;
  }



}

/* ============================================
   APP-STYLE TICKET CARD (Mobile App Design)
   ============================================ */

.app-style-ticket-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.app-style-ticket-card .all{
  border: 1px solid #ddd;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  border-top: 2px dashed #ddd;
}

/* .app-style-ticket-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
} */

/* Top Section - Cream/Yellow Background */
.app-ticket-header {
  background: rgba(255, 210, 93, 0.1);
  padding: 20px;
  border: 1px solid #e6decd;
  border-bottom: none;
  border-radius: 16px 16px 0 0;
}

.app-event-title {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 16px 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.app-header-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.app-event-image {
  width: 100px;
  height: 100px;
  min-width: 100px;
  border-radius: 10px;
  overflow: hidden;
  background: #f5f5f5;
}

.app-event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-venue-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.app-venue-name {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  font-size: 14px;
  color: #1a1a1a;
  line-height: 1.4;
}

.app-venue-name span{
  font-size: inherit;
}

.app-venue-name i {
  color: #906800;
  font-size: 16px;
  margin-top: 2px;
  font-weight: 500;
}

.app-venue-address {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  font-size: 14px;
  line-height: 1.4;
}

.app-venue-address span{
  font-size: inherit;
}

.app-venue-address i {
  color: #906800;
  font-size: 16px;
  margin-top: 2px;
  font-weight: 500;
}

.app-datetime {
  font-size: 14px;
  color: #1a1a1a;
  display: flex;
  align-items: center;
}

.app-datetime i {
  color: #906800;
  margin-right: 8px;
  font-weight: 500;
  font-size: 16px;
}

/* Bottom Section - White Background */
.app-ticket-body {
  background: #fff;
  padding: 20px;
  position: relative;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.app-ticket-body::before {
  content: '';
  position: absolute;
  top: -15px;
  left: -15px;
  height: 30px;
  width: 30px;
  background: white;
  border-radius: 50%;
  z-index: 1;
  border: 1px solid #c4c4c4;
}

.app-ticket-body::after {
  content: '';
  position: absolute;
  top: -15px;
  right: -15px;
  height: 30px;
  width: 30px;
  background: white;
  border-radius: 50%;
  z-index: 1;
  border: 1px solid #c4c4c4;
}

.app-ticket-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.app-ticket-left {
  flex: 1;
}

.app-ticket-type {
  font-size: 18px;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.app-ticket-price {
  font-size: 24px;
  font-weight: 500;
  color: #906800;
  margin-bottom: 16px;
}

.app-ticket-price.complimentary {
  font-size: 18px;
  color: #58b09b;
}

.app-ticket-time {
  margin-top: 8px;
}

.app-time-label {
  font-size: 12px;
  color: #906800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.app-time-value {
  font-size: 16px;
  font-weight: 500;
  color: #1a1a1a;
  line-height: 1.2;
}

.app-date-value {
  font-size: 14px;
  color: #666;
  margin-top: 2px;
}

.app-seat-number {
  font-size: 14px;
  font-weight: 600;
  color: #473bf0;
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border: 1px solid #473bf0;
  border-radius: 6px;
  background: rgba(71, 59, 240, 0.05);
}

.app-ticket-right {
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.app-ticket-right:hover {
  transform: scale(1.02);
}

.app-ticket-right:hover .app-qr-hint {
  color: var(--main_text_color);
}

.app-qr-wrapper {
  width: 120px;
  height: 120px;
  /* padding: 8px; */
  background: #fff;
  border-radius: 8px;
  /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); */
}

.app-qr-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.app-qr-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
}

.app-qr-hint {
  font-size: 14px;
  color: #000;
  margin-top: 8px;
  font-weight: 500;
}

/* Participants Section for App Style */
.app-participants-section {
  background: #fff;
  padding: 0 20px 20px;
  margin-top: 0;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.app-participants-section .participants-divider {
  padding-top: 16px;
}

/* Responsive Adjustments for App Style Ticket */
@media (max-width: 991.98px) {
  .app-event-title {
    font-size: 16px;
  }

  .app-event-image {
    width: 80px;
    height: 80px;
    min-width: 80px;
  }

  .app-qr-wrapper {
    width: 100px;
    height: 100px;
  }

  .app-ticket-type {
    font-size: 16px;
  }

  .app-ticket-price {
    font-size: 20px;
  }

  .app-time-value {
    font-size: 18px;
  }
}

@media (max-width: 575.98px) {
  .app-ticket-header {
    padding: 16px;
  }

  .app-ticket-body {
    padding: 16px;
  }

  .app-header-row {
    gap: 12px;
  }

  .app-event-image {
    width: 70px;
    height: 70px;
    min-width: 70px;
  }

  .app-venue-name {
    font-size: 14px;
  }

  .app-venue-address {
    font-size: 12px;
  }

  .app-qr-wrapper {
    width: 90px;
    height: 90px;
    margin: auto;
  }

  .app-ticket-type {
    font-size: 15px;
  }

  .app-ticket-price {
    font-size: 18px;
  }

  .app-time-value {
    font-size: 16px;
  }
}

/* ============================================
   QR CODE LIGHTBOX STYLES
   ============================================ */

.qr-lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.qr-lightbox-container {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.qr-lightbox-container .navigation-arrows{
  display: flex;
  gap: 25px;
  margin-top: 40px;
}

.qr-lightbox-close {
  position: absolute;
  top: -50px;
  right: -10px;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
}

.qr-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.qr-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
}

.qr-lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.qr-lightbox-prev {
  left: 0px;
}

.qr-lightbox-next {
  right: 0px;
}

.qr-lightbox-content {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: scaleIn 0.3s ease;
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.qr-lightbox-qr {
  width: 280px;
  height: 280px;
  margin: 0 auto 20px;
  padding: 15px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.qr-lightbox-qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qr-lightbox-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  font-size: 80px;
}

.qr-lightbox-counter {
  font-size: 14px;
  color: #666;
  font-weight: 500;
  margin-bottom: 15px;
  background: #f5f5f5;
  padding: 6px 16px;
  border-radius: 20px;
  display: inline-block;
}

.qr-lightbox-info {
  padding-top: 10px;
  border-top: 1px solid #eee;
}

.qr-lightbox-name {
  font-size: 22px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.qr-lightbox-ticket-id {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.qr-lightbox-label {
  font-size: 14px;
  color: #666;
  font-weight: 500;
}

.qr-lightbox-value {
  font-size: 14px;
  color: #1a1a1a;
  font-weight: 600;
  background: #f5f5f5;
  padding: 4px 12px;
  border-radius: 6px;
  word-break: break-all;
}

/* Responsive Adjustments for Lightbox */
@media (max-width: 768px) {
  .qr-lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .qr-lightbox-prev {
    left: 10px;
  }

  .qr-lightbox-next {
    right: 10px;
  }

  .qr-lightbox-close {
    top: -75px;
    right: 0;
  }

  .qr-lightbox-content {
    padding: 20px;
    margin: 0 15px;
  }

  .qr-lightbox-qr {
    width: 220px;
    height: 220px;
  }

  .qr-lightbox-name {
    font-size: 18px;
  }

  .qr-lightbox-value {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .qr-lightbox-qr {
    width: 180px;
    height: 180px;
    padding: 10px;
  }

  .qr-lightbox-content {
    padding: 15px;
    width: 100%;
  }

  .qr-lightbox-name {
    font-size: 16px;
  }

  .qr-lightbox-nav{
    position: static !important;
    transform: unset !important
  }
  .map-locations .virtualMeetingDiv{
    margin-top: 0px !important;
  }
}

/* ========================================
   FORMS TAB SUB-TABS STYLES
   ======================================== */

.forms-tab-wrapper {
  width: 100%;
}

.forms-sub-tabs-nav {
  /* background: #f8f9fa;
  border-bottom: 1px solid #e9ecef; */
  padding-bottom: 2rem;
  padding-top: 2rem;
  /* margin-bottom: 20px; */
}

.sub-tabs-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}


.sub-tabs-heading {
  flex-shrink: 0;
}

.sub-tabs-heading h2 {
  margin: 0;
  font-weight: 600;
  font-size: 30px;
}

.sub-tabs-heading h2 i {
  font-weight: 500;
  font-size: inherit;
}

.sub-tabs-heading p {
  margin: 0;
}

.sub-tabs-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.sub-tab-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px !important;
  border: 1px solid #000;
  border-radius: 8px;
  background: #ffffff;
  color: #000;
  font-size: 16px !important;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  min-height: unset !important;
}

.sub-tab-btn i{
  font-weight: 500;
}

.sub-tab-btn:hover {
  border-color: #adb5bd;
  background: #f8f9fa;
}

.sub-tab-btn.active {
  border-color: #ffd25d;
  background: #ffd25d;
  color: #000;
}

.sub-tab-btn.active:hover {
  background: #fac640;
}

.sub-tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  min-width: 25px;
  height: 25px;
  background: #e88181;
  color: #fff;
  border-radius: 50%;
  margin-left: 8px;
  font-size: 11px;
}

.sub-tab-btn.active .sub-tab-badge {
  background: #e88181;
  color: #6a4c93;
}

.forms-sub-tabs-content {
  min-height: 300px;
}

.sub-tab-pane {
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Participant Forms Section Styles */
.participant-forms-section {
  padding: 20px 0;
}

.participant-forms-section .ticket-full-details-modern{
  padding-top: 0px !important;
}

.participant-forms-section .modern-header {
  text-align: center;
  margin-bottom: 30px;
  padding: 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 12px;
}

.participant-forms-section .modern-header h2 {
  color: #6a4c93;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
}

.participant-forms-section .modern-header p {
  font-size: 15px;
  margin-bottom: 0;
}

/* Empty state for participant forms */
.participant-forms-section .empty-state {
  text-align: center;
  padding: 60px 20px;
  background: #f8f9fa;
  border-radius: 12px;
  margin: 20px 0;
}

.participant-forms-section .empty-state-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #6a4c93 0%, #8b6cc0 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.participant-forms-section .empty-state-icon i {
  font-size: 36px;
  color: #ffffff;
}

.participant-forms-section .empty-state-title {
  font-size: 20px;
  font-weight: 600;
  color: #343a40;
  margin-bottom: 10px;
}

.participant-forms-section .empty-state-text {
  font-size: 15px;
  color: #6c757d;
  max-width: 400px;
  margin: 0 auto;
}

/* Loading state */
.participant-forms-section .tab-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
}

.participant-forms-section .spinner-border {
  width: 3rem;
  height: 3rem;
  color: #6a4c93;
}

/* Responsive adjustments for sub-tabs */
@media (max-width: 768px) {
  .sub-tabs-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .sub-tabs-buttons {
    width: 100%;
    justify-content: flex-start;
  }

  .sub-tabs-heading h2 {
    font-size: 22px;
  }

}

@media (max-width: 576px) {
  .sub-tabs-buttons {
    flex-wrap: initial;
  }

  .sub-tab-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px !important;
    text-align: left;
    font-size: 16px !important;
  }

  .sub-tab-btn .fa-user-edit{
    display: none;
  }

  .sub-tab-btn .fa-users{
    display: none;
  }

  .participant-forms-section .modern-header h2 {
    font-size: 20px;
  }

  .participant-forms-section .empty-state {
    padding: 40px 15px;
  }

  .participant-forms-section .empty-state-icon {
    width: 60px;
    height: 60px;
  }

  .participant-forms-section .empty-state-icon i {
    font-size: 28px;
  }
}

/* ============================================
   PARTICIPANT COMPACT MODE STYLES
   ============================================ */

/* Compact mode card adjustments */

.app-style-ticket-card.participant-compact-mode .compact-ticket-info{
  background: #fff !important;
  padding: 0px !important;
}

.app-style-ticket-card.participant-compact-mode .all {
  border: 1px solid #c7c7c7 !important;
  border-radius: 16px;
}

/* Compact ticket body */
.app-ticket-body-compact {
  padding: 16px;
  background: #fff;
  border-radius: 16px 16px 0 0;
}

.compact-ticket-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

/* Compact QR Section */
.compact-qr-section {
  flex-shrink: 0;
  cursor: pointer;
  text-align: center;
  position: relative;
}

.compact-qr-wrapper {
  width: 110px;
  height: 110px;
  background: #FFF9E6;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 2px solid #F5E6B3;
}

.compact-qr-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.compact-qr-placeholder {
  color: #C9A227;
}

.compact-qr-hint {
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: #ffd25d;
  padding: 4px 12px;
  border-radius: 7px;
  display: inline-block;
  position: absolute;
  bottom: 0px;
  left: 0px;
  width: 100%;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
}

/* Compact Ticket Info */
.compact-ticket-info {
  flex: 1;
  padding-top: 4px;
}

.compact-ticket-name {
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 4px;
  line-height: 1.3;
}

.compact-ticket-price {
  font-size: 16px;
  font-weight: 500;
  color: #4a4a4a;
  margin-bottom: 4px;
}

.compact-ticket-price.complimentary {
  color: #C9A227;
}

.compact-ticket-date {
  font-size: 14px;
  color: #888;
}

/* Compact Participants Section */
.app-style-ticket-card.participant-compact-mode .app-participants-section {
  background: #fff;
  padding: 0 16px 16px;
  border-radius: 0 0 16px 16px;
}

.participants-header-compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-top: 1px solid #c7c7c7;
  /* margin-bottom: 8px; */
}

.participant-count-badge {
  background: #e8f4fd;
  color: #1976d2;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}

.participants-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 500;
  color: #333;
}

.participants-header-left span{
  font-size: inherit;
}

.participants-header-left i {
  color: #666;
  font-size: 16px;
}

.participants-header-right {
  font-size: 14px;
  color: #888;
  font-weight: 500;
}

/* Participant Items */
.participants-list-compact {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.participant-item-compact {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  border-radius: 8px;
}

.participant-item-compact:hover {
  background-color: #fff5da;
}

.participant-add-icon {
  font-size: 20px;
}

.participant-add-icon .fa-plus-circle {
  color: #906800;
  font-weight: 500;
  font-size: 20px;
}

.participant-add-icon .fa-check-circle {
  color: #58b09b;
}

.participant-add-text {
  font-size: 16px;
  color: #906800;
  font-weight: 500;
  flex: 1;
}

.participant-add-text.filled {
  color: #333;
}

.participant-actions-compact {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.participant-edit-icon {
  color: #898989;
  font-size: 14px;
  padding: 4px;
}

.participant-edit-icon:hover {
  color: #6b4f00;
}

.participant-delete-icon {
  color: #898989;
  font-size: 14px;
  padding: 4px;
}

.participant-delete-icon:hover {
  color: #dc3545;
}

/* Responsive adjustments for compact mode */
@media (max-width: 576px) {
  .compact-qr-wrapper {
    width: 80px;
    height: 80px;
  }
  
  .compact-ticket-name {
    font-size: 16px;
  }
  
  .compact-ticket-price {
    font-size: 14px;
  }
  
  .compact-ticket-date {
    font-size: 13px;
  }
}
