/* /Components/EditAnswerComponent.razor.rz.scp.css */
.answer-container[b-oxue1y7ofn] {
    display: flex;
    flex-wrap: wrap;
    gap: 0px; /* ריווח בין המסיחים */
    justify-content: flex-start;
    align-items: flex-start;
    margin-top: 20px;
}

.option-buttons[b-oxue1y7ofn] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 150px; /* רוחב המסגרת */
    height: 83px; /* גובה המסגרת */
    border: 1px solid #707070; /* עובי המסגרת */
    background-color: #F0EEEE; /* צבע רקע מעט אפור */
    position: relative;
    transition: background-color 0.3s ease;
}

.text-side[b-oxue1y7ofn], .image-side[b-oxue1y7ofn] {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: background-color 0.3s ease;
}

    .text-side:hover[b-oxue1y7ofn], .image-side:hover[b-oxue1y7ofn] {
        background-color: #e0e0e0; /* צבע רקע אפור בהיר בעת מעבר עכבר על הצד המתאים */
    }

        .text-side:hover .text-icon[b-oxue1y7ofn], .image-side:hover .image-icon[b-oxue1y7ofn] {
            opacity: 1; /* חושף את האייקון בצד המתאים בעת מעבר עכבר */
        }

.text-icon[b-oxue1y7ofn], .image-icon[b-oxue1y7ofn] {
    width: 50px; /* גודל חדש לאייקון - רוחב */
    height: 50px; /* גודל חדש לאייקון - גובה */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0; /* מוסתר ברירת מחדל */
    transition: opacity 0.3s ease;
}

.text-icon[b-oxue1y7ofn] {
    background-image: url('../Photos/textIcon-black.png'); /* עדכן את הנתיב בהתאם למיקום האייקון של טקסט */
}

.image-icon[b-oxue1y7ofn] {
    background-image: url('../Photos/photoIcon-black.png'); /* עדכן את הנתיב בהתאם למיקום האייקון של תמונה */
}






.image-container[b-oxue1y7ofn] {
    position: relative;
    width: 180px; /* מתאים לגודל התמונה */
    height: 120px; /* מתאים לגודל התמונה */
    display: inline-block;
    overflow: hidden; /* מונע חריגה של השכבות מגבולות התמונה */
}

.uploaded-image[b-oxue1y7ofn] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    box-sizing: border-box;
}

.upload-image-frame img[b-oxue1y7ofn] {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
}


.zoomImage[b-oxue1y7ofn] {
    position: absolute;
    top: 81px;
    background: none;
    border: none;
    cursor: pointer;
    right: -7px;
}

.delete-button[b-oxue1y7ofn] {
    position: absolute;
    top: 5px; /* מרחק מהחלק העליון */
    left: 5px; /* מרחק מהצד השמאלי */
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10; /* מבטיח שהכפתור יהיה מעל כל תוכן אחר */
    opacity: 1; /* וודא שהאייקון גלוי */
    transition: opacity 0.3s ease;
}



.edit-text[b-oxue1y7ofn] {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    opacity: 0; /* מוסתר ברירת מחדל */
    transition: opacity 0.3s ease;
    cursor: pointer; /* שינוי הסמן לכפתור בעת מעבר עכבר */
}
.image-container:hover .edit-text[b-oxue1y7ofn] {
    opacity: 1; /* מציג את הכיתוב במעבר עכבר */
}


.image-container:hover .hover-overlay[b-oxue1y7ofn] {
    opacity: 1;
}
:hover .hover-overlay[b-oxue1y7ofn] {
    opacity: 1;
}

.image-container:hover .uploaded-image[b-oxue1y7ofn] {
    filter: blur(2px);
    color: white;
    font-size: 12px;
}


.zoom-overlay[b-oxue1y7ofn] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.zoom-image-container[b-oxue1y7ofn] {
    position: relative;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
}

.close-zoom-button[b-oxue1y7ofn] {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
}

.close-icon[b-oxue1y7ofn] {
    width: 20px;
    height: 20px;
}

.zoomed-image[b-oxue1y7ofn] {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 5px;
}

.delete-button[b-oxue1y7ofn], .zoomImage[b-oxue1y7ofn] {
    transition: opacity 0.3s ease; /* הוספת אנימציה להעלמות */
    opacity: 1; /* ברירת מחדל: האייקונים גלויים */
}

.image-container:hover .delete-button[b-oxue1y7ofn],
.image-container:hover .zoomImage[b-oxue1y7ofn] {
    opacity: 1; /* הסתרת האייקונים במעבר עכבר */
}


.textbox-container[b-oxue1y7ofn] {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 280px; /* הגדלת הרוחב כדי להתאים לגודל התבנית השמאלית */
    height: 120px; /* הגדלת הגובה כדי להתאים לתבנית השמאלית */
}

    .textbox-container textarea[b-oxue1y7ofn] {
        width: 100%;
        height: 100%;
        box-sizing: border-box;
        padding-left: 25px; /* הקטנת הרווח בצד שמאל */
        padding-right: 10px; /* הקטנת הרווח בצד ימין */
        padding-top: 5px; /* רווח עליון */
        padding-bottom: 5px; /* רווח תחתון */
        font-size: 12px;
        resize: none;
        overflow-y: auto;
    }

