
/* Christmas Tree Animation - Overlay on top */
.christmas-bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
    background: transparent;
    transition: opacity 1.5s ease-out;
}

.christmas-bg-container.fade-out {
    opacity: 0;
}

.christmas-bg-container .mainSVG {
    width: 60%;
    height: 75%;
    visibility: hidden;
    opacity: 0.5;
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.christmas-bg-container .sparkle {
    /* mix-blend-mode: luminosity */
}

.christmas-bg-container #endMessage {
    display: none;
}

/* CSS Snowflakes Animation */
.snowflakes-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    overflow: hidden;
    transition: opacity 1.5s ease-out;
}

.snowflakes-container.fade-out {
    opacity: 0;
}

.snowflake {
    position: absolute;
    top: -10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1em;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
    animation: snowfall linear infinite;
}

@keyframes snowfall {
    0% {
        transform: translateY(-10px) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0.3;
    }
}

.snowflake:nth-child(1) { left: 5%; animation-duration: 10s; animation-delay: 0s; font-size: 0.8em; }
.snowflake:nth-child(2) { left: 15%; animation-duration: 12s; animation-delay: 1s; font-size: 1.2em; }
.snowflake:nth-child(3) { left: 25%; animation-duration: 8s; animation-delay: 0.5s; font-size: 0.6em; }
.snowflake:nth-child(4) { left: 35%; animation-duration: 14s; animation-delay: 2s; font-size: 1em; }
.snowflake:nth-child(5) { left: 45%; animation-duration: 9s; animation-delay: 0.3s; font-size: 0.9em; }
.snowflake:nth-child(6) { left: 55%; animation-duration: 11s; animation-delay: 1.5s; font-size: 1.1em; }
.snowflake:nth-child(7) { left: 65%; animation-duration: 13s; animation-delay: 0.8s; font-size: 0.7em; }
.snowflake:nth-child(8) { left: 75%; animation-duration: 10s; animation-delay: 2.5s; font-size: 1.3em; }
.snowflake:nth-child(9) { left: 85%; animation-duration: 15s; animation-delay: 0.2s; font-size: 0.5em; }
.snowflake:nth-child(10) { left: 95%; animation-duration: 7s; animation-delay: 1.2s; font-size: 1em; }
.snowflake:nth-child(11) { left: 10%; animation-duration: 16s; animation-delay: 3s; font-size: 0.8em; }
.snowflake:nth-child(12) { left: 30%; animation-duration: 11s; animation-delay: 0.7s; font-size: 1.4em; }
.snowflake:nth-child(13) { left: 50%; animation-duration: 9s; animation-delay: 1.8s; font-size: 0.6em; }
.snowflake:nth-child(14) { left: 70%; animation-duration: 13s; animation-delay: 0.4s; font-size: 1.2em; }
.snowflake:nth-child(15) { left: 90%; animation-duration: 12s; animation-delay: 2.2s; font-size: 0.9em; }

/* Skeleton Loading Animation */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
}

.skeleton-text {
    height: 14px;
    margin-bottom: 8px;
}

.skeleton-text-lg {
    height: 20px;
    margin-bottom: 10px;
}

.skeleton-text-sm {
    height: 12px;
}

.skeleton-banner {
    height: 80px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.skeleton-image {
    width: 100%;
    height: 140px;
    border-radius: 8px;
}

.skeleton-btn {
    height: 48px;
    width: 160px;
    border-radius: 6px;
}

.skeleton-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

/* Hide skeleton - show content immediately */
.skeleton-wrapper {
    display: none !important;
}

.actual-content {
    display: grid !important;
}

.payment-success-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 24px 20px 40px;
}

.success-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
    align-items: start;
}

@media (max-width: 900px) {
    .success-layout {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* Left Column - Main Content */
.success-main {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.success-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border: 1px solid #a7f3d0;
    border-radius: 8px;
    margin-bottom: 20px;
}

.success-banner-icon {
    width: 44px;
    height: 44px;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.success-banner-icon i {
    font-size: 20px;
    color: white;
}

.success-banner-content h1 {
    font-size: 20px;
    font-weight: 700;
    color: #065f46;
    margin: 0 0 4px;
}

.success-banner-content p {
    font-size: 14px;
    color: #047857;
    margin: 0;
}

.section-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a2b49;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e7eb;
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 24px;
    margin-bottom: 24px;
}

@media (max-width: 600px) {
    .details-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.detail-item .label {
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
}

.detail-item .value {
    font-size: 15px;
    color: #1a2b49;
    font-weight: 600;
}

.detail-item .value.highlight {
    color: #0068D9;
    font-size: 16px;
}

.action-buttons {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

@media (max-width: 500px) {
    .action-buttons {
        flex-direction: column;
    }
    .action-buttons .primary-btn1 {
        width: 100%;
        justify-content: center;
    }
}

/* Right Column - Order Summary */
.order-summary {
    background: #f9fafb;
    border-radius: 10px;
    padding: 20px;
    position: sticky;
    top: 100px;
}

.order-summary h2 {
    font-size: 16px;
    font-weight: 600;
    color: #1a2b49;
    margin: 0 0 16px;
}

.tour-card {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.tour-card img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.tour-card-info h3 {
    font-size: 14px;
    font-weight: 600;
    color: #1a2b49;
    margin: 0 0 6px;
    line-height: 1.4;
}

.tour-card-info .rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
}

.tour-card-info .rating .star {
    color: #f59e0b;
}

.tour-card-info .rating .score {
    font-weight: 600;
    color: #1a2b49;
}

.tour-card-info .rating .count {
    color: #9ca3af;
}

.summary-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 12px 0;
}

.summary-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 6px 0;
}

.summary-row i {
    color: #6b7280;
    width: 16px;
    font-size: 14px;
    margin-top: 2px;
}

.summary-row .text {
    font-size: 14px;
    font-weight: 500;
    color: #1a2b49;
    line-height: 1.4;
}

.total-box {
    background: #1a2b49;
    border-radius: 10px;
    padding: 16px;
    margin-top: 16px;
    text-align: center;
}

.total-box .label {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 4px;
}

.total-box .amount {
    font-size: 26px;
    font-weight: 700;
    color: white;
}

.payment-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #10b981;
    color: white;
    padding: 5px 12px;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 10px;
}

.payment-badge i {
    font-size: 11px;
}

.info-box {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    padding: 12px 14px;
    margin-top: 16px;
}

.info-box p {
    font-size: 13px;
    color: #1e40af;
    margin: 0 0 6px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

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

.info-box p i {
    margin-top: 2px;
    flex-shrink: 0;
    font-size: 12px;
}