/* ==========================================
   TICKET SELECTION MODAL (EVENTBRITE STYLE)
   ========================================== */

:root {
  --eb-primary: #f05537; /* Switched from Blue to Brand Orange */
  --eb-action: #f05537;  /* User specified Orange/Red */
  --eb-action-light: #f37d68; /* Lighter grade for hover */
  --eb-text: #1e0a3c;
  --eb-text-light: #6f7287;
  --eb-border: #dbdae3;
}

.tix-modal *, .tix-modal *::before, .tix-modal *::after {
    box-sizing: border-box !important;
}

.tix-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.tix-modal.active {
  display: flex !important;
}

.tix-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 10, 60, 0.65) !important;
  backdrop-filter: blur(2px);
}

.tix-modal-content {
  position: relative;
  background: #ffffff !important;
  width: 95%;
  max-width: 1080px;
  max-height: 90vh;
  border-radius: 0 !important;
  box-shadow: 0 4px 50px rgba(0, 0, 0, 0.3) !important;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: ebModalFadeIn 0.2s ease-out;
  border: none !important;
}

@keyframes ebModalFadeIn {
  from { opacity: 0; transform: scale(0.99); }
  to { opacity: 1; transform: scale(1); }
}

/* Header */
.tix-modal-close {
  position: absolute;
  right: 15px;
  top: 15px;
  background: rgba(255, 255, 255, 0.8);
  border: none;
  font-size: 18px;
  cursor: pointer;
  z-index: 1000;
  color: var(--eb-text);
  width: 40px;
  height: 40px;
  border-radius: 50% !important; /* Circle like image */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.tix-modal-header {
  padding: 0 0 40px; /* Reduced vertical padding, added bottom margin */
  text-align: center;
  border-bottom: none !important; /* Removed full-width border */
  background: #fff;
}

.tix-modal-title {
  margin: 0 0 4px !important;
  font-size: 18px !important; /* Smaller as per image */
  font-weight: 700 !important;
  color: var(--eb-text) !important;
  line-height: 1.2 !important;
}

.tix-modal-date {
  font-size: 13px !important;
  color: var(--eb-text-light) !important;
  font-weight: 400 !important;
}

/* Layout */
.tix-modal-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.tix-modal-main {
  display: flex;
  flex: 1;
  overflow: hidden;
  background: #fff;
}

.tix-modal-main-content {
  flex: 1;
  overflow-y: auto;
  padding: 40px 40px 0; /* Removed bottom padding to let sticky bar align to edge */
}

.tix-modal-sidebar {
  width: 360px !important;
  background: #ffffff !important;
  border: none !important;
  border-left: 1px solid var(--eb-border) !important;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  position: relative;
}

/* Sidebar Order Summary */
.tix-modal-sidebar-image {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.tix-modal-sidebar-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 0 !important;
}

.tix-modal-order-summary {
  padding: 30px 24px;
  flex: 1; /* Allow to grow if needed, but not necessary with sidebar scroll */
  display: flex;
  flex-direction: column;
}

.tix-modal-order-summary h3 {
  font-size: 18px !important;
  font-weight: 700 !important;
  margin: 0 0 24px !important;
  color: var(--eb-text) !important;
}

.eb-summary-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--eb-text);
}

.eb-summary-item span:first-child {
  width: 175px !important; /* Fixed width to force consistent wrapping */
  flex: 0 0 175px !important;
  padding-right: 15px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
  line-height: 1.4;
}

.eb-summary-item span:last-child {
  width: 90px;
  flex-shrink: 0;
  text-align: right;
  white-space: nowrap;
  font-weight: 500;
}

#ticket-cart {
    overflow: visible !important;
    max-height: none !important;
    position: relative;
}

/* Hide any carets or arrows that might be injected by the theme */
#ticket-cart::before, #ticket-cart::after,
.tix-modal-summary-items::before, .tix-modal-summary-items::after {
    display: none !important;
}

