/* Action Buttons in Top Panel */
.left-actions button, .right-actions span, .right-actions .icon-placeholder {
    font-size: 16px;
    font-weight: bold;
    text-align: center;
}

/* General Left Action Button Styles */
.left-actions button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px 15px;
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    text-align: center;
}

.left-actions button:hover {
    text-decoration: underline;
}

/* Ice Button Icon */
.left-actions button[data-action="ice"] {
    position: relative;
    color: transparent; /* Hide the text */
}

.left-actions button[data-action="ice"]::before {
    content: "";
    background-image: url("https://rosebud.ai/assets/Ice.png?OdwA");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 55px;
    height: 55px;
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 60%;
    transform: translate(-50%, -50%);
}
@media (max-width: 768px) {
    .left-actions button {
        padding: 5px 8px;
        font-size: 18px;
    }
    .serve-drink {
        padding: 6px 10px;
        font-size: 16px;
    }
    .left-actions button[data-action="ice"] {
        min-width: 35px; /* Ensure button has width */
        min-height: 35px; /* Ensure button has height */
    }
    .left-actions button[data-action="ice"]::before {
        width: 35px;
        height: 35px;
    }
    .right-actions .icon-placeholder {
        width: 50px;
        height: 40px;
        font-size: 10px;
    }
    .icon-placeholder[data-item-code="METHOD_MIXING_GLASS"]::before,
    .icon-placeholder[data-item-code="METHOD_SHAKER"]::before {
        width: 60px;
        height: 60px;
    }
    .right-actions .shaker-button,
    .right-actions .mixing-glass-button {
        padding: 0; /* Remove padding for a more compact layout on mobile */
    }
}

/* Serve Drink Button */
.serve-drink {
    font-size: 18px; 
    font-weight: bold;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px 15px;
    font-family: 'Arial', sans-serif;
    color: #000000; 
    text-align: center;
}

.serve-drink:hover {
    text-decoration: underline;
}

/* Method and Tool Buttons (Right Actions) */
.right-actions .icon-placeholder {
    width: 70px;
    height: 60px;
    border: 1px solid #000000; 
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    font-weight: bold;
    color: #000000; 
    background-color: transparent; 
    cursor: pointer;
    text-align: center;
}
 .right-actions .icon-placeholder:hover {
    background-color: #eee;
}

/* Item Buttons (S1-S5) have been moved to item-buttons-1.css and item-buttons-2.css */

/* Recipe Book Button */
.recipe-book-button {
    padding: 10px 15px;
    border: none;
    background: none;
    cursor: pointer;
    font-weight: bold;
    font-size: 20px;
    font-family: 'Arial', sans-serif;
}

.recipe-book-button:hover {
    text-decoration: underline;
}

/* Button States */
.clicked {
    outline: 2px solid dodgerblue;
    transform: scale(0.98);
    transition: transform 0.1s ease-out;
}

.item-incorrect {
    border: 2px solid red !important;
    box-shadow: 0 0 5px rgba(255, 0, 0, 0.7) !important;
}

/* Item Button Icons & Variants */

/* Method Icon Buttons */
.icon-placeholder[data-item-code="METHOD_MIXING_GLASS"] {
    border: none !important;
    background-color: transparent !important;
    padding: 5px;
}
.icon-placeholder[data-item-code="METHOD_MIXING_GLASS"]:hover {
    background-color: rgba(224, 224, 224, 0.3) !important;
}
.icon-placeholder[data-item-code="METHOD_MIXING_GLASS"]::before {
    content: "";
    background-image: url("https://play.rosebud.ai/assets/Mixer.png?WBOu");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 100px;
    height: 100px;
    display: inline-block;
}
.icon-placeholder[data-item-code="METHOD_SHAKER"] {
    border: none !important;
    background-color: transparent !important;
    padding: 5px;
}
.icon-placeholder[data-item-code="METHOD_SHAKER"]:hover {
    background-color: rgba(224, 224, 224, 0.3) !important;
}
.icon-placeholder[data-item-code="METHOD_SHAKER"]::before {
    content: "";
    background-image: url("https://rosebud.ai/assets/Shaker.png?ZYPF");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 100px;
    height: 100px;
    display: inline-block;
}

/* Modal Buttons */
.modal-close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: 2px solid #000;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    width: 30px;
    height: 30px;
    line-height: 26px;
}

.modal-option-button {
    padding: 15px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    border: 2px solid #000;
    background-color: #c49100;
    transition: background-color 0.2s ease;
}
.modal-option-button:hover {
    background-color: #e6a200;
}