.ui-window {
     position: absolute;
     width: 450px;
     background-color: #fff0;
     padding: 20px;
     border: 2px solid #7db0b733;
     border-radius: 8px;
     box-shadow: inset 17px 20px 19px 0px rgb(198 244 245 / 7%);
     position: absolute;
     z-index: 10;
     resize: both;
     overflow: auto;
     max-width: 100%;
     max-height: 90vh;
     min-width: 300px;
     min-height: 200px;
     backdrop-filter: blur(2px) contrast(0.9);
}


.hidden {
     display: none;
}

#shoppingWindow {
     top: 110px;
     left: 280px;
     width: 400px;
}


#sumDigestionWindow {
     top: 80px;
     right: 10px;
     max-width: 300px;
}

#addEntryWindow {
     width: 450px;
}

#eatingHistoryWindow {
     top: 70px;
     left: 40px;
     width: 400px;

}

.oneDirectionalWindow {
     min-width: 60px;
     max-width: 100px;
     min-height: 80px;
     text-align: center;
     resize: none;
}

#costlyWillWindow {
     left: 10px;
     top: 63%;
}

#timeWindow {
     left: 10px;
     top: 83%;
}

#monthlyTrailWindow {
     top: 600px;
     right: 10px;
     max-width: 500px;
     max-height: 500px;
}

.ui-window.active {
     z-index: 110 !important;
     backdrop-filter: blur(3px) contrast(0.6);
     background-color: #ddf2ea45;
}

.close-btn {
     display: table-column;
     border: none;
     font-size: 16px;
     width: 50px;
     height: 24px;
     z-index: 10;
     padding: 0;
     margin-top: 0;
     background-color: #89cc975c;
     border-radius: 70%;
     margin-left: -15px;
     margin-top: -5px;
     border-radius: 10px;

}

.close-btn:hover {
     background-color: red;
}



#recipeWindow {
     top: 200px;
     left: 40px;
     width: 400px;
     height: 350px;
}


/* --- Start Menu Sidebar --- */
#startMenu {
     position: fixed;
     top: 0px;
     left: 20px;
     z-index: 200;
}

#startMenuToggle {
     z-index: 0;
     border-radius: 45%;
     padding: 23px;
     font-size: 24px;
     margin: 0;
     border: 2px solid #7db0b733;
     background-color: #ddf2ea45;
     backdrop-filter: blur(3px);
     color: #333;
     cursor: pointer;
}

#startMenuList:not(.hidden) {

     bottom: 60px;
     /* Position above the toggle button */
     left: 0;
     width: 200px;
     background-color: #ddf2eaab;
     backdrop-filter: blur(5px);
     border-radius: 8px;
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
     border: 1px solid #7db0b733;
     padding: 5px;
     display: flex;
     flex-direction: column;
}

#startMenuList button {
     background-color: transparent;
     color: #333;
     text-align: left;
     margin: 2px 0;
     padding: 8px 12px;
     font-size: 16px;
     z-index: 6;
     border: none;
}

#startMenuList button:hover {
     background-color: #ffffff8c;
}


.menu-item-group {
     position: relative;
}

.submenu {
     display: none;
     position: absolute;
     left: 100%;
     top: -5px;
     /* Align with the top of the parent button */
     width: 150px;
     padding: 5px;
     background-color: #ddf2eaab;
     backdrop-filter: blur(5px);
     border-radius: 8px;
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
     border: 1px solid #7db0b733;
}

.menu-item-group:hover .submenu {
     display: block;
}


#intentionsWindow {
     top: 200px;
     left: 100px;
     width: 400px;
     height: auto;
}

.intention-item {
     display: flex;
     justify-content: space-between;
     align-items: center;
     padding: 12px 8px;
     border-bottom: 1px solid #a0a18480;
     background-color: #ffffff1c;
}

.intention-timer {
     font-size: 13px;
     background-color: #e9e8d24d;
     padding: 3px 6px;
     border-radius: 4px;
}


#actionHistoryWindow {
     top: 100px;
     left: 320px;
     width: 400px;
     height: auto;
}

.action-item {
     padding: 12px 8px;
     border-bottom: 1px solid #a0a18480;
     background-color: #ffffff1c;
}

.action-meta {
     display: block;
     font-size: 13px;
     color: #555;
     margin-top: 4px;
}