.tix-modal-summary-totals {
  margin-top: 25px;
  padding-top: 25px;
  border-top: 1px solid var(--eb-border);
}

.tix-summary-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px; /* Increased gap */
  font-size: 14px;
  color: var(--eb-text);
}

.tix-summary-line.total-line {
  margin-top: 32px; /* Large gap before Total as per image */
  font-size: 20px;
  font-weight: 700;
}

.tix-tax-info {
    font-size: 12px;
    color: var(--eb-text-light);
    text-align: right;
    margin-top: 5px;
}

/* Promo Code */
.tix-modal-promo {
    margin-bottom: 35px;
}

.eb-promo-container {
    position: relative;
    border: 1px solid var(--eb-border) !important;
    border-radius: 0 !important;
    display: flex;
    align-items: center;
    background: #fff;
    width: 100%;
}

.eb-promo-label {
    position: absolute;
    top: -9px;
    left: 12px;
    background: white;
    padding: 0 5px;
    font-size: 12px;
    color: var(--eb-text-light);
    z-index: 1;
}

.promo-input {
    flex: 1;
    border: none !important;
    padding: 14px 16px !important;
    font-size: 14px !important;
    outline: none !important;
    background: transparent !important;
}

.promo-apply-btn {
    background: transparent !important;
    border: none !important;
    color: var(--eb-primary) !important;
    font-weight: 600;
    font-size: 14px;
    padding: 0 20px !important;
    cursor: pointer;
}

/* Ticket Cards */
.eb-ticket-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* REMOVE ORANGE BORDER ON WRAPPER */
.ticket-wrapper, .ticket-wrapper.modal_list {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
}

.eb-ticket-card {
  padding: 24px;
  border: 1px solid var(--eb-border) !important;
  border-radius: 0 !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  transition: border 0.1s;
  overflow: visible !important; /* Ensure no clipping */
}

.eb-ticket-details {
    flex: 1;
    min-width: 0;
}

.eb-ticket-name, .eb-ticket-desc {
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    margin-right: 0 !important;
}

