.open-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #685dd8;
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.dot {
    height: 10px;
    width: 10px;
    background-color: #16C47F;
    border-radius: 50%;
    display: inline-block;
    margin-left: 5px;
}

.chat-popup {
    display: none;
    position: fixed;
    bottom: 0;
    margin: 16px;
    z-index: 9;
}



.form-container {
    max-width: 300px;
    padding: 10px;
    background-color: white;
}

.form-container textarea {
    width: 100%;
    padding: 15px;
    margin: 5px 0 22px 0;
    border: none;
    background: #f1f1f1;
    resize: none;
    min-height: 200px;
}

.form-container textarea:focus {
    background-color: #ddd;
    outline: none;
}

.form-container .btn {
    background-color: #04AA6D;
    color: white;
    padding: 16px 20px;
    border: none;
    cursor: pointer;
    width: 100%;
    margin-bottom: 10px;
    opacity: 0.8;
}

.form-container .cancel {
    background-color: red;
}

.form-container .btn:hover,
.open-button:hover {
    opacity: 1;
}

.no-resize {
    resize: none;
}

.typing-indicator {
    display: flex;
    align-items: center;
    gap: 2px;
}

.dot-online {
    height: 10px;
    width: 10px;
    background-color: #16C47F;
    border-radius: 50%;
    display: inline-block;
    margin-left: 5px;
}

.dot {
    width: 6px;
    height: 6px;
    background-color: #555;
    border-radius: 50%;
    opacity: 0.5;
    animation: bounce 1.5s infinite ease-in-out;
}

.dot:nth-child(2) {
    animation-delay: 0.2s;
}

.dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes bounce {

    0%,
    80%,
    100% {
        transform: translateY(0);
        opacity: 0.5;
    }

    40% {
        transform: translateY(-5px);
        opacity: 1;
    }
}

@media(min-width: 576px) {
    .chat-popup {
        width: 60%;
        right: 16px;

    }
}

@media(min-width: 768px) {
    .chat-popup {
        width: 50%;
        right: 16px;
    }
}

@media(min-width: 992px) {
    .chat-popup {
        width: 40%;
        right: 16px;

    }
}

@media(min-width: 1200px) {
    .chat-popup {
        width: 30%;
        right: 16px;
    }
}

@media(min-width: 1400px) {
     .chat-popup {
        right: 16px;
    }
}
