/**
 * Tour Booking Summary Page Styles
 * For [tour_booking_summary] shortcode
 * Version: 1.0.0
 */

/* ========================================
   ROOT VARIABLES (Reuse from main theme)
======================================== */
:root {
    --tbs-primary: #14b8a6;
    --tbs-primary-dark: #0d9488;
    --tbs-secondary: #06b6d4;
    --tbs-success: #10b981;
    --tbs-warning: #f59e0b;
    --tbs-danger: #ef4444;
    --tbs-text: #0f172a;
    --tbs-text-light: #64748b;
    --tbs-bg: #ffffff;
    --tbs-bg-alt: #f8fafc;
    --tbs-border: #e2e8f0;
    --tbs-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    --tbs-shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --tbs-radius: 12px;
}

/* ========================================
   MAIN WRAPPER
======================================== */
.booking-confirmation-wrapper-tbl419 {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--tbs-text);
    line-height: 1.6;
}

/* ========================================
   SUCCESS MESSAGE SECTION
======================================== */
.booking-success-message-tbl419 {
    text-align: center;
    padding: 1.5rem 1.5rem 1.25rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(20, 184, 166, 0.05) 100%);
    border-radius: var(--tbs-radius);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.success-icon-tbl419 {
    font-size: 2.75rem;
    color: var(--tbs-success);
    margin-bottom: 0.5rem;
    animation: success-bounce 0.6s ease-out;
}

@keyframes success-bounce {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); opacity: 1; }
}

.booking-success-message-tbl419 h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--tbs-success);
    margin: 0 0 0.25rem 0;
}

.booking-success-message-tbl419 > p {
    font-size: 0.95rem;
    color: var(--tbs-text-light);
    margin: 0 0 0.75rem 0;
}

/* Tour Name Display in Success */
.booking-tour-name-display-tbl419 {
    margin: 0 auto 0.75rem;
    padding: 0.5rem 1rem;
    background: rgba(16, 185, 129, 0.08);
    border-radius: 8px;
    border: 1px solid rgba(16, 185, 129, 0.15);
    max-width: 600px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--tbs-text);
    line-height: 1.4;
}

.booking-tour-name-display-tbl419 i {
    color: var(--tbs-primary);
    margin-right: 0.3rem;
}

/* Booking Number */
.booking-number-display-tbl419 {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: var(--tbs-bg);
    border-radius: 50px;
    box-shadow: var(--tbs-shadow);
    border: 1px solid var(--tbs-border);
    margin-bottom: 0.75rem;
}

.booking-number-display-tbl419 .label-tbl419 {
    font-size: 0.8rem;
    color: var(--tbs-text-light);
    font-weight: 500;
}

.booking-number-display-tbl419 .number-tbl419 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--tbs-primary-dark);
    letter-spacing: 0.5px;
}

/* Disclaimer */
.booking-disclaimer-tbl419 {
    font-size: 0.8rem;
    color: var(--tbs-text-light);
    line-height: 1.4;
    max-width: 85%;
    margin: 0 auto;
    opacity: 0.85;
}

.booking-disclaimer-tbl419 i {
    margin-right: 0.25rem;
    font-size: 0.75rem;
    color: var(--tbs-warning, #f59e0b);
}

/* ========================================
   SUMMARY GRID LAYOUT
======================================== */
.booking-summary-grid-tbl419 {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2rem;
    margin-bottom: 2rem;
}

/* ========================================
   LEFT COLUMN - BOOKING DETAILS
======================================== */
.booking-details-section-tbl419 {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* ========================================
   RIGHT COLUMN - PRICE SUMMARY
======================================== */
.price-summary-section-tbl419 {
    position: sticky;
    top: 2rem;
    align-self: start;
}

/* ========================================
   SUMMARY CARDS
======================================== */
.summary-card-tbl419 {
    background: var(--tbs-bg);
    border-radius: var(--tbs-radius);
    box-shadow: var(--tbs-shadow-md);
    overflow: hidden;
    border: 1px solid var(--tbs-border);
}

.card-title-tbl419 {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--tbs-text);
    margin: 0;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.08) 0%, rgba(6, 182, 212, 0.05) 100%);
    border-bottom: 1px solid var(--tbs-border);
}

.card-title-tbl419 i {
    color: var(--tbs-primary);
    font-size: 1rem;
}