.eb-ticket-action {
    flex-shrink: 0;
    width: 150px; /* Reserved space */
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.eb-ticket-card.active {
    border: 2px solid #f05537 !important;
    padding: 23px !important;
}

.eb-ticket-name {
  font-size: 18px !important;
  font-weight: 700 !important;
  margin: 0 0 10px !important;
  color: var(--eb-text) !important;
}

.eb-price {
    font-weight: 700 !important;
    color: var(--eb-text) !important;
}

/* Qty Selector - Final Stability Refinement */
.eb-qty-selector {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex-wrap: nowrap !important;
  justify-content: flex-end !important;
  visibility: visible !important;
}

.eb-qty-btn {
  width: 32px !important;
  height: 32px !important;
  background-color: #f05537 !important; /* Force Brand Orange */
  border: none !important;
  border-radius: 0 !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 18px !important;
  cursor: pointer !important;
  transition: none !important; /* Removed transition as requested */
  visibility: visible !important;
  opacity: 1 !important;
}

.eb-qty-btn:hover, .eb-qty-btn:active, .eb-qty-btn:focus {
  background-color: #f37d68 !important; /* Lighter grade for interaction */
  color: #ffffff !important;
  opacity: 1 !important;
  outline: none !important;
}

/* Handle specific buttons explicitly */
.eb-plus, .eb-minus {
    display: flex !important;
    visibility: visible !important;
    background-color: #f05537 !important;
}

.eb-qty-val {
  width: 25px !important;
  text-align: center !important;
  border: none !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  color: var(--eb-text) !important;
  background: transparent !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Checkout Bar Styling - Fixed Alignment */
.eb-checkout-bar {
    position: sticky !important;
    bottom: 0 !important;
    background: #fff !important;
    z-index: 100 !important;
    margin-top: 40px !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 20px 0 !important;
    width: 100% !important;
    border-top: 1px solid var(--eb-border) !important;
    transition: all 0.2s ease;
}

/* Hide old checkout bar completely in checkout mode as we have a new internal one */
.tix-modal.checkout-active .eb-checkout-bar {
    display: none !important;
}

.eb-mobile-total-toggle {
    display: none; /* Hidden on desktop */
}

.eb-agreement-text {
    display: block !important; /* Visible during ticket selection */
}

/* Hide agreement text in checkout mode as per user request */
.tix-modal.checkout-active .eb-agreement-text {
    display: none !important;
}

/* Payment Methods Selector - Eventbrite Style */
.eb-payment-methods {
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.eb-payment-method {
    background: #ffffff;
    border: 1px solid #dbdae3;
    border-radius: 4px; /* Eventbrite uses slightly sharper corners */
    transition: border-color 0.2s;
    overflow: hidden;
    cursor: pointer;
}

.eb-payment-method:hover {
    border-color: #a9a8b3;
}

.eb-payment-method.active {
    border: 2px solid #f05537 !important;
}

.eb-payment-method-header {
    padding: 16px 20px;
    display: flex;
    align-items: center;
}

.eb-payment-method-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 700;
    color: #1e0a3c;
    letter-spacing: -0.1px;
}

.eb-payment-method-title svg {
    color: #1e0a3c;
    width: 22px;
    height: 22px;
}

.eb-payment-method-content {
    display: none;
    padding: 0 20px 20px 20px;
}

.eb-payment-method.active .eb-payment-method-content {
    display: block;
}

/* Card Form - Professional Boxed Layout */
.eb-card-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 5px;
}

.eb-stripe-field {
    border: 1px solid #dbdae3;
    border-radius: 4px;
    padding: 24px 12px 10px 12px;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    position: relative;
    min-height: 58px;
    display: flex;
    align-items: flex-end;
}

.eb-stripe-field:focus-within {
    border-color: #3659e3;
    box-shadow: 0 0 0 1px #3659e3;
    z-index: 1; /* Bring to front if overlapping */
}

.eb-stripe-field label {
    position: absolute;
    top: 8px;
    left: 12px;
    font-size: 11px;
    font-weight: 600;
    color: #6f7287;
    margin: 0;
    pointer-events: none;
    text-transform: none;
}

.eb-stripe-field .required {
    color: #f05537;
}

.eb-stripe-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
}

/* Stripe Elements input style adjustments */
.eb-stripe-input-container {
    width: 100%;
}

#eb-card-number, 
#eb-card-expiry, 
#eb-card-cvc, 
#eb-card-postal {
    width: 100%;
    min-height: 22px;
}

@keyframes ebFadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Stripe Container Tweaks */
.eb-stripe-container {
    margin-top: 5px;
    min-height: 44px;
}

/* Submit Section inside Form */
.eb-checkout-submit-section {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--eb-border);
}

.eb-submit-agreement {
    font-size: 13px;
    color: #6f7287;
    margin-bottom: 20px;
    line-height: 1.6;
}

.eb-submit-agreement a {
    color: #3659e3;
    text-decoration: none;
}

.eb-submit-agreement a:hover {
    text-decoration: underline;
}

.modal-place-order-btn {
    width: 100% !important;
    background: var(--eb-action) !important;
    color: #fff !important;
    padding: 16px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.2s;
    margin-bottom: 10px !important;
}

.modal-place-order-btn:hover {
    filter: brightness(0.9);
}

.eb-powered-by {
    text-align: center;
    font-size: 12px;
    color: #9ca3af;
    margin-top: 10px;
}

.checkout-btn {
  background: var(--eb-action) !important; /* #f05537 */
  color: #fff !important;
  border: none !important;
  padding: 14px 60px !important;
  border-radius: 0 !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  cursor: pointer !important;
  width: auto !important; /* Prevents justification/stretching */
  display: block !important;
  margin-left: auto !important; /* Extra push to right */
}

