@import url('https://fonts.googleapis.com/css2?family=Amiri:ital,wght@0,400;0,700;1,400;1,700&family=Cairo+Play:wght@200..1000&family=Reem+Kufi+Fun:wght@400..700&family=Reem+Kufi:wght@400..700&display=swap');

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden; 
    background-color: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
    box-sizing: border-box; 
}

.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
}

.modal-header {
    padding-bottom: 10px;
    border-bottom: 1px solid #000;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header h2 {
    margin: 0;
    text-align: center;
    color: #000 !important;
    font-family: "Reem Kufi", sans-serif;
    flex-grow: 1; 
}

.modal-body {
    flex-grow: 1;
    overflow-y: auto; 
    padding: 20px 0;
    box-sizing: border-box;
}

.modal-body h3{
    text-align: center;
    color: #000;
    font-family: "Amiri", serif;
    font-size: 28px;
}

.modal-body p {
    margin-bottom: 15px;
    text-align: right;
    color: #000;
    font-family: "Amiri", serif;
    text-indent: 36px;
    direction: rtl;

}

.modal-footer {
    padding-top: 15px;
    text-align: right;
    color: #000;
    border-top: 1px solid #000;
}

.close-button {
    background-color: #080505;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s ease;
}

.close-button:hover {
    background-color: #c82333;
}

.close-btn{
    font-family: "Reem Kufi", sans-serif;
}

body.modal-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        height: 95%;
        padding: 15px;
    }

    .modal-header h2 {
        font-size: 1.2em;
    }

    .close-button {
        padding: 8px 15px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .modal-content {
        width: 98%;
        height: 98%;
        padding: 10px;
    }

    .modal-header h2 {
        font-size: 1em;
    }

    .modal-body {
        padding: 10px 0;
    }

    .close-button {
        padding: 6px 12px;
        font-size: 18px;
    }
}

.sira
{
    direction: rtl;
    text-align: right;
    color: #000;
    font-family: "Amiri", serif;

}

.sirali
{
    text-align: right;
    font-size: 15px;
    direction: rtl;
    color: #000000;
    font-family: "Amiri", serif;
    font-weight: 500;



}