/* ========================================
   TOUR INFORMATION CARD
======================================== */
.tour-name-display-tbl419 {
    padding: 1rem 1.25rem;
    background: #f0f9ff;
    border-bottom: 1px solid var(--tbs-border);
}

.tour-name-link-tbl419 {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #1e40af;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
    line-height: 1.4;
}

.tour-name-link-tbl419:hover {
    color: var(--tbs-primary);
}

.tour-name-link-tbl419 i:first-child {
    color: #3b82f6;
    font-size: 1.1rem;
}

.tour-name-link-tbl419 i:last-child {
    font-size: 0.75rem;
    opacity: 0.6;
}

.tour-name-link-tbl419 span {
    flex: 1;
}

/* Tour Info Display */
.tour-info-display-tbl419 {
    display: flex;
    gap: 1.25rem;
    padding: 1.25rem;
}

.tour-thumbnail-tbl419 {
    flex-shrink: 0;
    width: 180px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--tbs-shadow);
}

.tour-thumbnail-tbl419 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.tour-thumbnail-tbl419:hover img {
    transform: scale(1.05);
}

.tour-details-tbl419 {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.tour-meta-tbl419 {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tour-meta-tbl419 span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--tbs-text);
}

.tour-meta-tbl419 span i {
    color: var(--tbs-primary);
    width: 18px;
    font-size: 0.9rem;
}

.view-tour-btn-tbl419 {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: var(--tbs-primary);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
    margin-top: 0.75rem;
    width: fit-content;
}

.view-tour-btn-tbl419:hover {
    background: var(--tbs-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
    color: #fff;
}

/* ========================================
   INFO GRID (Booking Info, Contact Info)
======================================== */
.info-grid-tbl419 {
    padding: 1.25rem;
}

.info-row-tbl419 {
    display: flex;
    align-items: flex-start;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.info-row-tbl419:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-row-tbl419:first-child {
    padding-top: 0;
}

.info-row-tbl419 .label-tbl419 {
    flex: 0 0 140px;
    font-size: 0.875rem;
    color: var(--tbs-text-light);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.info-row-tbl419 .label-tbl419 i {
    color: var(--tbs-primary);
    font-size: 0.85rem;
    width: 16px;
}

.info-row-tbl419 .value-tbl419 {
    flex: 1;
    font-size: 0.9rem;
    color: var(--tbs-text);
    font-weight: 500;
}

/* Status Badge */
.status-badge-summary-tbl419 {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-pending-tbl419 {
    background: #fef3c7;
    color: #92400e;
}

.status-confirmed-tbl419 {
    background: #d1fae5;
    color: #065f46;
}

.status-cancelled-tbl419 {
    background: #fee2e2;
    color: #991b1b;
}

/* Contact Links */
.contact-link-tbl419 {
    color: var(--tbs-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.contact-link-tbl419:hover {
    color: var(--tbs-primary-dark);
    text-decoration: underline;
}

/* ========================================
   PRICE CARD
======================================== */
.price-card-tbl419 {
    background: var(--tbs-bg);
}

.price-card-tbl419 .card-title-tbl419 {
    background: linear-gradient(135deg, var(--tbs-primary) 0%, var(--tbs-secondary) 100%);
    color: #fff;
}

.price-card-tbl419 .card-title-tbl419 i {
    color: #fff;
}

/* Tour Name in Price Card */
.price-tour-name-tbl419 {
    margin: 1rem 1.25rem 0;
    padding: 0.875rem 1rem;
    background: #e0f2fe;
    border-radius: 8px;
    border: 1px solid #bae6fd;
}

.price-tour-name-tbl419 > div:first-child {
    font-size: 0.75rem;
    color: #0369a1;
    margin-bottom: 0.25rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.price-tour-name-tbl419 > div:last-child {
    font-size: 0.9rem;
    color: #0c4a6e;
    font-weight: 700;
    line-height: 1.4;
}

/* Price Breakdown */
.price-breakdown-tbl419 {
    padding: 1.25rem;
}

.price-line-tbl419 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    font-size: 0.9rem;
    color: var(--tbs-text);
}

.price-line-tbl419.subtotal-tbl419 {
    padding-top: 0;
    padding-bottom: 0.75rem;
    font-weight: 600;
    color: var(--tbs-text-light);
}

.price-line-tbl419.discount-tbl419 span:last-child {
    color: var(--tbs-success);
    font-weight: 600;
}

.price-line-divider-tbl419 {
    height: 1px;
    background: var(--tbs-border);
    margin: 0.5rem 0;
}

.price-line-tbl419.total-price-tbl419 {
    padding-top: 1rem;
    font-size: 1rem;
    font-weight: 600;
}

.total-amount-tbl419 {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: var(--tbs-primary-dark) !important;
}

/* Price Note */
.price-note-tbl419 {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 1rem 1.25rem;
    background: var(--tbs-bg-alt);
    border-top: 1px solid var(--tbs-border);
    font-size: 0.8rem;
    color: var(--tbs-text-light);
}

.price-note-tbl419 i {
    color: var(--tbs-secondary);
    margin-top: 0.1rem;
}

.price-note-tbl419 p {
    margin: 0;
    line-height: 1.5;
}

/* ========================================
   NEXT STEPS SECTION
======================================== */
.next-steps-section-tbl419 {
    background: var(--tbs-bg);
    border-radius: var(--tbs-radius);
    padding: 1.5rem;
    box-shadow: var(--tbs-shadow-md);
    border: 1px solid var(--tbs-border);
    margin-bottom: 2rem;
}

.next-steps-section-tbl419 > h3 {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--tbs-text);
    margin: 0 0 1.25rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--tbs-primary);
}

.next-steps-section-tbl419 > h3 i {
    color: var(--tbs-primary);
}

.steps-grid-tbl419 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.step-item-tbl419 {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--tbs-bg-alt);
    border-radius: 10px;
    transition: all 0.2s ease;
}

.step-item-tbl419:hover {
    transform: translateY(-2px);
    box-shadow: var(--tbs-shadow-md);
}

.step-number-tbl419 {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--tbs-primary) 0%, var(--tbs-secondary) 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
}

.step-content-tbl419 h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--tbs-text);
    margin: 0 0 0.35rem 0;
}