.close-textbox-button[b-oxue1y7ofn] {
    position: absolute;
    top: 2px; /* מיקום האייקון עוד יותר למעלה */
    left: 5px; /* מיקום בשמאל */
   
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin: 0;
}

.close-icon[b-oxue1y7ofn] {
    width: 12px;
    height: 12px;
}

.textbox-container .char-count[b-oxue1y7ofn] {
    position: absolute;
    bottom: 2px; /* מיקום בפינה התחתונה של התיבה */
    left: 5px; /* מרווח מצד שמאל */
    font-size: 12px; /* הקטנת גודל הטקסט */
    color: #000; /* צבע הטקסט (ניתן לשנות לפי הצורך) */
    background: none; /* ביטול רקע */
}
/* /Pages/EditGame.razor.rz.scp.css */


html[b-qod225biio], body[b-qod225biio] {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden; /* מניעת גלילה בדפדפן */
    height: 100%; /* התאמה לגובה המסך */
    margin: 0; /* הסרת מרווחים מיותרים */
    padding: 0;
}
.main-content[b-qod225biio] {
    width: 100vw;
    height: calc(100vh - 50px); /* התאמה לגובה המסך עם התחשבות בגובה התפריט העליון */
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

@media screen and (max-width: 768px) {
    .button-container[b-qod225biio] {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        top: auto; /* ביטול המיקום המוחלט */
        left: auto; /* ביטול המיקום המוחלט */
    }

    .questions-container[b-qod225biio] {
        width: 100%; /* התאמת הרוחב של הקונטיינר לרוחב המסך */
        top: 150px; /* התאמת המרחק מלמעלה */
    }
}


.container[b-qod225biio] {
    height: 100vh; /* התאמת גובה האלמנט לגובה המסך */
    width: 100vw; /* התאמת רוחב האלמנט לרוחב המסך */
    display: flex;
    flex-direction: column; /* יישור אנכי של התוכן */
}

body[b-qod225biio] {
    background-image: url('../Photos/BgGameList.png');
    background-size: cover;
    background-attachment: fixed;
    color: black;
    direction: rtl;
    text-align: right;
    height: 100vh;
}

.nav-container[b-qod225biio] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #FEF1FF;
    padding: 10px;
    width: 100%;
    color: #846DEB;
}

.logo[b-qod225biio] {
    margin-right: 20px;
}

.logo-img[b-qod225biio] {
    height: 40px;
    width: auto;
}

nav[b-qod225biio] {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-size: 0;
}

    nav > div[b-qod225biio] {
        display: inline-block;
        font-size: 12pt;
        margin-left: 20px;
    }

    nav a[b-qod225biio], .btn-nav[b-qod225biio] {
        color: #846DEB !important;
        text-align: left;
        display: block;
        padding: 10px;
        text-decoration: none;
    }

        nav a.active[b-qod225biio] {
            background-color: rgba(255, 255, 255, 0.25) !important;
            color: #846DEB !important;
        }

        nav a:hover[b-qod225biio], .btn-nav:hover[b-qod225biio] {
            font-weight: bold;
            background-color: lightpink !important;
            color: #4a148c !important;
        }



.questions-container[b-qod225biio] {
    position: fixed;
    top: 180px;
    left: 10px;
    width: 30%;
    direction: rtl;
    z-index: 100;
}


.questions-header-container[b-qod225biio] {
    background-color: #FCE5EA;
    border: 1px solid #707070;
    /* margin-bottom: 10px; */
    padding: 5px;
    left: 8px;
    top: -40px;
    position: relative;
}

    .questions-header-container p[b-qod225biio] {
        font-size: 12px;
        margin-top: 15px;
    }

.questions-header[b-qod225biio] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    margin-top: 10px;
}

    .questions-header h4[b-qod225biio] {
        margin: 0;
        color: black;
        font-size: 16px;
        margin-right: 10px;
        font-weight: 600;
    }

    .questions-header p[b-qod225biio] {
        margin: 0;
        padding: 0;
        color: black;
        /*text-align: right;*/
        font-size: 12px;
        display: flex;
        align-items: center;
       /* justify-content: flex-start;*/
    }

        .questions-header p img[b-qod225biio] {
            color: black;
            font-size: 20px;
        }

        .questions-header .questions-count[b-qod225biio] {
            font-weight: normal;
            color: black;
            font-size: 16px;
            margin-left: auto;
            text-align: center;
            margin-top: 40px;
        }

.questions-count[b-qod225biio] {
left: 40px;
position:fixed;
}

.wordQuestion[b-qod225biio] {
    font-size: 10px;
    display: inline;
}
    /* עיצוב לרשימה */
.questions-list-container[b-qod225biio] {
    background-color: white;
    border: 1px solid #707070;
    height: calc(100vh - 310px);
    overflow-y: auto;
    padding: 3px;
    left: 8px;
    top: -40px;
    position: relative;
}

