
.modal-overlay {
 display: none;
 position: fixed;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 background: rgba(0, 0, 0, 0.5);
 z-index: 9999;
}
        
.modal {
position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--white);
    padding: 60px;
    border-radius: 5px;
    width: 90%;
    max-width: 565px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    animation: fadeIn 0.3s ease;
      box-sizing: border-box;
    max-height: 90dvh;
    overflow-y: auto;
}

.modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(/img/pattern_modal.png);
    background-repeat: repeat;
    opacity: 1;
    pointer-events: none;
    z-index: 1;
}
        
@keyframes fadeIn {
from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9);
}
to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
}
        
 .modal-header {
padding-bottom: 10px;
 }
        
 .modal-header h2 {
    margin: 0;
    font-weight: 800;
    font-size: 30px;
    letter-spacing: 0.01em;
    color: var(--black);
 }

 .modal-header > h2 span{
    color: var(--red);
 }
        
        .modal-body {
margin-bottom: 30px;
    line-height: 1.5;
        }
        .modal-body p{
            font-weight: 500;
            font-size: 13px;
            color: var(--black);
        }
        
        
        .close-btn {
            position: absolute;
            top: 15px;
            right: 20px;
            font-size: 28px;
            cursor: pointer;
            color: #999;
            background: none;
            padding: 0;
            margin: 0;
        }
        
        .close-btn:hover {
            color: #000;
            transform: none;
            box-shadow: none;
        }