.btc-confirmation-page {
    max-width: 960px;
    margin: 40px auto;
    padding: 24px 16px 80px;
}

/* Button Styles */
.btc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    line-height: 1.4;
}

.btc-btn-secondary {
    background-color: #2563eb;
    color: white;
    border-color: #2563eb;
}

.btc-btn-secondary:hover {
    background-color: #1d4ed8;
}

.btc-btn-ghost {
    background: transparent;
    color: #4b5563;
    border-color: #e5e7eb;
}

.btc-btn-ghost:hover {
    background-color: #f9fafb;
    border-color: #d1d5db;
    color: #111827;
}

.btc-btn-outline {
    background: transparent;
    color: #2563eb;
    border-color: #2563eb;
}

.btc-btn-outline:hover {
    background-color: #eff6ff;
}

.btc-confirmation-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

.btc-confirmation-subtitle {
    margin-bottom: 16px;
}

.btc-confirmation-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.btc-confirmation-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
}

.btc-confirmation-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.btc-confirmation-section {
    margin-top: 24px;
}

.btc-grid {
    display: grid;
    gap: 12px 24px;
}

.btc-grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.btc-grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.btc-label {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 4px;
}

.btc-confirmation-tour {
    margin-bottom: 24px;
}

.btc-confirmation-tour-media {
    width: 100%;
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 16px;
    background-color: #f3f4f6;
}

.btc-confirmation-tour-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btc-tour-title {
    font-size: 24px;
    /* Increased size */
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.2;
}

.btc-tour-subtitle {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 12px;
}

.btc-tour-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 14px;
    color: #374151;
    font-weight: 500;
}

.btc-tour-meta span:not(:last-child)::after {
    content: "•";
    margin-left: 12px;
    color: #9ca3af;
}

.btc-tour-meta span:empty {
    display: none;
}


.btc-payment-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
    gap: 12px;
    /* Added gap for better separation */
}

.btc-payment-row-discount span:last-child {
    color: #ef4444;
}

.btc-payment-summary {
    margin-top: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btc-payment-badge {
    padding: 4px 10px;
    border-radius: 999px;
    background: #ecfdf3;
    color: #15803d;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.btc-tour-image-placeholder {
    width: 100%;
    height: 200px;
    background-color: #f3f4f6;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btc-confirmation-footer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

/* Cancellation Modal Styles */
.btc-cancel-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.btc-cancel-modal[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
}

.btc-cancel-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.btc-cancel-modal__box {
    position: relative;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 1;
}

.btc-cancel-modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 30px;
    border-bottom: 1px solid #e5e7eb;
}

.btc-cancel-modal__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    color: #111827;
}

.btc-cancel-modal__close {
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: #6b7280;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.btc-cancel-modal__close:hover {
    color: #111827;
}

.btc-cancel-modal__body {
    padding: 24px 30px;
}

.btc-cancel-form__field {
    margin-bottom: 20px;
}

.btc-cancel-form__label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
}

.btc-cancel-form__textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.9rem;
    resize: vertical;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.btc-cancel-form__textarea:focus {
    outline: none;
    border-color: #0056b3;
}

.btc-cancel-form__input {
    width: 100%;
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.9rem;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.btc-cancel-form__input:focus {
    outline: none;
    border-color: #0056b3;
}

.btc-cancel-form__checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #111827;
    cursor: pointer;
}

.btc-cancel-form__checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.btc-cancel-modal__foot {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 30px;
    border-top: 1px solid #e5e7eb;
}

#btc-confirm-cancel {
    margin-right: 0px !important;
}

.btn-primary {
    background-color: #ef4444;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-primary:hover {
    background-color: #dc2626;
}

.btn-primary:disabled {
    background-color: #9ca3af;
    cursor: not-allowed;
}

.btn-ghost {
    background-color: transparent;
    border: 1px solid #e5e7eb;
    color: #6b7280;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-ghost:hover {
    border-color: #6b7280;
    color: #111827;
}

@media (max-width: 768px) {
    .btc-cancel-modal__box {
        width: 95%;
    }

    .btc-cancel-modal__header,
    .btc-cancel-modal__body,
    .btc-cancel-modal__foot {
        padding: 20px;
    }
}

/* === Agent Booking Design Update === */

/* Header Nav */
.btc-page-header-nav {
    margin-bottom: 24px;
}

