/* Floating Tomato Styles */
#floating-tomato {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: transparent;
    padding: 20px;
    border-radius: 10px;
    z-index: 9999;
    max-width: 280px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

#floating-tomato.visible {
    opacity: 1;
    transform: translateY(0);
}

#floating-tomato:hover {
    transform: scale(1.05);
}

.tomato-inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tomato-image {
    font-size: 70px;
    margin-bottom: 15px;
    animation: bounce 2s infinite;
    order: 1;
}

.tomato-inner p {
    margin-top: 10px;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.3;
    order: 2;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

#tomato-result {
    margin-top: 10px;
    font-weight: 600;
    color: #4a9e34;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    order: 3;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-15px);
    }
    60% {
        transform: translateY(-7px);
    }
} 

@media only screen and (max-width: 768px) {
    #floating-tomato{max-width:125px; padding:10px; bottom:0px; right:0px;}
    .tomato-inner p{font-size:11px;}
    .tomato-image{font-size:50px; margin-bottom:5px;}
}