.iconOption {
    opacity: 0;
    transition: opacity 0.3s;
}

.iconOption.visibleOption {
    opacity: 1;
    pointer-events: auto;
}

.hiddenOption {
    opacity: 0;
    pointer-events: none;
}

.chatbot-options-toggler{
    position: fixed;
    z-index: 2;
    right: 25px;
    bottom: 56px;
    border: none;
    outline: none;
    display: flex;
    padding: 10px 20px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 40%;
    transition: all 0.2s ease;
    background: none;
}

.not-allowed{
    cursor: not-allowed !important;
    pointer-events: none;
}

.chatbot-options-toggler:hover{
    background: none;
}

.chatbot-toggler{
    position: fixed;
    z-index: 2;
    right: 25px;
    bottom: 165px;
    border: none;
    outline: none;
    display: flex;
    opacity: 0;
    padding: 10px 20px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 40%;
    transition: all 0.2s ease;
    background: none;
    pointer-events: none;
}

.chatbot-toggler:hover{
    background: none;
}

.call-toggler{
    position: fixed;
    z-index: 2;
    right: 25px;
    bottom: 110px;
    border: none;
    outline: none;
    display: flex;
    opacity: 0;
    padding: 10px 20px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 40%;
    transition: all 0.2s ease;
    background: none;
    pointer-events: none;
}

.show-options .chatbot-options-toggler {
    transform: rotate(90deg);
}

.show-chatbot .chatbot-toggler {
    transform: rotate(90deg);
}

.chatbot-options-toggler span{
    position: absolute;
}

.chatbot-toggler span{
    position: absolute;
}

.call-toggler span{
    position: absolute;
}

.show-options .chatbot-options-toggler span:first-child,
.chatbot-options-toggler span:last-child {
    opacity: 0;
}

.show-chatbot .chatbot-toggler span:first-child,
.chatbot-toggler span:last-child {
    opacity: 0;
}

.show-options .chatbot-options-toggler span:last-child {
    opacity: 1;
}

.show-chatbot .chatbot-toggler span:last-child {
    opacity: 1;
}

.chatbot{
    position: fixed;
    z-index: 1000;
    right: 70px;
    bottom: 145px;
    width: 380px;
    pointer-events: none;
    background-image: url('https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png');
    border-radius: 15px;
    transform-origin: bottom right;
    box-shadow: inset 0px 10px 15px -3px rgba(0,0,0,0.1),0px 10px 15px -3px rgba(0,0,0,0.1),0px 10px 15px -3px rgba(0,0,0,0.1),0px 10px 15px -3px rgba(0,0,0,0.1);
    transition: all 0.1s ease;
}

.show-options .chatbot-toggler{
    transform: scale(1);
    opacity: 1;
    pointer-events: auto;
}

.chatbot header{
    background: #25D366;
    padding: 8px 0;
    text-align: center;
    position: relative;
    border-bottom: 1px solid gray;
    border-radius: 15px 15px 0 0;
}

.chatbot header .chatbot-heading{
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-left: 10px;
}

.chatbot header .chatbot-heading div{
    background-color: white;
    padding: 2px 4px;
    border-radius: 50%;
}

.chatbot header .chatbot-heading h3{
    color: #fff;
    margin: 0;
}

.chatbot header span{
    position: absolute;
    right: 20px;
    top: 50%;
    color: black;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    transform: translateY(-50%);
    font-weight: 600;
    height: 25px;
    width: 25px;
    text-align: center;
}

.chatbot .chatbox{
    height: 420px;
    overflow-y: auto;
    padding: 30px 20px 70px;
}

.chatbox .chat{
    display: flex;
    gap: 0.8rem;
}

.chatbox .incoming span{
    height: 39px;
    width: 36px;
    background-color: white;
    padding: 3px;
    border-radius: 50%;
}

.chatbox .chat p{
    color: black;
    max-width: 75%;
    background: #fff;
    font-size: 0.95rem;
    padding: 12px 16px;
    margin: 0;
    border-radius: 10px 10px 0 10px;
}

.chatbox .incoming p{
    color: black;
    background: #f2f2f2;
    border-radius: 0 10px 10px 10px;
    line-height: normal;
}

.chatbot .chat-input{
    position: absolute;
    bottom: 0;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 15px 20px;
    border-radius: 0 0 15px 15px;
}

.chat-input a{
    width: 100%;
    text-align: center;
    background: #25D366;
    color: #fff;
    font-weight: 600;
    border-radius: 15px;
    padding: 5px;
}

/* Chatbot responsiveness */
@media(max-width: 490px){
    .chatbot{
        right: 25px;
        bottom: 200px;
    }
}
@media(max-width: 410px){
    .chatbot{
        width: 340px;
        right: 25px;
        bottom: 180px;
    }
}