.checkout-btn:hover {
    background: var(--eb-action-light) !important;
}

/* Loading Spinner */
.tix-modal-loading {
    padding: 80px 0;
    text-align: center;
}

.tix-spinner {
    width: 40px;
    height: 40px;
    border: 3.5px solid rgba(240, 85, 55, 0.1);
    border-top-color: var(--eb-action);
    border-radius: 50%;
    animation: tixSpin 0.7s linear infinite;
    margin: 0 auto 15px;
}

@keyframes tixSpin {
    to { transform: rotate(360deg); }
}

/* Mobile Summary Elements - Hidden on Desktop by default */
.eb-mobile-summary-header {
    display: none !important;
}

@media (max-width: 900px) {
    .tix-modal-main { 
        flex-direction: column; /* Tickets first */
        height: calc(100% - 70px) !important; /* Make room for sticky bar */
        overflow: hidden;
    }
    
    .tix-modal-main-content {
        height: 100% !important;
        padding: 20px 20px 80px !important; 
        overflow-y: auto;
    }

    /* Hide OLD mobile cart trigger as we now use the sticky checkout bar */
    .mobile-cart-button, #mobile-cart-trigger { display: none !important; }

    .tix-modal-sidebar-image { display: none !important; }
    
    .tix-modal-order-summary { 
        padding: 30px 20px !important; /* Increased padding */
    }
    
    .tix-modal-order-summary h3 {
        font-size: 20px !important; /* Larger heading */
        margin-bottom: 25px !important;
    }

    .eb-summary-item {
        font-size: 16px !important; /* Larger ticket item text */
        margin-bottom: 20px !important;
    }
    
    .eb-summary-item span:first-child {
        width: 220px !important; /* Increased width to accommodate larger font */
        flex: 0 0 220px !important;
    }

    .tix-summary-line {
        font-size: 16px !important; /* Larger subtotal/fees text */
    }

    .tix-summary-line.total-line {
        font-size: 24px !important; /* Larger Total amount */
        margin-top: 25px !important;
    }

    .tix-modal-sidebar { 
        position: fixed !important; /* Switch to fixed for absolute full screen coverage */
        top: 0 !important;
        left: 0 !important;
        width: 100% !important; 
        height: 100% !important;
        max-height: 100vh !important;
        background: #fff !important;
        z-index: 200000 !important; /* Above everything including the backdrop */
        transform: translateY(100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        visibility: hidden;
        display: flex;
        flex-direction: column;
    }
    
    .tix-modal-sidebar.mobile-active {
        transform: translateY(0);
        visibility: visible;
    }

    /* Add a close indicator/handle for mobile full screen */
    .eb-mobile-summary-header {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        margin-bottom: 25px !important;
        border-bottom: 1px solid var(--eb-border) !important;
        padding-bottom: 15px !important;
    }
    
    .eb-mobile-summary-header h3 {
        margin: 0 !important;
        font-size: 20px !important;
        display: block !important;
    }
    
    .eb-mobile-summary-close {
        background: none !important;
        border: none !important;
        font-size: 24px !important;
        color: var(--eb-text) !important;
        cursor: pointer !important;
        padding: 5px !important;
    }

    .tix-modal-order-summary > h3 {
        display: none !important; /* Hide the static h3 since we have the header now */
    }

    .tix-modal-sidebar::before {
        content: "";
        width: 40px;
        height: 4px;
        background: #dbdae3;
        border-radius: 2px;
        margin: 12px auto;
        display: block;
    }

    .tix-modal-content { height: 100vh; width: 100%; max-height: 100vh; border-radius: 0 !important; }
    
    .eb-checkout-bar { 
        position: absolute !important;
        bottom: 0 !important;
        left: 0 !important;
        background: #fff !important;
        padding: 15px 20px !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        border-top: 1px solid var(--eb-border) !important;
        z-index: 10000 !important;
        margin-top: 0 !important;
    }
    
    .eb-mobile-total-toggle {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        cursor: pointer !important;
    }
    
    .eb-mobile-total-amount {
        font-weight: 700 !important;
        font-size: 16px !important;
        color: var(--eb-text) !important;
    }
    
    .eb-toggle-icon {
        font-size: 12px !important;
        transition: transform 0.3s;
    }
    
    .eb-mobile-total-toggle.active .eb-toggle-icon {
        transform: rotate(180deg);
    }

    .tix-summary-line.total-line { margin-top: 15px !important; }

    .checkout-btn {
        padding: 10px 30px !important;
        margin-left: 0 !important;
    }
}

/* Checkout Transition State */
.tix-modal.checkout-active .tix-modal-header,
.tix-modal.checkout-active .tix-modal-promo,
.tix-modal.checkout-active .tix-modal-body-content {
    display: none !important;
}

.tix-modal.checkout-active .tix-modal-checkout-content {
    display: block !important;
}

.eb-checkout-flow-header {
    position: relative !important;
    text-align: center;
    padding: 15px 0 10px;
    border-bottom: 1px solid var(--eb-border);
    margin-bottom: 20px;
}

.eb-checkout-main-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    margin: 0 0 4px !important;
    color: var(--eb-text) !important;
}

