/* Thank You Page Styles */
.thank-you-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 20px 60px;
    position: relative;
}

.thank-you-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.thank-you-card {
    background: #fff;
    border-radius: 24px;
    padding: 50px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    position: relative;
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Success Icon */
.success-icon-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
}

.success-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    animation: iconPop 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.success-icon i {
    font-size: 60px;
    color: #fff;
}

.success-ring {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 140px;
    height: 140px;
    border: 3px solid #fda085;
    border-radius: 50%;
    opacity: 0;
    animation: ringPulse 1.5s ease-out 0.3s infinite;
}

@keyframes iconPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes ringPulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

/* Titles */
.thank-you-title {
    font-size: 32px;
    font-weight: 700;
    color: #2d3748;
    text-align: center;
    margin-bottom: 10px;
}

.thank-you-subtitle {
    font-size: 18px;
    color: #718096;
    text-align: center;
    margin-bottom: 35px;
}

/* Booking Details Card */
.booking-details-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 30px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    font-weight: 500;
}

.detail-label i {
    margin-right: 8px;
    opacity: 0.8;
}

.detail-value {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

.detail-amount {
    font-size: 22px;
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 15px;
    border-radius: 8px;
}

/* What's Next Section */
.whats-next-section {
    margin-bottom: 30px;
}

.whats-next-title {
    font-size: 20px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.whats-next-title i {
    color: #fda085;
}

.next-steps {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.next-step {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: #f7fafc;
    border-radius: 12px;
    border-left: 4px solid #fda085;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.next-step:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.step-number {
    min-width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.step-content h6 {
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 5px;
}

.step-content p {
    font-size: 14px;
    color: #718096;
    margin: 0;
    line-height: 1.5;
}

/* Warranty Badge */
.warranty-badge {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
    border-radius: 12px;
    margin-bottom: 20px;
}

.warranty-badge i {
    font-size: 36px;
    color: #fff;
}

.warranty-badge strong {
    font-size: 16px;
    color: #fff;
    display: block;
    margin-bottom: 3px;
}

.warranty-badge p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
}

/* Payment Info Box */
.payment-info-box {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    background: #edf2f7;
    border-radius: 12px;
    margin-bottom: 30px;
    border-left: 4px solid #667eea;
}

.payment-info-box i {
    font-size: 28px;
    color: #667eea;
}

.payment-info-box strong {
    font-size: 15px;
    color: #2d3748;
    display: block;
    margin-bottom: 3px;
}

.payment-info-box p {
    margin: 0;
    color: #718096;
    font-size: 13px;
}

/* Support Section */
.support-section {
    text-align: center;
    margin-bottom: 30px;
    padding-top: 20px;
    border-top: 2px dashed #e2e8f0;
}

.support-text {
    font-size: 15px;
    color: #718096;
    margin-bottom: 15px;
}

.support-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-support-call,
.btn-support-email {
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-support-call {
    background: #48bb78;
    color: #fff;
}

.btn-support-call:hover {
    background: #38a169;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(72, 187, 120, 0.3);
    color: #fff;
}

.btn-support-email {
    background: #667eea;
    color: #fff;
}

.btn-support-email:hover {
    background: #5a67d8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    color: #fff;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-back-home,
.btn-book-more {
    flex: 1;
    min-width: 200px;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-back-home {
    background: #fff;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-back-home:hover {
    background: #667eea;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-book-more {
    background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
    color: #fff;
    border: 2px solid transparent;
}

.btn-book-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(253, 160, 133, 0.4);
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .thank-you-card {
        padding: 40px 25px;
    }

    .thank-you-title {
        font-size: 26px;
    }

    .thank-you-subtitle {
        font-size: 16px;
    }

    .success-icon-wrapper {
        width: 100px;
        height: 100px;
    }

    .success-icon {
        width: 100px;
        height: 100px;
    }

    .success-icon i {
        font-size: 50px;
    }

    .success-ring {
        width: 120px;
        height: 120px;
    }

    .action-buttons {
        flex-direction: column;
    }

    .btn-back-home,
    .btn-book-more {
        width: 100%;
        min-width: unset;
    }

    .support-buttons {
        flex-direction: column;
    }

    .btn-support-call,
    .btn-support-email {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .thank-you-section {
        padding: 60px 15px 40px;
    }

    .booking-details-card {
        padding: 20px;
    }

    .detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .detail-amount {
        font-size: 20px;
        align-self: flex-end;
    }
}
