@import "https://cdn.jsdelivr.net/npm/bulma@1.0.2/css/bulma.min.css";

#openChat {
    position: fixed;
    bottom: 25px;
    right: 20px;
    background-color: #FFD700;
    color: #212432;
    border: none;
    padding: 15px 20px;
    border-radius: 50px;
    font-size: 16px;
    cursor: pointer;
    box-shadow:
        0px 0px 10px #FFD700,
        0px 0px 10px #FFD700;
    transition: background-color 0.3s ease;
    z-index: 2;
}

#openChat2 {
    position: fixed;
    bottom: 25px;
    right: 20px;
    color: #212432;
    border: none;
    padding: 15px 10px;
    margin: auto;
    border-radius: 50px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    z-index: 2;
}
#ino-head {
    filter: drop-shadow(0 0 0.75rem rgb(255, 217, 0));
}

#ino-head:hover {
    filter: drop-shadow(0 0 0.75rem rgb(0, 255, 204));
}



#chatPrompt {
    position: fixed; 
    bottom: 10px; 
    right: 130px;
    width: 230px;
    max-width: 100%;
    z-index: 2;
    border-radius: 20px;
    box-shadow: -5px 5px 15px #3f3f3f;
    text-align: start;
    padding: 12px 18px;
    margin-left: auto;
}

@media (max-width: 360px) {
    #chatPrompt {
        width: 50vw;
        padding: 12px 10px;
    }
}

#openChat:hover {
    background-color: #2d78b1;
    color: #fffae1;
    box-shadow:
        0px 0px 10px #2d78b1,
        0px 0px 10px #2d78b1;

}

#chatModal {
    height: 600px;
    max-height: 90vh;
    display: none;
    position: fixed;
    z-index: 5000;
    width: 400px;
    max-width: 90%;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    overflow: hidden;
    flex-direction: column;
}

.modal-content {
    height: 100%;
    position: relative;
}

.chat-nav {
    background: linear-gradient(45deg, #45ADCA 0%, #2d78b1 50%, #134196 100%);
    width: 100%;
}

.nametag {
    color: #e4eeec;
    padding-left: 1em;
}

.close-button {
    color: #e4eeec;
    padding-right: 1em;
    top: 10px;
    right: 20px;
    font-size: 20px;
    cursor: pointer;
    z-index: 1100;
}

#chatBox {
    flex: 1;
    overflow-y: auto;
    padding: 8px 0;
    scroll-behavior: smooth;
    overscroll-behavior: contain;
    overflow-y: hidden;
}

.chat-box {
    background: linear-gradient(45deg, #134196 0%, #2d78b1 50%, #45ADCA 100%);
    word-wrap: break-word;
    max-width: 80%;
    color: white;
}

.send-button {
    color: #FFD700;
    font-size: 1.5em;
    background-color: #ffffff;
    padding: 0 5px 0;
}

.va-top {
    vertical-align: top;
}

.br-15px {
    border-radius: 1em;
}

.chat-box2 {
    background: #e4eeec;
    word-wrap: break-word;
    max-width: 70%;
    min-width: min-content;
    text-align: right;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
}

/* Floating on Right for Desktop */
@media (min-width: 768px) {
    #chatModal {
        right: 20px;
        bottom: 20px;
    }
}

/* Centered on Mobile */
@media (max-width: 767px) {
    #chatModal {
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }
}

.typing-dots {
    display: inline-flex;
    align-items: center;
    height: 17px;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    margin: 0 2px;
    background-color: #e0e400;
    border-radius: 50%;
    display: inline-block;
    animation: typing-dots 1.4s infinite ease-in-out both;
}

.typing-dots span:nth-child(1) {
    animation-delay: -0.32s;
}

.typing-dots span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes typing-dots {

    0%, 80%, 100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1);
    }
}