.questions-list[b-qod225biio] {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .questions-list li[b-qod225biio] {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px;
        border-bottom: 1px solid #ddd;
        font-size: 12px;
        direction: rtl;
    }

    .questions-list p[b-qod225biio] {
        margin: 0;
        flex: 1;
        padding-left: 10px;
    }

    .questions-list .buttons[b-qod225biio] {
        display: flex;
        gap: 5px;
    }

    .questions-list .icon[b-qod225biio] {
        background: none;
        border: none;
        cursor: pointer;
        margin-right: 10px;
    }

        .questions-list .icon:last-child[b-qod225biio] {
            margin-right: 0;
        }

        .questions-list .icon img[b-qod225biio] {
            width: 16px;
            height: 16px;
        }

        .questions-list .icon:hover[b-qod225biio] {
            opacity: 0.7;
        }



.button-container[b-qod225biio] {
    display: flex;
    justify-content: center; 
    align-items: center; /* מוודא שהכפתורים מיושרים אנכית */
    margin-top: 20px; /* נותן מרווח מעל הכפתורים */
    margin-bottom: 10px; /* מרווח מתחת לכפתורים */
    gap: 10px; /* רווח בין הכפתורים */
    position: absolute; /* מאפשר מיקום מדויק */
    top: 70px; /* מרחק מלמעלה */
    left: 20px; /* מרחק משמאל */
    /*z-index: 1000;*/ /* מבטיח שהכפתורים יופיעו מעל אלמנטים אחרים */
}

.buttons-group[b-qod225biio] {
    display: flex;
    gap: 10px; /* רווח בין הכפתורים */
}

.returnBtn[b-qod225biio] {
    position: relative;
    background-color: #FCE5EA;
    color: black;
    border: 1px solid #707070;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 15px;
    font-size: 14px;
    line-height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    left: 10px;
    top: -20px;
}

.normalBtn[b-qod225biio] {
    background-color: #C46E84;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 18px;
    font-size: 14px;
    line-height: 0px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 145px;
    height: 35px;
    text-align: center;
    margin: 5px;
    position: absolute;
    top: 900px;
    left: 300px;
}

@media (max-width: 768px) {
    .normalBtn[b-qod225biio] {
        width: auto;
        padding: 10px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .normalBtn[b-qod225biio] {
        width: 100%;
        margin: 0;
    }
}

.punblishBTN[b-qod225biio] {
    background-color: #FCF5C1;
    color: black;
    border: 1px solid #707070;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 15px;
    font-size: 14px;
    line-height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    left: 280px;
    top: 92px;
}

.canclepunblishBTN[b-qod225biio] {
    background-color: #D996A5;
    color: black;
    border: 1px solid #707070;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 15px;
    font-size: 14px;
    line-height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    /* left: 280px; */
    top: -16px;
    position: relative;
}

.restFields[b-qod225biio], .saveQuestion[b-qod225biio] {
    background-color: #C46E84;
    color: black;
    border: 1px solid #707070;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 7px;
    font-size: 14px;
    line-height: 0px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 115px;
    height: 25px; /* גובה קבוע לכפתורים */
    text-align: center;
    margin: 5px; /* רווח קטן בין הכפתורים */
}

updateQuestion[b-qod225biio] {
    background-color: #C46E84;
    color: black;
    border: 1px solid #707070;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 7px;
    font-size: 14px;
    line-height: 0px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 115px;
    height: 25px; /* גובה קבוע לכפתורים */
    text-align: center;
    margin: 5px; /* רווח קטן בין הכפתורים */
}

.updateQuestion:disabled[b-qod225biio] {
    background-color: #CACACA;
    color: black;
    border: 1px solid #707070;
    cursor: not-allowed; /* משנה את הסמן כשהכפתור מושבת */
}

     .updateQuestion:disabled[b-qod225biio] {
        background-color: #CACACA;
        color: black;
        border: 1px solid #707070;
        cursor: not-allowed; /* משנה את הסמן כשהכפתור מושבת */
    }

.groupDownBtns[b-qod225biio] {
    position: absolute;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}


.normalBtn[b-qod225biio] {
    Background-color: #C46E84;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 18px;
    font-size: 14px;
    line-height: 0px;
    display: flow;
    align-items: center;
    justify-content: center;
    width: 145px;
    height: 35px;
    text-align: center;
    margin: 5px;
    max-width: 100%;
    box-sizing: border-box;
    position: absolute;
    left: 140px;
    top: 660px;
    z-index: 9999;
}





.updateQuestion[b-qod225biio] {
    background-color: #C46E84;
    color: black;
    border: 1px solid #707070;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 7px;
    font-size: 14px;
    line-height: 0px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 115px;
    height: 25px;
    text-align: center;
    margin: 5px;
}


/*.resetFieldsDisabled, .saveQuestionDisabled {
    background-color: #CACACA;
    color: black;
    border: 1px solid #707070;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 7px;
    font-size: 13px;
    line-height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}*/

.publishDis[b-qod225biio] {
    background-color: #CACACA;
    color: #707070;
    border: 1px solid #707070;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 15px;
    font-size: 14px;
    line-height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    left: 8px;
    top: -16px;
    position: relative;
}



.btnDisabled[b-qod225biio], .normalBtn:disabled[b-qod225biio], publishDis[b-qod225biio] {
    background-color: #CACACA;
    color: #707070;
    border: 1px solid #707070;
    padding: 10px 20px; /* שמר על אותו פדינג לכל הכפתורים */
    cursor: pointer;
    border-radius: 15px;
    font-size: 14px;
    line-height: 20px; /* גובה השורה - לוודא שהטקסט ממורכז */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px; /* גובה קבוע לכפתורים */
    left: 280px;
    top: 92px;
}

.icon-small[b-qod225biio] {
    width: 12px;
    height: 12px;
}

.game-header[b-qod225biio] {
    display: flex;
    align-items: center;
    background-color: #FCE5EA;
    padding: 7px;
    border-radius: 0px;
    margin-bottom: 20px;
    color: black;
    max-width: 525px;
    justify-content: space-between;
    border: 1px solid #707070;
}

    .game-header .game-name[b-qod225biio] {
        flex: 1;
        font-size: 14px;
    }

    .game-header .game-time[b-qod225biio] {
        margin-left: 10px;
        font-size: 14px;
    }

.edit-button[b-qod225biio] {
    background: none;
    border: none;
    cursor: pointer;
    margin-left: 0px;
}

    .edit-button img[b-qod225biio] {
        width: 20px;
        height: 20px;
    }

.modal-overlay[b-qod225biio] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000; /* ודא שה-z-index מספיק גבוה */
}


    .modal-overlay .popup-component[b-qod225biio] {
        z-index: 1001;
    }

.buttons-container[b-qod225biio] {
    display: flex;
    justify-content: center; /* מיקום הכפתור במרכז */
    margin-top: 20px; /* מרווח מעל הכפתור */
    z-index: 1; /* לוודא שהכפתור נמצא מעל אלמנטים אחרים במידה ויש חפיפה */
}


/*.addQuestion {
    background-color: #846DEB;   
    color: white;
    border: none;
    padding: 10px 15px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 11px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 21px;  
    font-weight: 600;   
    position: fixed;
    left: 1160px;
    top: 500px;
    width: 140px;
    align-items: center;
    margin-bottom: 20px;
    display: flex;
}*/


.addQuestion[b-qod225biio] {
    background-color: #846DEB; /* Purple buttons */
    color: white;
    border: none;
    padding: 10px 5px;
    text-align: center;
    font-size: 14px;
    margin: 2px 2px;
    cursor: pointer;
    border-radius: 21px; /* Rounded corners */
    font-weight: 600; /* Semi-bold */
    width: 125px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center; /* יישור אופקי של התוכן */
}

    .addQuestion:disabled[b-qod225biio] {
        background-color: #CACACA; /* צבע לכפתור במצב לא פעיל */
        color: #707070;
        cursor: not-allowed; /* שינוי הסמן במצב לא פעיל */
        opacity: 0.7; /* ניתן להתאים את האטימות לפי הצורך */
    }


    .addQuestion img[b-qod225biio] {
        padding: 5px; /* רווח פנימי לאייקון*/ 
    }



/*.button-container, .buttons-group, .questions-container, .edit-button {
    z-index: 900; /* הגדר שכבה נמוכה יותר כך שהפופ-אפ יופיע מעליהם */
/*}*/


.edit-question-container[b-qod225biio] {
    margin-top: 20px;
}

.question-input[b-qod225biio] {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.answer-container[b-qod225biio] {
   
    display: inline-grid;
    grid-template-columns: repeat(2, 1fr); /* שתי עמודות */
    grid-gap: 10px !important;
    margin-top: 10px !important;
    gap: 20px; /* רווח קטן יותר בין התיבות */
    grid-auto-rows: minmax(auto, 1fr);
    justify-items: stretch;
    align-items: stretch; /* תיבת התשובה תשתרע על כל הגובה */
    margin-bottom: 20px; /* מרווח מתחת לריבועים כדי לאפשר לכפתור להיות מתחת */

}

    .answer-container div[b-qod225biio] {
        margin: 0 !important; /* ביטול מרווחים חיצוניים */
        padding: 0 !important; /* ביטול פדינג פנימי */
    }


.edit-question-container input[type="text"][b-qod225biio], .edit-question-container input[type="button"][b-qod225biio] {
    font-size: 14px;
    padding: 0px !important; /* הקטנת הפדינג לתיבות הטקסט */
    margin: 0 !important; /* הסרת מרווחים חיצוניים מיותרים */
    box-sizing: border-box; /* וודא שהמידות של התיבה כוללות את הפדינג והבורדר */
    width: 100%; /* וודא שהתיבה תופסת את כל הרוחב המוקצה לה */
    height: auto; /* מאפשר גובה דינמי */
}

.edit-question-container span[b-qod225biio] {
    font-size: 12px;
}

.highlight-title[b-qod225biio] {
    font-size: 18px;
    font-weight: 600; /* Semi-bold */
    color: black;
    margin-bottom: 10px;
}

.question-container[b-qod225biio] {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px; /* רווח בין התמונה לתיבת הטקסט */
    margin-bottom: 20px; /* מרווח בין השאלה לרכיבים האחרים */
}

.upload-image-frame[b-qod225biio] {
    width: 140px;
    height:120px;
    left: 567px; /* מיקום X */
    top: 224px; /* מיקום Y */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border: 1px solid #707070;
    cursor: pointer;
    box-sizing: border-box;
    overflow: hidden; /* מוודא שהתמונה לא תחרוג מגבולות הפריים */
    /* position: relative;*/
}
.uploaded-image[b-qod225biio] {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    margin: auto;  
}
.button delete-button[b-qod225biio] {
    background: pink;
    border: none;
}

.icon[b-qod225biio] {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    display: block;
    margin: auto; /* ממקם את האייקון במרכז הפריים */
}

.delete-button[b-qod225biio], .zoomImage[b-qod225biio] {
    position: absolute;
    z-index: 10;
    cursor: pointer;
    background: none;
    border: none;
    opacity: 1; /* מבטיח שהאייקונים יופיעו כל הזמן */
}

.delete-button[b-qod225biio] {
    position: absolute;
    top: 5px;
    left: 5px; /* מיקום הכפתור בפינה השמאלית העליונה */
    z-index: 10;
    cursor: pointer;
    background: none;
    border: none;
    opacity: 1; /* ודא שהכפתור תמיד גלוי */
    visibility: visible; /* ודא שהכפתור תמיד נראה */
    transition: opacity 0.3s ease; /* מעבר חלק לשינוי אטימות, אם יש צורך */
}
.zoomImage[b-qod225biio] {
    position: absolute;
    bottom: 0px;
    right: 0px;
    margin: 0; /* מבטל כל מרווח חיצוני */
    padding: 0; /* מבטל כל מרווח פנימי */
    z-index: 10;
    cursor: pointer;
    background: none;
    border: none;
    width: auto; /* וודא שהרוחב לא מוגבל */
    height: auto; /* וודא שהגובה לא מוגבל */
    box-sizing: border-box; /* כולל את המרווחים בגבולות התיבה */
}

.image-container:hover .delete-button[b-qod225biio],
.image-container:hover .zoomImage[b-qod225biio] {
    /* כאן אין צורך בשינוי, כי הכפתורים כבר גלויים */
    opacity: 1;
}
.image-container[b-qod225biio] {
    position: relative;
    width: 100%;
    height: 100%;
    display: inline-block;
}

.overlay[b-qod225biio] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-container:hover .overlay[b-qod225biio] {
    opacity: 1;
}



.zoom-overlay[b-qod225biio] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.zoom-image-container[b-qod225biio] {
    position: relative;
    background-color: white;
    padding: 10px;
    border-radius: 10px;
    max-width: 90%;
    max-height: 90%;
}

.zoomed-image[b-qod225biio] {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.close-zoom-button[b-qod225biio] {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    background: none;
    border: none;
}

.close-icon[b-qod225biio] {
    width: 20px;
    height: 20px;
}

.upload-image-frame img[b-qod225biio] {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
}

.upload-image-frame span[b-qod225biio] {
    text-align: center;
    font-size: 12px;
    color: white;
    font-weight: 600;
}

.answer-option[b-qod225biio] {
    width: 140px;
    height: 80px;
    left: 567px; /* מיקום X */
    top: 224px; /* מיקום Y */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border: 1px solid #707070;
    cursor: pointer;
    box-sizing: border-box;
    overflow: hidden;
}

.question-textbox[b-qod225biio] {
    width: 600px;
    height: 70px;
    left: 722px; /* מיקום X */
    top: 231px; /* מיקום Y */
    padding: 10px;
    border-radius: 0px;
    font-size: 14px;
    resize: none;
    margin-bottom: 5px;
    border: 1px solid #707070;
}

/*.validation-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-top: 5px;
    width: 100%;*/ /* להתאים את הרוחב של הקונטיינר לרוחב תיבת השאלה */
    /*gap: 10px;*/ /* רווח בין הרכיבים השונים */
/*}*/

.validation-icons[b-qod225biio] {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-top: 10px;
}

.validation-item[b-qod225biio] {
    display: flex;
    align-items: center;
    margin-right: 20px; /* מרווח בין שני המשפטים */
    color: #846DEB;
    font-weight: 600;
    font-size: 12px;
}

    .validation-item img[b-qod225biio] {
        width: 16px;
        height: 16px;
        margin-left: 5px; /* מרווח בין האייקון לטקסט */
    }

/* קודם כל, ניצור קונטיינר להחזיק את שני האלמנטים */
.validation-container[b-qod225biio] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 5px; /* מרווח קטן מתחת לתיבת הטקסט */
    width: 100%; /* התאמה לרוחב תיבת הטקסט */
    position: absolute; /* מיקום אבסולוטי כדי למקם בדיוק מתחת לתיבת הטקסט */
    top: 270px; /* התאמה למיקום מתחת לתיבת הטקסט */
    margin-right: -450px;
}

/* לעדכן את העיצוב של .validation-message */
.validation-message[b-qod225biio] {
    color: red;
    font-size: 12px;
    flex-shrink: 0;
    margin-right: auto; /* יישור ההודעה לצד ימין */
}

/* לעדכן את העיצוב של .char-count */
.char-count[b-qod225biio] {
    color: black;
    font-size: 12px;
    flex-shrink: 0; /* כדי למנוע מהטקסט לקטון */
    margin-left: auto; /* יישור לצד השמאלי */
    padding-right: 10px; /* רווח קטן מהקצה השמאלי של תיבת הטקסט */
  margin-right:10px;

}


.buttons-container[b-qod225biio] {
    justify-content: center;
    margin-top: 10px;
    margin-bottom: 20px;
    /*position: fixed;*/
    right: 118px;
    top: 304px;
}

input[type="submit"][b-qod225biio] {
    background-color: #846DEB; /* Purple buttons */
    color: white;
    border: none;
    padding: 10px 15px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 21px; /* Rounded corners */
}

.input[type="button"][b-qod225biio] {
    background-color: #FCE5EA;
    color: black;
    border: 1px solid #707070;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 7px;
    font-size: 14px;
    line-height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.popup-background[b-qod225biio] {
    background-color: rgba(0, 0, 0, .5);
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

/* עיצוב הכפתור עם האייקון X */
.delete-modal .icon-button[b-qod225biio] {
    background-color: transparent; /* ביטול הרקע הסגול */
    border: none; /* ביטול מסגרת הכפתור */
    position: absolute;
    top: 15px; /* מיקום הכפתור 10px מלמעלה */
    left: 20px; /* מיקום הכפתור 10px מהצד השמאלי */
    padding: 0; /* ביטול מרווח פנימי */
    cursor: pointer;
}

    .delete-modal .icon-button img[b-qod225biio] {
        width: 30px; /* הגדרת גודל האייקון */
        height: 30px; /* הגדרת גודל האייקון */
        object-fit: contain; /* התאמה לגודל הכלי מבלי לעוות */
        }





/* שינוי צבע הטקסט בעת מעבר עכבר */
.image-container:hover .input-file-trigger[b-qod225biio]:before {
    opacity: 1;
    color: white;
    visibility: visible; /* שמור על הכפתור נראה בעת מעבר עכבר */
}

.image-container:hover .delete-button[b-qod225biio] {
    opacity: 1; /* שמור על הכפתור גלוי בעת מעבר עכבר */
    visibility: visible; /* שמור על הכפתור נראה בעת מעבר עכבר */
    z-index: 100; /* וודא שהטקסט מעל הכל */
}


.input-file-trigger[b-qod225biio] {
    display: none;
}


/* הסתרת הכפתור המיותר במעבר עכבר */
.image-container:hover input[type="file"] + .input-file-trigger[b-qod225biio] {
    opacity: 0;
}




/* עיצוב כפתורים במצב לא פעיל */
.updateQuestion:disabled[b-qod225biio], .saveQuestion:disabled[b-qod225biio], .restFields:disabled[b-qod225biio], .normalBtn:disabled[b-qod225biio] {
    background-color: #CACACA; /* צבע לכפתור במצב לא פעיל */
    color: #707070;
    cursor: not-allowed; /* שינוי הסמן במצב לא פעיל */
    opacity: 0.7; /* שקיפות קלה לכפתור מושבת */
}
.hidden-file-input[b-qod225biio] {
    display: none; /* מסתיר את הכפתור והטקסט של העלאת קובץ */
}

.upload-text[b-qod225biio] {
    position: relative;
    cursor: pointer;
}

.image-container:hover .edit-text[b-qod225biio] {
    opacity: 1; /* מציג את הכיתוב במעבר עכבר */
}
/* /Pages/GamesList.razor.rz.scp.css */
body[b-fjy1jr3vji] {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-repeat: no-repeat;
    background-position: center center;
    margin: 0;
    padding: 0;
}

.question-textbox[b-fjy1jr3vji] {
    width: 100%;
    height: 500px;
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ccc;
    resize: none;
}

.header-container[b-fjy1jr3vji] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.page-title[b-fjy1jr3vji] {
    font-size: 40px;
    color: black;
    margin: 0;
    text-align: center;
    flex-grow: 1;
}

.btn-icon[b-fjy1jr3vji] {
    display: flex;
    align-items: center;
    background-color: #846DEB;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
}

    .btn-icon img[b-fjy1jr3vji] {
        margin-left: 10px;
    }

.table-container[b-fjy1jr3vji] {
    width: 90%;
    margin: 0 auto;
    margin-top: 40px;
    height: 520px;
    overflow-y: auto;
    background-color: #FCE5EA;
    border-radius: 30px 30px 0 0;
    position: relative;
    direction: ltr; /* מוודא שהגלילה תהיה בצד ימין */
}

    /* Scrollbar Styles */
    .table-container[b-fjy1jr3vji]::-webkit-scrollbar {
        width: 20px;
        height: 50px;
    }

    .table-container[b-fjy1jr3vji]::-webkit-scrollbar-track {
        background: #ffe4ec;
        border-radius: 10px;
    }

    .table-container[b-fjy1jr3vji]::-webkit-scrollbar-thumb {
        background-color: #b091e6;
        border-radius: 10px;
        border: 3px solid #ffe4ec;
    }

        .table-container[b-fjy1jr3vji]::-webkit-scrollbar-thumb:hover {
            background-color: #846DEB;
        }

table[b-fjy1jr3vji] {
    width: 100%;
    border-collapse: collapse;
    background-color: #FCE5EA;
    color: black;
    border-radius: 30px 30px 0 0;
    overflow: hidden;
    right: 0;
    text-align: left; /* מיישר את התוכן של התאים לשמאל */
}

thead[b-fjy1jr3vji] {
    background-color: #846DEB;
    color: white;
    position: sticky;
    top: 0;
    z-index: 1;
}

th[b-fjy1jr3vji], td[b-fjy1jr3vji] {
    padding: 10px;
    text-align: center;
    position: relative;
    font-weight: 600;
}

    th .info[b-fjy1jr3vji] {
        width: 16px;
        height: 16px;
        margin-left: 5px;
        vertical-align: middle;
    }

tbody tr[b-fjy1jr3vji] {
    height: 38px;
}

/* Tooltip Styles */
.tooltip[b-fjy1jr3vji] {
    position: absolute;
    z-index: 1080;
    display: block;
    margin: 0;
    font-family: var(--bs-font-sans-serif);
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
    text-align: start;
    text-decoration: none;
    text-shadow: none;
    text-transform: none;
    letter-spacing: normal;
    word-break: normal;
    word-spacing: normal;
    white-space: normal;
    line-break: auto;
    font-size: .875rem;
    word-wrap: break-word;
  /*  opacity: 0;*/
}

    .tooltip .tooltiptext[b-fjy1jr3vji] {
        visibility: hidden;
        width: 120px;
        background-color: #F9FCC1;
        color: black;
        text-align: center;
        border-radius: 6px;
        padding: 5px;
        position: relative;
        z-index: 10000;
        /* bottom: 125%; */
        left: 50%;
        margin-left: -60px;
        transition: opacity 0.3s;
        font-size: 12px;
        display: inline-flex;
        justify-content: center;
    }

        .tooltip .tooltiptext[b-fjy1jr3vji]::after {
            content: "";
            position: absolute;
            top: 100%; /* החץ מתחת לטולטיפ */
            left: 50%;
            margin-left: -5px;
            border-width: 5px;
            border-style: solid;
            border-color: #F9FCC1 transparent transparent transparent;
        }

    .tooltip:hover .tooltiptext[b-fjy1jr3vji] {
        visibility: visible;
        z-index: 10000; /* לוודא שגם בזמן הריחוף זה יישאר מעל הכל */
    }

thead th[b-fjy1jr3vji] {
    position: relative;
    padding: 10px;
    text-align: center;
    font-weight: 600;
}

    thead th img.icon[b-fjy1jr3vji] {
        margin-left: 5px;
        vertical-align: middle;
    }

    thead th .tooltiptext[b-fjy1jr3vji] {
        visibility: hidden;
        width: 120px;
        background-color: #F9FCC1;
        color: black;
        text-align: center;
        border-radius: 6px;
        padding: 5px;
        position: absolute;
        z-index: 10000;
        bottom: 125%; /* מיקום הטולטיפ מעל האייקון */
        left: 50%;
        margin-left: -60px;
     /*   transition: opacity 0.3s;*/
        font-size: 12px;
    }

    thead th:hover .tooltiptext[b-fjy1jr3vji] {
        visibility: visible;
    }

    thead th .tooltiptext[b-fjy1jr3vji]::after {
        content: "";
        position: absolute;
        top: 100%; /* החץ מתחת לטולטיפ */
        left: 50%;
        margin-left: -5px;
        border-width: 5px;
        border-style: solid;
        border-color: #F9FCC1 transparent transparent transparent;
    }

input[type="submit"][b-fjy1jr3vji], input[type="button"][b-fjy1jr3vji] {
    background-color: #846DEB;
    color: white;
    border: none;
    padding: 10px 15px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 21px;
}

input[type="checkbox"]:disabled[b-fjy1jr3vji] {
    background-color: #eee;
}

.delete-modal[b-fjy1jr3vji] {
    color: black;
    width: 500px;
    height: 35%;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #D3CBFA;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 1000;
    border-radius: 30px;
}

    .delete-modal h3[b-fjy1jr3vji] {
        margin: 0 0 10px 0;
    }

    .delete-modal p[b-fjy1jr3vji] {
        margin: 0 0 20px 0;
    }

    .delete-modal button[b-fjy1jr3vji] {
        background-color: #a072c2;
        color: white;
        border: none;
        padding: 10px 15px;
        text-align: center;
        text-decoration: none;
        display: inline-block;
        font-size: 16px;
        margin: 4px 2px;
        cursor: pointer;
        border-radius: 5px;
    }

.popup-background[b-fjy1jr3vji] {
    background-color: rgba(0, 0, 0, .5);
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.custom-checkbox[b-fjy1jr3vji] {
    position: relative;
    display: inline-block;
    width: 24px;
    height: 24px;
}

    .custom-checkbox input[b-fjy1jr3vji] {
        opacity: 0;
        width: 0;
        height: 0;
    }

    .custom-checkbox .checkmark[b-fjy1jr3vji] {
        position: absolute;
        top: 0;
        left: 0;
        height: 24px;
        width: 24px;
        background-color: #eee;
        border-radius: 5px;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }

    .custom-checkbox input:checked ~ .checkmark[b-fjy1jr3vji] {
        background-image: url('Photos/checkedIcon.png');
    }

    .custom-checkbox .checkmark.not-published[b-fjy1jr3vji] {
        background-image: url('Photos/checkBoxOutline.png');
    }

    .custom-checkbox input:disabled ~ .checkmark[b-fjy1jr3vji] {
        background-image: url('Photos/checkboxIcon.png');
    }
    /* Tooltip Styles for Icons */
    .custom-checkbox .tooltiptext[b-fjy1jr3vji] {
        visibility: hidden;
        width: 120px;
        background-color: #F9FCC1;
        color: black;
        text-align: center;
        border-radius: 6px;
        padding: 5px;
        position: absolute;
        z-index: 10000;
        bottom: 125%; /* מיקום הטולטיפ מעל האייקון */
        left: 50%;
        margin-left: -60px;
        font-size: 12px;
    }

    .custom-checkbox:hover .tooltiptext[b-fjy1jr3vji] {
        visibility: visible;
        z-index: 10000; /* לוודא שגם בזמן הריחוף זה יישאר מעל הכל */
    }

    .custom-checkbox .tooltiptext[b-fjy1jr3vji]::after {
        content: "";
        position: absolute;
        top: 100%; /* החץ מתחת לטולטיפ */
        left: 50%;
        margin-left: -5px;
        border-width: 5px;
        border-style: solid;
        border-color: #F9FCC1 transparent transparent transparent;
    }
/* /Shared/MainLayout.razor.rz.scp.css */
main[b-82v0u5v5pd] {
    width: 1280px;
    margin: 0 auto;
}
/* /Shared/NavMenu.razor.rz.scp.css */
/* הגדרות עבור הקונפיגורציה של הניווט */
.nav-container[b-n0ky1ih9la] {
    display: flex;
    justify-content: space-between; /* ריווח שווה בין הכיתוב לתפריט */
    align-items: center;
    background-color: #FEF1FF; /* צבע רקע */
    padding: 10px;
    width: 100%;
    z-index: 999; /* שכבה מתחת לפופ-אפ */
}

.logo[b-n0ky1ih9la] {
    margin-right: 20px; /* ריווח מימין */
}

.logo-img[b-n0ky1ih9la] {
    height: 40px; /* התאמת גובה התמונה לפי הצורך */
    width: auto; /* שמירה על יחס הגובה-רוחב של התמונה */
}

nav[b-n0ky1ih9la] {
    display: flex;
    justify-content: flex-start; /* יישור הקישורים לשמאל */
    align-items: center;
    font-size: 0;
    color: #846DEB;
}

    nav > div[b-n0ky1ih9la] {
        display: inline-block;
        font-size: 12pt;
        margin-left: 20px; /* רווח בין הקישורים */
    }

    nav a[b-n0ky1ih9la], .btn-nav[b-n0ky1ih9la] {
        color: #846DEB;
        text-align: left; /* יישור הטקסט לשמאל */
        display: block;
        padding: 10px;
        text-decoration: none;
    }

        nav a.active[b-n0ky1ih9la] {
            background-color: rgba(255, 255, 255, 0.25);
            color: #4a148c; /* צבע סגול כהה לקישור הפעיל */
        }

        nav a:hover[b-n0ky1ih9la], .btn-nav:hover[b-n0ky1ih9la] {
            font-weight: bold;
            background-color: lightpink;
            color: #846DEB;
        }

/* הגדרות עבור הפופ-אפ */
.popup-overlay[b-n0ky1ih9la] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8); /* רקע כהה שמכסה את כל המסך */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000; /* שכבה מעל התפריט */
}

/* תוכן הפופ-אפ */
.popup-content[b-n0ky1ih9la] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    background: none; /* הסרת הרקע */
    border: none; /* הסרת הגבול */
    padding: 0; /* הסרת הרווחים */
    box-shadow: none; /* הסרת הצללים */
    z-index: 1001; /* להבטיח שהפופ-אפ יהיה מעל הרקע הכהה */
}

    .popup-content img[b-n0ky1ih9la] {
        max-width: 80%; /* התמונה לא תעלה על 80% מהרוחב של המסך */
        max-height: 80%; /* התמונה לא תעלה על 80% מהגובה של המסך */
        height: auto;
        margin-bottom: 10px;
        border: none; /* הסרת הגבול */
        background: none; /* הסרת הרקע */
    }

.close-button[b-n0ky1ih9la] {
    position: absolute;
    top: 40px;
    right: 170px;
    width: 30px; /* גודל האייקון */
    height: 30px; /* גודל האייקון */
    cursor: pointer;
    z-index: 1002; /* להבטיח שהכפתור יהיה מעל הפופ-אפ */
}

/* קישור עבור הפקולטה */
.faculty-link[b-n0ky1ih9la] {
    display: block;
    text-align: center;
    margin-top: -100px;
    font-size: 14px;
    color: blue;
    text-decoration: underline;
}

    .faculty-link:hover[b-n0ky1ih9la] {
        color: darkblue;
    }
