/* Suggestion bubbles */
/* .suggestion-bubbles {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 16px;
    row-gap: 12px;
    padding: 0;
    margin: 8px 0 0;
    width: 100%;
    flex-wrap: wrap;
    z-index: var(--z-floating, 10);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 1;
    pointer-events: auto;
    transform: translateY(10px);
    animation: floatUp 0.5s ease-out forwards;
} */
.suggestion-bubbles {
    position: fixed !important;
    left: 50% !important;
    top: calc(50% + 80px) !important; /* Adjust this value based on your input height */
    transform: translateX(-50%) !important;
    width: 80% !important;
    max-width: 600px !important;
    display: flex;
    justify-content: center;
    gap: 16px;
    row-gap: 12px;
    padding: 0;
    margin: 0 !important;
    flex-wrap: wrap;
    z-index: var(--z-floating, 10);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 1;
    pointer-events: auto;
    animation: floatUp 0.5s ease-out forwards;
}

@keyframes floatUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.suggestion-bubble {
    background-color: var(--color-secondary);
    color: var(--color-text);
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--color-border);
    max-width: 45%;
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

@media (min-width: 769px) {
    .suggestion-bubble {
        font-size: 16px;
        padding: 15px 25px;
    }
}

.suggestion-bubble::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.suggestion-bubble:hover {
    background-color: var(--color-primary);
    color: white;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15), 0 4px 8px rgba(0, 0, 0, 0.1);
}

.suggestion-bubble:hover::before {
    opacity: 1;
}

.suggestion-bubble:active {
    transform: translateY(1px) scale(0.98);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.suggestion-bubbles.hidden {
    opacity: 0 !important;
    transform: translateY(20px) !important;
    pointer-events: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hide suggestions when input is focused */
.message-input-focused ~ .suggestion-bubbles {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}
