/* BUTTON WITH MULTICOLORED ANIMATED BACKGROUND */ /* BUTTON WITH MULTICOLORED ANIMATED BACKGROUND */ /* BUTTON WITH MULTICOLORED ANIMATED BACKGROUND */
/* BUTTON WITH MULTICOLORED ANIMATED BACKGROUND */ /* BUTTON WITH MULTICOLORED ANIMATED BACKGROUND */ /* BUTTON WITH MULTICOLORED ANIMATED BACKGROUND */
/* BUTTON WITH MULTICOLORED ANIMATED BACKGROUND */ /* BUTTON WITH MULTICOLORED ANIMATED BACKGROUND */ /* BUTTON WITH MULTICOLORED ANIMATED BACKGROUND */
/* BUTTON WITH MULTICOLORED ANIMATED BACKGROUND */ /* BUTTON WITH MULTICOLORED ANIMATED BACKGROUND */ /* BUTTON WITH MULTICOLORED ANIMATED BACKGROUND */



.glowing-ai-button {
    position: relative;
    z-index: 0;
    padding: 0.6em 2em;
    border: none;
    outline: none;
    color: rgb(255, 255, 255);
    background: var(--APPLICATION__bento-box-color);
    cursor: pointer;
    border-radius: 20px;
    user-select: none;
    touch-action: manipulation;
    -webkit-user-select: none;
}

.glowing-ai-button:before {
    position: absolute;
    top: -2px;
    left: -2px;
    z-index: -1;
    content: "";
    background: linear-gradient(45deg,
        #ff0000,
        #ff7300,
        #fffb00,
        #48ff00,
        #00ffd5,
        #002bff,
        #7a00ff,
        #ff00c8,
        #ff0000);
    background-size: 400%;
    filter: blur(5px);
    -webkit-filter: blur(5px);
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    animation: glowing-ai-button-animation 20s linear infinite;
    transition: opacity 0.3s ease-in-out;
    border-radius: 20px;
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
}

@keyframes glowing-ai-button-animation {
    0% {
        background-position: 0 0;
    }
    50% {
        background-position: 400% 0;
    }
    100% {
        background-position: 0 0;
    }
}

.glowing-ai-button:after {
    z-index: -1;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--APPLICATION__bento-box-color);
    left: 0;
    top: 0;
    border-radius: 20px;
}







.glowing-ai-container {
    position: relative;
    z-index: 0;
    width: 100%;
    display: inline-block;
}

.glowing-ai-container:before {
    position: absolute;
    top: -2px;
    left: -2px;
    z-index: -1;
    content: "";
    background: linear-gradient(45deg,
        #ff0000,
        #ff7300,
        #fffb00,
        #48ff00,
        #00ffd5,
        #002bff,
        #7a00ff,
        #ff00c8,
        #ff0000);
    background-size: 400%;
    filter: blur(5px);
    -webkit-filter: blur(5px);
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    animation: glowing-ai-animation 20s linear infinite;
    transition: opacity 0.3s ease-in-out;
    border-radius: 20px;
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
}

.glowing-ai-container:after {
    z-index: -1;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--APPLICATION__bento-box-color);
    left: 0;
    top: 0;
    border-radius: 20px;
}

@keyframes glowing-ai-animation {
    0% { background-position: 0 0; }
    50% { background-position: 400% 0; }
    100% { background-position: 0 0; }
}

/* Keep the specific textarea styling */
.glowing-ai-textarea {
    position: relative;
    width: 100%;
    min-height: 100px;
    padding: 0.6em;
    border: none;
    outline: none;
    color: rgb(255, 255, 255);
    background: var(--APPLICATION__bento-box-color);
    border-radius: 20px;
    resize: vertical;
}