*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:lucida,sans-serif;
}


#chat-toggle{
    position:fixed;
    bottom:20px;
    right:20px;
    width:50px;
    height:50px;
    border-radius:50%;
    background: radial-gradient(circle, #0b57d0 0%, #0842a0 45%, #062d73 100%);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    font-size:28px;
    z-index:9999;
    box-shadow:0 5px 20px rgba(0,0,0,0.2);
}


#chat-container{
    position:fixed;
    right:20px;
    bottom:90px;
    width:380px;
    max-width:95%;
    height:530px;
    background:#fff;
    border-radius:15px;
    overflow:hidden;
    display:none;
    flex-direction:column;
    box-shadow:0 10px 40px rgba(0,0,0,0.2);
    z-index:9999;
}

#chat-container {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);

    transition:
        opacity 0.3s ease,
        transform 0.3s ease,
        visibility 0.3s;

    display: flex;
}

#chat-container.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

#chat-header{
    background: radial-gradient(circle, #0b57d0 0%, #0842a0 45%, #062d73 100%);
    color:#fff;
    padding:15px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}
.online-dot{
    background: #3BFE06;
    border-radius: 50%;
    width: 12px;
    height: 12px;
    display: inline-block;
    margin-right: 2px;
}

#chat-header h3{
    font-size:16px;
}

#close-chat{
    background:none;
    border:none;
    color:#fff;
    cursor:pointer;
    font-size:18px;
}

#chat-body{
    flex:1;
    overflow-y:auto;
    padding:15px;
    background:#f7f7f7;
}

.bot-message,
.user-message{
    padding:12px;
    margin-bottom:12px;
    border-radius:12px;
    line-height:1.5;
    max-width:85%;
    word-wrap:break-word;
    font-size: 15px;
}

.bot-message{
    background:#fff;
    border:1px solid #ddd;
}

.user-message{
    background: radial-gradient(circle, #0b57d0 0%, #0842a0 45%, #062d73 100%);
    color:#fff;
    margin-left:auto;
}

#typing-indicator{
    display:none;
    padding:10px 15px;
    font-size:13px;
    color:#666;
}

#chat-footer{
    display:flex;
    padding:10px;
    border-top:1px solid #ddd;
}

#user-input{
    flex:1;
    padding:12px;
    border:1px solid #ccc;
    border-radius:10px;
    outline:none;
    transition: all 0.2s ease-in-out;
}

#user-input:focus {
    outline: none;
    border: 1px solid #0b57d0;
    box-shadow: 0 4px 12px rgba(11, 87, 208, 0.25);
}

#send-btn{
    margin-left:10px;
    padding:12px 16px;
    background: radial-gradient(circle, #0b57d0 0%, #0842a0 45%, #062d73 100%);
    color:#fff;
    border:none;
    border-radius:10px;
    cursor:pointer;
}

.quick-suggestions{
    margin-top:10px;
}

.quick-btn{
    display:inline-block;
    background:#eef3ff;
    color:#0b57d0;
    padding:8px 12px;
    margin:5px 5px 0 0;
    border-radius:20px;
    cursor:pointer;
    font-size:13px;
}

.heavy-distort {
    display: inline-block;
    animation: warp 2s infinite ease-in-out;
}

@keyframes warp {
    0%   { transform: perspective(200px) rotateX(0deg) skewX(0deg); }
    50%  { transform: perspective(200px) rotateX(10deg) skewX(5deg); }
    100% { transform: perspective(200px) rotateX(0deg) skewX(0deg); }
}



.contact_icon {
    position: relative;
    display: inline-block;

    animation: chatPulse 2.8s infinite ease-in-out;
}

@keyframes chatPulse {

    0% {
        transform: translateY(0) scale(1);
        box-shadow: 0 0 0 0 rgba(66, 219, 135, 0.5);
    }

    15% {
        transform: translateY(-9px) scale(1.08);
    }

    25% {
        transform: translateY(-9px) scale(1.05) rotate(10deg);
    }

    35% {
        transform: translateY(-9px) scale(1.08) rotate(-10deg);
        box-shadow: 0 0 0 25px rgba(66, 219, 135, 0);
    }

    45% {
        transform: translateY(-9px) scale(1.05) rotate(0deg);
    }

    60% {
        transform: translateY(0) scale(1);
    }

    100% {
        transform: translateY(0) scale(1);
        box-shadow: 0 0 0 0 rgba(66, 219, 135, 0.5);
    }
}

.contact_icon {
    animation: chatPulse 2.8s infinite ease-in-out, glow 2.8s infinite ease-in-out;
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(66, 219, 135, 0);
    }

    20% {
        box-shadow: 0 0 15px 5px rgba(66, 219, 135, 0.25);
    }

    60% {
        box-shadow: 0 0 0 0 rgba(66, 219, 135, 0);
    }
}