@import url('https://fonts.googleapis.com/css2?family=Parkinsans:wght@400;500;600;700&display=swap');

:root {

    --vm-blue: #1b4975;
    --vm-green: #6eeaac;
    --vm-bg: #ffffff;
    --vm-border: #e8eef3;

}

#ai-chat-widget{

    position:fixed;

    right:30px;

    bottom:30px;

    z-index:999999;

    font-family:"Parkinsans",sans-serif;

}

#ai-chat-toggle{

    width:72px;
    height:72px;

    display:flex;
    align-items:center;
    justify-content:center;

    border:none;
    border-radius:50%;

    background:#fff;

    cursor:pointer;

    padding:12px;

    box-shadow:0 12px 40px rgba(0,0,0,.18);

    transition:.25s;

}

#ai-chat-toggle:hover{

    transform:scale(1.06);

}

#ai-chat-toggle img {
    width: 100%;
    position: relative;
    left: -2px;
    top: 3px;
    z-index: 2;
}

#ai-chat-window{

    width:380px;
    height:650px;

    background:#fff;

    border-radius:22px;

    overflow:hidden;

    display:flex;
    flex-direction:column;

    border:1px solid var(--vm-border);

    box-shadow:0 30px 70px rgba(0,0,0,.12);

    transform-origin:bottom right;

    transition:
        opacity .25s,
        transform .25s;

}

#ai-chat-toggle {
    position: relative;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    padding: 12px;
    overflow: visible;
    box-shadow: 0 12px 40px rgba(0,0,0,.18);
    transition: transform .25s;
}

#ai-chat-widget.collapsed{
 	height:65px;
  	width:65px;
}

#ai-chat-widget.collapsed #ai-chat-window{

    opacity:0;

    visibility:hidden;

    transform:translateY(20px) scale(.9);

}

#ai-chat-widget.expanded #ai-chat-window{

    opacity:1;

    visibility:visible;

    transform:none;

}

#ai-chat-widget.collapsed #ai-chat-toggle {
    position: fixed;
    right: 30px;
    bottom: 30px;
}

#ai-chat-widget.expanded #ai-chat-toggle{

    display:none;

}

#ai-chat-header {

    background: var(--vm-blue);

    color: white;

    padding: 22px;

    display:flex;

    justify-content:space-between;

    align-items:center;

}

#ai-chat-close{

    width:38px;

    height:38px;

    border:none;

    background:transparent;

    color:#fff;

    font-size:30px;

    line-height:1;

    cursor:pointer;

    transition:.2s;

}

#ai-chat-close:hover{

    transform:rotate(90deg);

}

#ai-chat-header img {

    width: 150px;

}

#ai-chat-messages {

    flex: 1;

    overflow-y: auto;

    padding: 22px;

    background: #fafcfd;

}

.ai-msg {

    max-width: 82%;

    padding: 15px 18px;

    margin-bottom: 18px;

    border-radius: 18px;

    line-height: 1.6;

    font-size: 15px;

    animation: fade .25s ease;

}

.ai-msg.bot {

    background: white;

    border: 1px solid #e8eef3;

    color: #333;

}

.ai-msg.user {

    margin-left: auto;

    background: var(--vm-blue);

    color: white;

}

#ai-chat-form {

    display: flex;

    gap: 12px;

    padding: 20px;

    background: white;

    border-top: 1px solid #edf1f4;

}

#ai-chat-input {

    flex: 1;

    border: 1px solid #dbe5eb;

    border-radius: 50px;

    padding: 15px 20px;

    font-size: 15px;

    outline: none;

    transition: .25s;

    font-family: "Parkinsans", sans-serif !important;

}

#ai-chat-input:focus {

    border-color: var(--vm-green);

    box-shadow: 0 0 0 4px rgba(110, 234, 172, .2);

}

#ai-chat-form button {

    width: 54px;

    border: none;

    border-radius: 50%;

    background: var(--vm-green);

    color: #1b4975;

    font-size: 22px;

    cursor: pointer;

    transition: .25s;

}

#ai-chat-form button:hover {

    transform: scale(1.08);

}

.ai-msg a {

    display: inline-block;

    margin-top: 10px;

    padding: 10px 16px;

    border-radius: 40px;

    background: var(--vm-green);

    color: #1b4975;

    text-decoration: none;

    font-weight: 600;

}

@keyframes fade {

    from {

        opacity: 0;

        transform: translateY(10px);

    }

    to {

        opacity: 1;

        transform: none;

    }

}

.typing-dot {
    width: 8px;
    height: 8px;
    margin-right: 5px;
    border-radius: 50%;
    background: #6eeaac;
    display: inline-block;
    animation: typing 1.4s infinite;
}

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

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

@keyframes typing {

    0%,
    80%,
    100% {

        transform: scale(.5);
        opacity: .5;

    }

    40% {

        transform: scale(1);
        opacity: 1;

    }

}

.ai-link {

    display: inline-block;
    margin-top: 10px;
    margin-right: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    background: #6eeaac;
    color: #1b4975;
    text-decoration: none;
    font-weight: 600;
    transition: .2s;

}

.ai-link:nth-of-type(2){
    display: none !important;
}

.ai-link:hover {

    transform: translateY(-2px);

}

#ai-chat-toggle .ai-chat-circle-text {
    position: absolute;
    width: 150px;
    height: 120px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    overflow: visible;
    pointer-events: none;
}

.ai-chat-circle-text text {
    fill: #1b4975;
    font-family: "Parkinsans", sans-serif;
    font-size: 23px;
    font-weight: 700;
    letter-spacing: 1px;
}

@media all and (max-width: 600px){
 	#ai-chat-toggle .ai-chat-circle-text {
    position: absolute;
    width: 100px;
    height: 100px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    overflow: visible;
    pointer-events: none;
} 
}