﻿.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-box {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background: #fff;
    border-radius: 10px;
    /* overflow: hidden;  ← bunu ya tamamen kaldır ya da aşağıdaki gibi değiştir */
    overflow: visible;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

    .popup-box img {
        display: block;
        width: 100%;
        height: auto;
    }

.close-btn {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    background: #fff;
    border: 2px solid #ccc;
    border-radius: 50%;
    font-size: 26px;
    font-weight: normal;
    color: #333;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: background 0.3s, color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
}


    .close-btn:hover {
        background: #999;
        color: white;
        border-color: #999;
    }
