:root {
    --border-input: #2495ff;
}

textarea {
    width: 100%;
    min-height: 150px;
    padding: 10px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    direction: auto;
    /* כיווניות אוטומטית לפי השפה */
    unicode-bidi: plaintext;
    /* מתקן בעיות בכיווניות טקסט מעורב */
    border: 1px solid #ccc;
    border-radius: 5px;
    resize: vertical;
    /* מאפשר שינוי גובה בלבד */
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* עיצוב במצב פוקוס */
textarea:focus,
input:focus,
select:focus {
    outline: none;
    border-color: var(--border-input);
    box-shadow: 0 0 5px rgba(0, 120, 255, 0.5);
}

/* placeholder סטיילינג */
textarea::placeholder {
    color: #aaa;
    font-style: italic;
}




/* מיקום כללי של הכפתור */
.save-menu {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

/* עיצוב הכפתור הראשי */
.save-menu-button {
    width: 60px;
    height: 60px;
    background-color: #4CAF50;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

.save-menu-button:hover {
    transform: rotate(90deg);
}

/* עיצוב תוכן התפריט */
.save-menu-content {
    background-color: #2D3748;
    color: white;
    padding: 16px;
    padding-right: 50px;
    border-radius: 8px;
    position: absolute;
    bottom: -10px;
    right: 20px;
    height: 80px;
    width: 300px;
    opacity: 0;
    z-index: -1;
    visibility: hidden;
    transform: translateX(10px) translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* הצגת התוכן בעת ריחוף */
.save-menu:hover .save-menu-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* עיצוב כפתור 'כן' */
.save-button {
    margin-top: 12px;
    padding: 8px 16px;
    background-color: #4CAF50;
    border: none;
    border-radius: 4px;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
}

.save-button:hover {
    background-color: #388E3C;
}

.start_dashboard {
    display: none;
}

















/* רקע שחור שקוף */
.notification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    animation: fadeIn 0.3s forwards;
}

.notification-overlay.removing {
    animation: fadeOut 0.3s forwards;
}

/* התראה בסיסית */
.notification {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    background-color: #2c2f33;
    color: #fff;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    z-index: 1001;
    /* opacity: 0; */
    transform: translateY(20px) translateX(-50%);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.notification.show {
    opacity: 1;
    transform: translateY(0) translateX(0);
}

.notification.removing {
    opacity: 0;
    transform: translateY(20px) translateX(0);
}

/* סוגי התראות */
.notification-success {
    background-color: #4caf50;
}

.notification-error {
    background-color: #f44336;
}

.notification-warning {
    background-color: #ff9800;
}

.notification-info {
    background-color: #2196f3;
}

/* התראה במרכז */
.notification-center {
    background: #3b3e45;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    max-width: 400px;
}

/* טקסט ההודעה */
.notification-content {
    font-size: 14px;
}

/* בר זמן */
.notification-timer {
    height: 4px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 2px;
    width: 100%;
    margin-top: 5px;
    transition: width 0.05s linear;
}

/* כפתורים */
.notification-btn {
    margin-top: 10px;
    background-color: #5865f2;
    border: none;
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    transition: background 0.3s;
}

.notification-btn:hover {
    background-color: #4752c4;
}

.notification-btns {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.notification-btn.confirm {
    background-color: #43b581;
}

.notification-btn.cancel {
    background-color: #f04747;
}

/* אנימציות */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}








#LOADING_SCREEN {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(31 41 55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 500;
    transition: all 0.3s ease;
}

#LOADING_SCREEN i {
    /* center */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 20rem;
    width: 20rem;
}