* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background-color: #f5f5f5;
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
}

.modal-overlay.closing {
    opacity: 0;
}

/* Modal Container */
.modal-container {
    background: white;
    border-radius: 16px;
    padding: 48px 40px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    position: relative;
    animation: slideUp 0.4s ease;
    transform-origin: center;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Close Button */
.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    border-radius: 8px;
}

.close-btn:hover {
    color: #333;
    background-color: #f0f0f0;
}

/* Success Icon */
.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #FF6B00 0%, #FF8533 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    animation: scaleIn 0.5s ease 0.2s both;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Modal Content */
.modal-content {
    text-align: center;
}

.thank-you-title {
    font-size: 32px;
    font-weight: 700;
    color: #000;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.thank-you-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 32px;
    line-height: 1.5;
}

/* Enquiry Box */
.enquiry-box {
    background: linear-gradient(135deg, #FFF5F0 0%, #FFF9F5 100%);
    border: 1px solid #FFE5D5;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    animation: fadeIn 0.5s ease 0.3s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.enquiry-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #999;
    letter-spacing: 1px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.enquiry-number {
    font-size: 24px;
    font-weight: 700;
    color: #FF6B00;
    letter-spacing: 0.5px;
    font-family: 'Courier New', monospace;
}

/* Follow-up Message */
.follow-up-message {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 32px;
}

/* Button Group */
.button-group {
    display: flex;
    gap: 12px;
    flex-direction: column;
}

.btn {
    padding: 14px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: 0.3px;
}

.btn-primary {
    background-color: #FF6B00;
    color: white;
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
}

.btn-primary:hover {
    background-color: #E55A00;
    box-shadow: 0 6px 16px rgba(255, 107, 0, 0.4);
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background-color: #f5f5f5;
    color: #333;
    border: 1px solid #e0e0e0;
}

.btn-secondary:hover {
    background-color: #efefef;
    border-color: #d0d0d0;
}

.btn-secondary:active {
    background-color: #e8e8e8;
}

/* Responsive Design */
@media (max-width: 600px) {
    .modal-container {
        padding: 40px 24px;
        border-radius: 12px;
    }

    .close-btn {
        top: 16px;
        right: 16px;
    }

    .thank-you-title {
        font-size: 28px;
    }

    .thank-you-subtitle {
        font-size: 15px;
        margin-bottom: 24px;
    }

    .success-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }

    .enquiry-box {
        padding: 20px;
        margin-bottom: 20px;
    }

    .enquiry-number {
        font-size: 20px;
    }

    .follow-up-message {
        font-size: 13px;
        margin-bottom: 24px;
    }

    .button-group {
        gap: 10px;
    }

    .btn {
        padding: 12px 20px;
        font-size: 15px;
    }
}

@media (max-width: 400px) {
    .modal-container {
        padding: 32px 20px;
    }

    .thank-you-title {
        font-size: 24px;
    }

    .thank-you-subtitle {
        font-size: 14px;
    }

    .success-icon {
        width: 60px;
        height: 60px;
    }

    .enquiry-label {
        font-size: 11px;
    }

    .enquiry-number {
        font-size: 18px;
    }

    .follow-up-message {
        font-size: 12px;
    }
}