.eb-checkout-timer {
    font-size: 13px;
    color: #f05537; /* Eventbrite Orange/Red */
    font-weight: 600;
}

.eb-checkout-event-summary {
    margin-bottom: 15px; /* Reduced gap */
}

.eb-event-card-mini {
    display: flex;
    gap: 15px;
    background: #fff;
    border: 1px solid var(--eb-border);
    border-radius: 4px; /* Harder corners like Eventbrite */
    padding: 12px;
    margin-bottom: 15px;
}

.eb-event-mini-img {
    width: 80px;
    height: 50px;
    flex: 0 0 80px;
}

.eb-event-mini-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px;
}

.eb-mini-name {
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 2px;
    color: var(--eb-text);
}

.eb-mini-date {
    font-size: 12px;
    color: var(--eb-text-light);
    margin-bottom: 3px;
}

.eb-mini-total {
    font-weight: 600;
    font-size: 13px;
    color: var(--eb-text);
}

.eb-checkout-social-msg {
    font-size: 13px;
    color: var(--eb-text-light);
    line-height: 1.5;
    padding: 0;
    margin-bottom: 5px; /* Reduced gap before Billing info */
}

/* Custom Checkbox Styling to match Eventbrite */
.eb-checkbox {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    font-weight: 400 !important;
    cursor: pointer;
    margin-bottom: 10px !important;
    font-size: 14px !important;
    color: var(--eb-text);
}

.eb-checkbox input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    accent-color: #3659e3; /* Eventbrite Blue */
}

.tix-modal-back {
    position: absolute !important;
    left: 20px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: none !important;
    border: none !important;
    font-size: 24px !important;
    color: var(--eb-text) !important;
    cursor: pointer !important;
    padding: 10px !important;
    line-height: 1 !important;
    z-index: 10 !important;
}

/* Ensure header has position relative for the absolute back button */
.tix-modal-header {
    position: relative !important;
}

/* Checkout Form Styles */
.eb-checkout-form {
    padding: 20px 0;
}

.eb-section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin: 35px 0 20px;
}

.eb-section-title {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: var(--eb-text) !important;
    margin: 0 !important;
}

.required-hint {
    font-size: 13px;
    color: var(--eb-text-light); /* Image shows it as grey/light text */
    font-weight: 400;
}

.eb-section-hint {
    display: none; /* Removed as we moved * Required up */
}

.eb-form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.eb-form-group {
    flex: 1 1 0; /* Force equal sizing */
    min-width: 0; /* Prevent overflow */
    display: flex;
    flex-direction: column;
}

.eb-form-group label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--eb-text);
}

