/**
 * ESLogistics Thank You Popup Styles
 */

/* Popup overlay */
.eslogistics-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.eslogistics-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Popup container */
.eslogistics-popup {
    width: 650px;
    max-width: 90%;
    background-color: #FFFFFF;
    border-radius: 8px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    position: relative;
}

.eslogistics-popup-overlay.active .eslogistics-popup {
    transform: translateY(0);
    opacity: 1;
}

/* Popup content */
.eslogistics-popup-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

/* Logo container */
.eslogistics-popup-logo {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Logo SVG */
.eslogistics-popup-logo-svg {
    height: 48px;
    width: auto;
    border-radius: 32px;
}

/* Logo text */
.eslogistics-popup-logo-text {
    font-family: Ubuntu, Arial, sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #666666;
    line-height: 1.2em;
}

/* Thank you message */
.eslogistics-popup-message {
    font-family: Ubuntu, Arial, sans-serif;
    font-size: 32px;
    font-weight: 400;
    color: #18222C;
    line-height: 1.2em;
}

/* Image container */
.eslogistics-popup-image {
    width: 100%;
    height: 334.86px;
    border-radius: 8px;
    overflow: hidden;
}

.eslogistics-popup-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Close button */
.eslogistics-popup-close {
    position: absolute;
    top: 32px;
    right: 32px;
    width: 32px;
    height: 32px;
    cursor: pointer;
    background-color: #FFFFFF;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.eslogistics-popup-close svg {
    width: 13.2px;
    height: 13.2px;
}
.eslogistics-popup-close:hover {
    background-color: #c2c2c2 !important;
}

/* Responsive styles */
@media (max-width: 768px) {
    .eslogistics-popup {
        padding: 24px;
        max-width: 361px;
    }
    
    .eslogistics-popup-message {
        font-size: 24px;
    }
    
    .eslogistics-popup-image {
        height: 200px;
    }
    
    .eslogistics-popup-close {
        top: 24px;
        right: 24px;
    }
}