 .modal {
     display: none;
     position: fixed;
     z-index: 9999;
     left: 0;
     top: 0;
     width: 100%;
     height: 100%;
     overflow: auto;
     background-color: rgba(0, 0, 0, 0.5);
 }
 
 .modal-content {
     background-color: #fff;
     margin: 5% auto;
     padding: 20px;
     border-radius: 8px;
     width: 90%;
     max-width: 1000px;
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
     position: relative;
     overflow-y: auto;
     max-height: 90vh;
 }
 
 .modal-header {
     padding-bottom: 15px;
     border-bottom: 1px solid #eee;
     position: relative;
 }
 
 .modal-title {
     margin: 0;
     font-size: 1.5em;
     color: #333;
 }
 
 .modal-close {
     position: absolute;
     right: 0;
     top: 0;
     font-size: 24px;
     font-weight: bold;
     background: none;
     border: none;
     cursor: pointer;
     color: #999;
 }
 
 .modal-close:hover {
     color: #333;
 }
 
.modal-body {
    margin: 15px 0;
}

.modal-body > p {
    margin-bottom: 20px;
}

 @media screen and (max-width: 768px) {
     .modal-content {
         width: 95%;
         padding: 15px 5px;
     }
 }

@media screen and (max-width: 480px) {
    .modal-title {
        font-size: 1.3em;
    }

    .modal-body {
        font-size: 14px;
    }
}
