/* @import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@300;500;700&family=Raleway:wght@300;500;700&display=swap'); */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@300;500;700&family=Open+Sans:wght@300;500;700&display=swap');


    html {
        scroll-behavior: smooth;
    }

    html::-webkit-scrollbar {
        width: 0.5rem;
        cursor: pointer;
    }

    html::-webkit-scrollbar-track {
        background: transparent;
    }

    html::-webkit-scrollbar-thumb {
        background: #2a4179;
    }

    textarea::-webkit-scrollbar {
        width: 0.25rem;
        cursor: pointer;
    }

    textarea::-webkit-scrollbar-track {
        background: transparent;
    }

    textarea::-webkit-scrollbar-thumb {
        background: #ffffff;
    }


    body {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        list-style: none;
        background-image: url(../../../new_images/logo-alt.png);
        background-size: 75px;
        background-attachment: fixed;
        /* font-family: 'Raleway', sans-serif; */
        font-family: 'Open Sans', sans-serif;
    }

    [dir="rtl"] body {
        font-family: 'IBM Plex Sans Arabic', sans-serif;
    }

    * {
        margin: 0px;
        padding: 0px;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

    a {
        text-decoration: none;
        color: white;
    }

    li {
        list-style: none;
    }

    .my-container {
        padding: 12.5px 25px 12.5px 25px;
    }

    /* update from eiad */
    
    .sections-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* عمودين في كل سطر */
        gap: 15px; /* المسافة بين العناصر */
    }
    
    .section-item {
        display: flex;
        align-items:start;
        /* justify-content: center;    update */
        background-color: #243e88; /* لون الخلفية */
        padding: 15px;
        border-radius: 10px; /* زوايا دائرية */
        color: white; /* لون النص */
        font-size: 16px; /* حجم النص */
        font-weight: bold; /* سمك النص */
        transition: background-color 0.3s ease; /* تأثير عند التمرير */
        min-height: 100px;          /*update*/
        box-sizing: border-box;
        /* overflow-y: auto;update */
        /* max-height: 150px;update */
        /* flex-wrap: wrap;update */
    }
    
    .section-item:hover {
        background-color: #1e40af; /* لون الخلفية عند التمرير */
    }
    
    .clinic-number {
        width: 80px; /* عرض مربع رقم العيادة */
        text-align:center;
        margin-right: 10px; /* المسافة بين الرقم والاسم */
        font-size: 18px; /* حجم النص للرقم */
    }
    
    .section-name {
        flex: 1; /* يأخذ المساحة المتبقية */
        font-size: 18px; /* حجم النص للاسم */
        text-align: start;
    }
    
    @media screen and (max-width: 768px) {
        .sections-grid {
            grid-template-columns: repeat(2, 1fr); /* عمودين في كل سطر */
        }
    
        .section-item {
            padding: 8px;
            font-size: 14px;
            min-height: 80px;
        }
    
        .clinic-number {
            width: 50px;
            font-size: 16px;
        }
    
        .section-name {
            font-size: 16px;
        }
    }
    
    @media screen and (max-width: 480px) {
        .sections-grid {
            grid-template-columns: 1fr; /* عمود واحد في الشاشات الصغيرة */
        }
    
        .section-item {
            padding: 5px;
            font-size: 12px;
        }
    
        .clinic-number {
            width: 60px;
            font-size: 14px;
        }
    
        .section-name {
            font-size: 14px;
        }
    }
    /* end update */

    @media screen and (min-width: 480px) {
        .my-container {
            padding: 25px 50px 25px 50px;
        }
    }

    @media screen and (min-width: 768px) {
        .my-container {
            padding: 50px 100px 50px 100px;
        }
    }

    @media screen and (min-width: 1020px) {
        .my-container {
            padding: 75px 150px 75px 150px;
        }
    }
