﻿/* Custom Modal arka planı (overlay) */
.dsm-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1050;
}


.dsm-modal {
    background: white;
    max-width: 98vw;
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-50px);
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .dsm-modal {
        margin-top: 15vh;
    }
}


.dsm-modal-overlay.show {
    visibility: visible;
    opacity: 1;
}

    .dsm-modal-overlay.show .dsm-modal {
        transform: translateY(0);
    }

.dsm-modal-body {
    max-height: 85vh !important;
    overflow-y: auto;
}

.dsm-modal-propaganda {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.dsm-scale-animation {
    animation: dsmModalScale 0.75s ease;
}

@keyframes dsmModalScale {
    0% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.15);
    }

    50% {
        transform: scale(1);
    }

    75% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(1);
    }
}
