.tarjous-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow-y: auto;
}

.tarjous-popup-overlay.active {
    display: flex;
    opacity: 1;
}

.tarjous-popup-container {
    position: relative;
    max-width: 90%;
    margin: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    overflow: visible;
    animation: tarjousFadeIn 0.5s;
    max-height: 95vh;
}

@keyframes tarjousFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tarjous-popup-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    height: fit-content;
    overflow-y: auto;
}

.tarjous-popup-image {
    display: block;
    height: 100%;
    width: 100%;
}

.tarjous-popup-close {
    position: absolute;
    top: 0px;
    right: 0;
    padding: 12px 14px;
    background-color: #231816;
    color: #ffffff;
    border: none;
    border-radius: 0px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: all 0.2s ease;
    gap: 0px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.tarjous-popup-close-text {
    display: inline-block;
    margin-right: 2px;
}

.tarjous-popup-close-icon {
    width: 16px;
    height: 16px;
}

.tarjous-popup-close:hover {
    background-color: #333333;
    transform: translateY(-2px);
}

.tarjous-popup-close:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.3);
}

.tarjous-popup-trigger {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0073aa;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.tarjous-popup-trigger:hover {
    background-color: #005c8a;
}

@media (max-width: 768px) {
    .tarjous-popup-container {
        max-width: 95%;
    }
    
    .tarjous-popup-close {
        top: -40px;
        right: 0;
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .tarjous-popup-close-icon {
        width: 14px;
        height: 14px;
    }
}