.custom-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 999999;
    cursor: pointer;
}

.custom-popup-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.custom-popup {
    position: relative;
    background-color: #fff;
    border-radius: 5px;
    max-width: 95vw;
    max-height: 90vh;
    width: auto;
    overflow: auto;
    z-index: 1000000;
    cursor: default;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.custom-popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    transition: color 0.3s ease;
}

.custom-popup-close:hover {
    color: #000;
}

.custom-popup-title {
    margin: 16px 0 8px 0;
    padding: 0 16px;
    font-size: 1.5em;
    color: #333;
    text-align: center;
}

.custom-popup-content {
    text-align: center;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.custom-popup-content img {
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: contain;
}

.custom-popup-trigger {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    background-color: #f26921;
    color: #fff;
    cursor: pointer;
    z-index: 999998;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
    padding: 5px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.custom-popup-trigger:hover {
    background-color: #005177;
}

.trigger-icon {
    font-family: Arial, sans-serif;
    font-style: italic;
    font-weight: bold;
    font-size: 18px;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
}

.trigger-title {
    font-size: 14px;
    white-space: nowrap;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Mobile styles */
@media screen and (max-width: 768px) {
    .custom-popup-title {
        font-size: 1.2em;
        margin: 8px 0 4px 0;
        padding: 0 8px;
    }

    .custom-popup-close {
        top: 5px;
        right: 10px;
        font-size: 20px;
    }

    .custom-popup-trigger {
        padding: 4px 8px;
    }

    .trigger-title {
        font-size: 12px;
        max-width: 150px;
    }
} 