﻿/*======================================================
    BOOKING CONFIRMATION
======================================================*/

/* Wrapper & Container */
.confirmation-wrapper {
    padding: 80px 15px 60px;
    min-height: 90vh;
    background: linear-gradient(135deg, #f5f8fc 0%, #e8f1f8 100%);
}

/* Main Card */
.confirmation-card {
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

/* Success Header */
.confirmation-header {
    background: linear-gradient(135deg, #3ecc50 0%, #2ba83c 100%);
    color: #ffffff;
    padding: 50px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .confirmation-header::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -10%;
        width: 300px;
        height: 300px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
    }

    .confirmation-header::after {
        content: '';
        position: absolute;
        bottom: -30%;
        left: -5%;
        width: 250px;
        height: 250px;
        background: rgba(255, 255, 255, 0.08);
        border-radius: 50%;
    }

.btn-print-header {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #ffffff;
    border: none;
    color: #3ecc50;
    padding: 12px 18px;
    border-radius: 25px;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
    font-weight: 700;
    font-size: 14px;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

    .btn-print-header i {
        font-size: 18px;
    }

    .btn-print-header:hover {
        background: #f0f0f0;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    }

.success-icon-wrapper {
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

    .success-icon-wrapper i {
        font-size: 70px;
        animation: scaleInPulse 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    }

.confirmation-title {
    font-size: 36px;
    font-weight: 700;
    margin: 15px 0 10px;
    font-family: 'Barlow Semi Condensed', sans-serif;
    position: relative;
    z-index: 1;
}

.confirmation-subtitle {
    font-size: 16px;
    margin: 0;
    opacity: 0.95;
    position: relative;
    z-index: 1;
    font-weight: 300;
}

/* Success Alert */
.alert-confirmation {
    margin: 25px 30px;
    border-radius: 8px;
    border: none;
    background: #d4edda;
    color: #155724;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
}

    .alert-confirmation i {
        font-size: 20px;
        flex-shrink: 0;
    }

/* Card Body */
.confirmation-body {
    padding: 40px 30px;
}

/* Detail Sections */
.detail-section {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid #3ecc50;
}

.payment-section {
    border-left-color: #418fde;
}

.section-header {
    font-size: 17px;
    font-weight: 600;
    color: #20497f;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Barlow Semi Condensed', sans-serif;
}

    .section-header i {
        font-size: 22px;
        color: #3ecc50;
    }

.payment-section .section-header i {
    color: #418fde;
}

/* Detail Items */
.detail-item {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e0e6ed;
    display: flex;
    flex-direction: column;
}

    .detail-item:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }

.detail-label {
    font-size: 12px;
    font-weight: 700;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.detail-value {
    font-size: 16px;
    font-weight: 600;
    color: #20497f;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .detail-value i {
        font-size: 18px;
        color: #3ecc50;
    }

.reference-number {
    position: relative;
}

.copy-btn {
    background: transparent;
    border: none;
    color: #418fde;
    cursor: pointer;
    padding: 4px 8px;
    font-size: 16px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
}

    .copy-btn:hover {
        color: #3ecc50;
        transform: scale(1.1);
    }

.reminder-item {
    background: #f0f8f5;
    padding: 12px;
    border-radius: 6px;
    border-bottom: none;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

    .reminder-item i {
        font-size: 20px;
        color: #3ecc50;
        flex-shrink: 0;
    }

.reminder-text {
    font-size: 13px;
    color: #2ba83c;
    font-weight: 500;
}

.amount-value {
    font-size: 24px;
    color: #3ecc50;
    font-weight: 700;
}

/* Badges */
.payment-badge {
    background-color: #cfe2ff;
    color: #084298;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.payment-status {
    background-color: #d1e7dd;
    color: #0f5132;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Registration Prompt */
.registration-prompt {
    background: linear-gradient(135deg, #eff8ff 0%, #e3f2fd 100%);
    border: 1px solid #b3d9ff;
    border-radius: 10px;
    padding: 25px;
}

    .registration-prompt h5 {
        font-size: 16px;
        font-weight: 700;
        color: #20497f;
        margin-bottom: 6px;
        font-family: 'Barlow Semi Condensed', sans-serif;
    }

    .registration-prompt p {
        font-size: 14px;
        color: #6c757d;
        margin: 0;
    }

.btn-register {
    background: linear-gradient(135deg, #418fde 0%, #2e5c8a 100%);
    border: none;
    padding: 10px 24px;
    border-radius: 25px;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.3s ease;
    color: #ffffff;
}

    .btn-register:hover {
        background: linear-gradient(135deg, #2e5c8a 0%, #1f3d5c 100%);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(65, 143, 222, 0.3);
        color: #ffffff;
    }

    .btn-register i {
        margin-right: 6px;
    }

/* Action Buttons Section */
.action-buttons-section {
    margin-top: 10px;
}

.buttons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.action-btn-primary,
.action-btn-secondary {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.action-btn-primary {
    background: linear-gradient(135deg, #3ecc50 0%, #2ba83c 100%);
    color: #ffffff;
}

    .action-btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(62, 204, 80, 0.3);
        color: #ffffff;
        text-decoration: none;
    }

.action-btn-secondary {
    background: linear-gradient(135deg, #418fde 0%, #2e5c8a 100%);
    color: #ffffff;
}

    .action-btn-secondary:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(65, 143, 222, 0.3);
        color: #ffffff;
        text-decoration: none;
    }

.btn-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 24px;
}

.btn-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.btn-title {
    font-weight: 700;
    font-size: 15px;
}

.btn-description {
    font-weight: 400;
    font-size: 13px;
    opacity: 0.9;
}

.btn-arrow {
    margin-left: auto;
    font-size: 20px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.action-btn-primary:hover .btn-arrow,
.action-btn-secondary:hover .btn-arrow {
    opacity: 1;
    transform: translateX(3px);
}

/* Footer */
.confirmation-footer {
    background: #f8f9fa;
    border-top: 1px solid #e0e6ed;
    padding: 40px 30px;
}

.footer-container {
    display: flex;
    justify-content: center;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-section-title {
    font-size: 14px;
    font-weight: 700;
    color: #20497f;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Barlow Semi Condensed', sans-serif;
}

    .footer-section-title i {
        font-size: 18px;
        color: #418fde;
    }

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-policy-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #418fde;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 0;
    transition: all 0.2s ease;
}

    .footer-policy-link i {
        font-size: 16px;
    }

    .footer-policy-link:hover {
        color: #3ecc50;
        text-decoration: underline;
    }

/* Copy Notification */
.copy-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #3ecc50;
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(62, 204, 80, 0.3);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
}

    .copy-notification.show {
        opacity: 1;
        transform: translateY(0);
    }

    .copy-notification i {
        font-size: 18px;
    }

/* Animations */
@keyframes scaleInPulse {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Info Text */
.info-text {
    font-size: 14px;
    color: #6c757d;
    margin: 0;
    line-height: 1.6;
}

/* Gap utility */
.gap-3 {
    gap: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .confirmation-wrapper {
        padding: 60px 15px 40px;
    }

    .confirmation-header {
        padding: 30px 20px;
    }

    .btn-print-header {
        top: 15px;
        right: 15px;
        padding: 10px 16px;
        font-size: 13px;
    }

        .btn-print-header span {
            display: none;
        }

    .confirmation-title {
        font-size: 28px;
    }

    .confirmation-subtitle {
        font-size: 14px;
    }

    .success-icon-wrapper i {
        font-size: 50px;
    }

    .confirmation-body {
        padding: 25px 15px;
    }

    .detail-section {
        padding: 20px;
        margin-bottom: 15px;
    }

    .section-header {
        font-size: 15px;
    }

    .registration-prompt {
        padding: 20px;
    }

        .registration-prompt .d-flex {
            flex-direction: column;
        }

    .btn-register {
        width: 100%;
    }

    .alert-confirmation {
        margin-left: 15px;
        margin-right: 15px;
        flex-direction: column;
        text-align: center;
    }

    .buttons-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .footer-container {
        flex-direction: column;
        gap: 25px;
    }
}

@media (max-width: 576px) {
    .confirmation-header {
        padding: 25px 15px;
    }

    .confirmation-title {
        font-size: 24px;
    }

    .success-icon-wrapper i {
        font-size: 45px;
    }

    .detail-label {
        font-size: 11px;
    }

    .detail-value {
        font-size: 14px;
    }

    .amount-value {
        font-size: 20px;
    }

    .section-header {
        font-size: 14px;
    }

    .alert-confirmation {
        font-size: 13px;
        padding: 12px 15px;
    }

    .footer-help-items {
        flex-direction: column;
        gap: 12px;
    }

    .footer-help-link {
        flex: auto;
    }
}
