.ys-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.ys-modal-content {
    background: #fff;
    margin: 5% auto;
    padding: 20px;
    max-width: 650px; /* بدل width ثابت */
    width: 90%; /* عشان يكون Responsive */
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    position: relative;
}

.ys-close {
    float: right;
    font-size: 24px;
    cursor: pointer;
}