.btc-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #4b5563;
    text-decoration: none;
    font-weight: 500;
}

.btc-back-link:hover {
    color: #111827;
}

/* Detailed Header */
.btc-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
}

.btc-header-main {
    flex: 1;
    min-width: 280px;
}

.btc-confirmation-title {
    font-size: 30px;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.btc-confirmation-subtitle {
    color: #6b7280;
    font-size: 15px;
}

.btc-header-actions {
    display: flex;
    gap: 12px;
}

.btc-btn-sm {
    padding: 8px 12px;
    font-size: 13px;
    height: 38px;
}

/* Redesigned Card */
.btc-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #f3f4f6;
}

.btc-card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #111827;
}

.btc-confirmation-code-row {
    font-size: 14px;
    color: #2563eb;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btc-icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 2px;
    display: flex;
    align-items: center;
}

.btc-icon-btn:hover {
    transform: scale(1.1);
}

/* Help Pill */
.btc-help-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px 8px 8px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.2s;
    background: white;
}

.btc-help-pill:hover {
    border-color: #d1d5db;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btc-help-icon-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fef2f2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btc-help-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #111827;
    line-height: 1.2;
}

.btc-help-action {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #2563eb;
    font-weight: 500;
}

/* Card Body Layout */
.btc-card-body-flex {
    display: flex;
    gap: 24px;
}

.btc-confirmation-tour-media {
    width: 280px;
    /* Fixed width sidebar style */
    height: 180px;
    flex-shrink: 0;
}

.btc-confirmation-tour-info {
    flex: 1;
    padding-top: 4px;
}

.btc-tour-title-lg {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #111827;
}

/* Meta Icons Grid */
.btc-meta-grid {
    display: flex;
    gap: 24px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.btc-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #374151;
    font-weight: 500;
}

/* Sections */
.btc-section-wrapper {
    margin-top: 32px;
}

.btc-section-title {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 16px;
}

.btc-customer-grid,
.btc-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 cols for Customer */
    gap: 24px;
}

.btc-info-grid {
    grid-template-columns: repeat(2, 1fr);
    /* 2 cols for Info */
}

.btc-label-sm {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btc-value-lg {
    font-size: 15px;
    color: #111827;
    font-weight: 500;
}

.btc-value-md {
    font-size: 14px;
    color: #374151;
    line-height: 1.5;
}

/* Payment Section */
.btc-payment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.btc-payment-status-pill {
    background: #10b981;
    /* Green */
    color: white;
    /* White text for better contrast or use design specific */
    /* Design might be Green bg + White text OR Green Light bg + Green text */
    /* Screenshot: Solid Green bg with white text "Paid" and check icon? */
    /* Let's use screenshot mimic */
    background: #10b981;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btc-payment-lines {
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 16px;
    margin-bottom: 16px;
}

.btc-payment-row {
    font-size: 14px;
    color: #374151;
    padding: 4px 0;
}

.btc-payment-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 700;
    color: #111827;
}

/* Footer Action Cards */
.btc-footer-actions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
    border-top: 1px solid #e5e7eb;
    padding-top: 40px;
}

.btc-action-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s;
    background: white;
}

.btc-action-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border-color: #d1d5db;
}

.btc-action-card-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btc-action-card-right {
    font-size: 13px;
    color: #111827;
    font-weight: 600;
}

/* Themes */
.btc-action-icon-red {
    color: #ef4444;
    /* Icon styling? Round bg? */
    /* Design: Just icon usually or icon in circle */
    /* Let's assume simple icon color */
}

.btc-action-text-red {
    color: #ef4444;
    font-weight: 600;
    font-size: 15px;
}

.btc-action-icon-blue {
    color: #2563eb;
}

.btc-action-text-blue {
    color: #2563eb;
    font-weight: 600;
    font-size: 15px;
}

.btc-info-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 16px;
    padding: 12px;
    background: #f9fafb;
    border-radius: 8px;
    font-size: 13px;
    color: #374151;
}

/* Responsive */
@media (max-width: 768px) {
    .btc-card-body-flex {
        flex-direction: column;
    }

    .btc-confirmation-tour-media {
        width: 100%;
        height: 200px;
    }

    .btc-footer-actions-grid {
        grid-template-columns: 1fr;
    }

    .btc-header-flex {
        flex-direction: column;
    }

    .btc-customer-grid {
        grid-template-columns: 1fr;
        /* Stack on mobile */
    }
}