.eb-form-group input {
    height: 45px;
    padding: 0 15px;
    border: 1px solid var(--eb-border);
    border-radius: 2px;
    font-size: 16px;
    color: var(--eb-text);
    transition: border-color 0.2s;
}

.eb-form-group input:focus {
    border-color: #3659e3;
    outline: none;
}

.eb-form-group.error input {
    border-color: #f05537 !important;
    background-color: #fff8f7 !important;
}

.eb-error-hint {
    color: #f05537;
    font-size: 12px;
    margin-top: 5px;
    font-weight: 500;
    display: none;
}

.eb-form-group.error .eb-error-hint {
    display: block;
}

.eb-checkbox {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    font-weight: normal !important;
    cursor: pointer;
    margin-bottom: 12px !important;
    font-size: 14px !important;
}

.eb-checkbox input {
    margin-top: 4px;
}

/* Attendee Section */
.eb-attendee-card {
    background: #f8f7fa;
    padding: 24px;
    margin-bottom: 30px;
    border-radius: 4px;
}

.eb-attendee-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--eb-text);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eeedf2;
}

.required {
    color: #f05537;
    margin-left: 2px;
}

.eb-form-label-mini {
    font-size: 13px;
    font-weight: 600;
    color: #3659e3;
    margin-bottom: 8px;
    display: block;
}

.eb-form-select {
    width: 100%;
    height: 45px;
    padding: 0 15px;
    border: 1px solid var(--eb-border);
    border-radius: 2px;
    font-size: 14px;
    color: var(--eb-text);
    background-color: #fff;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%2339364f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpath d='M3 4l3 3 3-3'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

.eb-form-select:focus {
    border-color: #3659e3;
    outline: none;
}

/* Payment Section */
.eb-payment-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--eb-border);
}

.eb-stripe-container {
    padding: 15px;
    border: 1px solid var(--eb-border);
    border-radius: 2px;
    background: #fff;
    margin-bottom: 10px;
}

.eb-error-message {
    color: #f05537;
    font-size: 14px;
    margin-top: 5px;
}

@media (max-width: 900px) {
    .eb-form-row {
        flex-direction: column;
        gap: 0;
    }
}

/* Payment Section Styling */
.eb-payment-section {
    margin-top: 40px;
    padding-top: 30px;
}

.eb-payment-section h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--eb-text);
}

.eb-stripe-container {
    padding: 0;
    border: none;
    background: transparent;
}

.eb-agreement-text {
    font-size: 12px;
    color: #6f7287;
    margin-bottom: 0 !important;
    line-height: 1.6;
}

.eb-agreement-text a {
    color: #3659e3;
    text-decoration: none;
}

.eb-agreement-text a:hover {
    text-decoration: underline;
}



.eb-error-message {
    color: #f05537;
    font-size: 13px;
    margin-top: 10px;
    line-height: 1.4;
}

.eb-stripe-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    color: #6f7287;
    font-size: 14px;
    background: #f8f7fa;
    border-radius: 4px;
}

/* Leave Checkout Confirmation Modal */
.eb-confirm-modal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95); /* Semi-transparent white to blur background */
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.eb-confirm-content {
    background: #fff;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.eb-confirm-title {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: var(--eb-text) !important;
    margin-bottom: 20px !important;
}

.eb-confirm-msg {
    font-size: 15px;
    color: var(--eb-text-light);
    line-height: 1.6;
    margin-bottom: 30px;
}

.eb-confirm-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.eb-confirm-btn {
    padding: 12px 35px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    border: 2px solid var(--eb-border);
    background: #fff;
    color: var(--eb-text);
    min-width: 140px;
}

.eb-confirm-btn.stay-btn {
    background: #fff;
    color: var(--eb-text);
    border-color: var(--eb-border);
}

.eb-confirm-btn.leave-btn {
    background: var(--eb-action);
    color: #fff;
    border-color: var(--eb-action);
}

.eb-confirm-btn:hover {
    filter: brightness(0.95);
}