.step-content-tbl419 p {
    font-size: 0.85rem;
    color: var(--tbs-text-light);
    margin: 0;
    line-height: 1.5;
}

/* ========================================
   CONTACT SECTION
======================================== */
.contact-section-tbl419 {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.08) 0%, rgba(6, 182, 212, 0.05) 100%);
    border-radius: var(--tbs-radius);
    border: 1px solid rgba(20, 184, 166, 0.15);
}

.contact-section-tbl419 > i {
    font-size: 2.5rem;
    color: var(--tbs-primary);
    margin-bottom: 1rem;
    display: block;
}

.contact-section-tbl419 > p {
    font-size: 1rem;
    color: var(--tbs-text);
    margin: 0 0 1rem 0;
}

.contact-btn-tbl419 {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: var(--tbs-primary);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-btn-tbl419:hover {
    background: var(--tbs-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(20, 184, 166, 0.35);
    color: #fff;
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */
@media (max-width: 1024px) {
    .booking-summary-grid-tbl419 {
        grid-template-columns: 1fr 350px;
        gap: 1.5rem;
    }
}

@media (max-width: 900px) {
    .booking-summary-grid-tbl419 {
        grid-template-columns: 1fr;
    }

    .price-summary-section-tbl419 {
        position: static;
    }

    .steps-grid-tbl419 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .booking-confirmation-wrapper-tbl419 {
        padding: 1rem;
    }

    .booking-success-message-tbl419 {
        padding: 1.25rem 1rem 1rem;
    }

    .success-icon-tbl419 {
        font-size: 2.25rem;
    }

    .booking-success-message-tbl419 h2 {
        font-size: 1.2rem;
    }

    .booking-success-message-tbl419 > p {
        font-size: 0.85rem;
    }

    .booking-tour-name-display-tbl419 {
        padding: 0.4rem 0.75rem;
        font-size: 0.8rem;
        max-width: 100%;
    }

    .booking-number-display-tbl419 {
        padding: 0.4rem 1rem;
        gap: 0.35rem;
    }

    .booking-disclaimer-tbl419 {
        max-width: 100%;
        font-size: 0.75rem;
    }

    .booking-number-display-tbl419 .label-tbl419 {
        font-size: 0.8rem;
    }

    .booking-number-display-tbl419 .number-tbl419 {
        font-size: 0.9rem;
    }

    .booking-summary-grid-tbl419 {
        gap: 1.25rem;
    }

    .card-title-tbl419 {
        font-size: 0.95rem;
        padding: 0.875rem 1rem;
    }

    .tour-info-display-tbl419 {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .tour-thumbnail-tbl419 {
        width: 100%;
        height: 180px;
    }

    .info-row-tbl419 {
        flex-direction: column;
        gap: 0.25rem;
    }

    .info-row-tbl419 .label-tbl419 {
        flex: none;
    }

    .info-grid-tbl419 {
        padding: 1rem;
    }

    .next-steps-section-tbl419 {
        padding: 1.25rem;
    }

    .step-item-tbl419 {
        padding: 0.875rem;
    }

    .step-number-tbl419 {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .contact-section-tbl419 {
        padding: 1.5rem 1rem;
    }

    .contact-section-tbl419 > i {
        font-size: 2rem;
    }

    .contact-btn-tbl419 {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .booking-confirmation-wrapper-tbl419 {
        padding: 0.75rem;
    }

    .booking-success-message-tbl419 {
        padding: 1.25rem 0.875rem;
        border-radius: 10px;
    }

    .success-icon-tbl419 {
        font-size: 2.5rem;
    }

    .booking-success-message-tbl419 h2 {
        font-size: 1.35rem;
    }

    .summary-card-tbl419 {
        border-radius: 10px;
    }

    .tour-name-link-tbl419 {
        font-size: 0.9rem;
    }

    .price-breakdown-tbl419 {
        padding: 1rem;
    }

    .total-amount-tbl419 {
        font-size: 1.35rem !important;
    }
}

/* ========================================
   DARK MODE SUPPORT
======================================== */
@media (prefers-color-scheme: dark) {
    :root {
        --tbs-text: #f1f5f9;
        --tbs-text-light: #94a3b8;
        --tbs-bg: #1e293b;
        --tbs-bg-alt: #0f172a;
        --tbs-border: #334155;
    }

    .booking-success-message-tbl419 {
        background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(20, 184, 166, 0.08) 100%);
        border-color: rgba(16, 185, 129, 0.25);
    }

    .booking-tour-name-display-tbl419 {
        background: #1e3a5f;
        border-color: #2563eb;
    }

    .booking-tour-name-display-tbl419 .label-tbl419 {
        color: #60a5fa;
    }

    .booking-tour-name-display-tbl419 .tour-name-tbl419 {
        color: #bfdbfe;
    }

    .booking-number-display-tbl419 {
        background: var(--tbs-bg-alt);
    }

    .tour-name-display-tbl419 {
        background: #1e3a5f;
    }

    .tour-name-link-tbl419 {
        color: #60a5fa;
    }

    .price-tour-name-tbl419 {
        background: #164e63;
        border-color: #0891b2;
    }

    .price-tour-name-tbl419 > div:first-child {
        color: #67e8f9;
    }

    .price-tour-name-tbl419 > div:last-child {
        color: #cffafe;
    }

    .contact-section-tbl419 {
        background: linear-gradient(135deg, rgba(20, 184, 166, 0.12) 0%, rgba(6, 182, 212, 0.08) 100%);
        border-color: rgba(20, 184, 166, 0.25);
    }

    .status-pending-tbl419 {
        background: #78350f;
        color: #fef3c7;
    }

    .status-confirmed-tbl419 {
        background: #065f46;
        color: #d1fae5;
    }

    .status-cancelled-tbl419 {
        background: #7f1d1d;
        color: #fee2e2;
    }
}

/* ========================================
   PRINT STYLES
======================================== */
@media print {
    .booking-confirmation-wrapper-tbl419 {
        padding: 0;
    }

    .booking-success-message-tbl419 {
        background: none !important;
        border: 1px solid #ccc;
    }

    .summary-card-tbl419 {
        box-shadow: none;
        border: 1px solid #ccc;
        page-break-inside: avoid;
    }

    .price-summary-section-tbl419 {
        position: static;
    }

    .contact-section-tbl419 {
        display: none;
    }

    .view-tour-btn-tbl419,
    .contact-btn-tbl419 {
        display: none !important;
    }
}

/* ========================================
   REDUCED MOTION
======================================== */
@media (prefers-reduced-motion: reduce) {
    .success-icon-tbl419 {
        animation: none;
    }

    .step-item-tbl419:hover,
    .contact-btn-tbl419:hover,
    .view-tour-btn-tbl419:hover {
        transform: none;
    }
}
