.popup {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 100000;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 16px;
    background: rgba(10, 26, 51, .6);
    -webkit-animation: popup-belir .25s ease-out;
    animation: popup-belir .25s ease-out;
}

.popup[hidden] {
    display: none;
}

.popup-kutu {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    max-width: 680px;
    max-height: 100%;
    overflow: hidden;
    border-radius: 10px;
    background: #fff;
    -webkit-box-shadow: 0 18px 50px rgba(0, 0, 0, .35);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .35);
}

.popup-gorsel {
    display: block;
    min-height: 0;
}

.popup-gorsel img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: calc(100vh - 90px);
    margin: 0 auto;
}

.popup-kapat {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: 50%;
    background: rgba(16, 41, 79, .75);
    color: #fff;
    font-size: 22px;
    line-height: 30px;
    text-align: center;
    cursor: pointer;
    -webkit-transition: background .2s ease;
    transition: background .2s ease;
}

.popup-kapat:hover {
    background: #10294f;
}

.popup-tekrar {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-flex: 0;
    -ms-flex: none;
    flex: none;
    gap: 8px;
    margin: 0;
    padding: 10px 14px;
    color: #5a6a82;
    font-size: 13px;
    line-height: 1.2;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.popup-tekrar input {
    width: 15px;
    height: 15px;
    margin: 0;
    cursor: pointer;
}

@-webkit-keyframes popup-belir {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes popup-belir {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .popup {
        -webkit-animation: none;
        animation: none;
    }
}
