/* Menu screen specific styles */
#menu-screen {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Push header/footer to edges */
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.menu-header {
    width: 100%;
    display: flex;
    justify-content: flex-start; /* Logo to the left */
    margin-bottom: 20px;
}

.menu-logo {
    height: 40px; /* Adjust size as needed */
    width: auto;
}

#menu-grid {
    flex-grow: 1; /* Take up remaining space */
    width: 100%;
    max-width: 800px; /* Limit max width */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Responsive grid */
    gap: 20px;
    padding: 20px 0;
    overflow-y: auto; /* Allow scrolling if grid overflows */
}

.menu-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.menu-button:hover {
    background-color: #e0e0e0;
}

.menu-button img {
    width: 80px; /* Adjust icon size */
    height: 80px;
    margin-bottom: 10px;
}

.menu-button span {
    font-size: 1em;
    color: #3399ff;
}

.menu-footer {
    width: 100%;
    display: flex;
    justify-content: flex-end; /* Info button to the right */
    margin-top: 20px;
}

#info-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #007bff;
    color: white;
    font-size: 1.5em;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
}

/* New styles for the top-right menu title display */
#menu-screen-title-display {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10; 
    display: flex;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.25);
    padding: 3px 20px;
    border-radius: 8px;
    pointer-events: none; 
}

#menu-screen-title-text {
    font-size: 0.8em;
    font-weight: bold;
    color: #ffffff;
    margin-right: 10px;
}

#menu-screen-icon {
    font-size: 1.5em; /* Adjust for hamburger icon size */
    color: #ffffff;
    line-height: 1; /* Helps vertically align some text-based icons */
}

.menu-footer {
    padding: 10px;
} 