#iconClose{
    -webkit-animation: ring 4s .7s ease-in-out infinite;
    -webkit-transform-origin: 50% 4px;
    -moz-animation: ring 4s .7s ease-in-out infinite;
    -moz-transform-origin: 50% 4px;
    animation: ring 4s .7s ease-in-out infinite;
}

@keyframes ring {
    0% {
        transform: rotate(0);
    }
    1% {
        transform: rotate(30deg);
    }

    3% {
        transform: rotate(-28deg);
    }

    5% {
        transform: rotate(34deg);
    }

    7% {
        transform: rotate(-32deg);
    }

    9% {
        transform: rotate(30deg);
    }

    11% {
        transform: rotate(-28deg);
    }

    13% {
        transform: rotate(26deg);
    }

    15% {
        transform: rotate(-24deg);
    }

    17% {
        transform: rotate(22deg);
    }

    19% {
        transform: rotate(-20deg);
    }

    21% {
        transform: rotate(18deg);
    }

    23% {
        transform: rotate(-16deg);
    }

    25% {
        transform: rotate(14deg);
    }

    27% {
        transform: rotate(-12deg);
    }

    29% {
        transform: rotate(10deg);
    }

    31% {
        transform: rotate(-8deg);
    }

    33% {
        transform: rotate(6deg);
    }

    35% {
        transform: rotate(-4deg);
    }

    37% {
        transform: rotate(2deg);
    }

    39% {
        transform: rotate(-1deg);
    }

    41% {
        transform: rotate(1deg);
    }

    43% {
        transform: rotate(0);
    }

    100% {
        transform: rotate(0);
    }
}
.sdt-chat-icon {
    object-fit: contain;
    width: -webkit-fill-available;
}
.chat-bot {
    border-radius: 50%;
    background-color: #FFFFFF;
    bottom: 77px;
    color: #8a99b3 !important;
    font-size: 14px;
    height: 60px;
    line-height: 40px;
    position: fixed;
    right: 13px;
    text-align: center;
    width: 60px;
    z-index: 99999;
    transition: all 0.3s ease-in-out;
}
.social-item img{
    padding-bottom: 5px;
}

.chat-form {
    max-width: 400px;
    position: fixed;
    bottom: 140px;
    right: 13px;
    height: auto;
    min-height: 400px;
    background-color: #f9f9f9;
    border-radius: 16px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 999;
}

.hidden-form-chat {
    display: none;
}

#iconOpen {
    display: none;
}

a.chat-bot {
    background: transparent;
}

.show-form-chat {
    display: block;
}
.chat-messages {
    padding: 10px 10px 10px 40px;
    max-height: 300px;
    overflow-y: auto;
    background-color: #f9f9f9;
    border: 0;
    border-radius: 0;
}

.message {
    position: relative;
    margin: 10px 0;
    padding: 10px 15px;
    max-width: 88%;
    border-radius: 15px;
    font-size: 14px;
    line-height: 1.4;
}

.message.sender {
    background-color: #0065B3;
    align-self: flex-end;
    margin-left: auto;
    border-bottom-right-radius: 15px;
    color: #FFFFFF;
}

.message.receiver {
    background-color:#DBDBDB;
    align-self: flex-start;
    margin-right: auto;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 15px;
    color: #1F1C1C;
}
.chat-messages::after {
    background: url("../images/chat-bot.png");
}

.message.receiver::after {
    content: "";
    position: absolute;
    top: 0;
    left: -30px;
    width: 26px;
    height: 26px;
    background: url("../images/chat-bot.png") no-repeat center center;
    background-size: contain;
}


.chat-input-area {
    display: flex;
    align-items: center;
    gap: 5px;
    position: absolute;
    width: 100%;
    padding: 0;
    border: none;
    bottom: 0;
}

.header-chat-box {
    min-width: 333px;
    display: flex;
    width: 100%;
    background: #0065B3;
    padding: 5px;
    border-radius: 15px 15px 0 0;
}

#chatInput {
    position: relative;
    border: none;
    border-radius: 0 0 15px 15px;
    font-size: 14px;
    padding: 7px;
    line-height: 30px;
}

.send-button {
    position: absolute;
    top: 24%;
    right: 5%;
    cursor: pointer;
    border: none;
    background: transparent;
    color: #0065B3;
}
.send-button span{
    display: block;
    border-left: 1px solid #F4F4F4;
    padding-left: 5px;
}

.close-button {
    position: absolute;
    top: 4%;
    right: 2%;
    cursor: pointer;
    border: none;
    background: transparent;
}

.chat-form .chat-input {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 12px;
    border: 1px solid #ddd;
    border-radius: 0 0 15px 15px;
    font-size: 14px;
    transition: all 0.2s ease;
    background-color: #f9f9f9;
}

.chat-form .chat-input:focus {
    border-color: #4A90E2;
    outline: none;
    box-shadow: 0 0 5px rgba(74,144,226,0.3);
}

/* Button */
.chat-form .chat-button {
    width: 100%;
    padding: 12px;
    background: #4A90E2;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s ease;
}

.chat-form .chat-button:hover {
    background: #357ABD;
}

.logo-icon {
    background-color: white;
    border-radius: 50%;
}

input#chatInput {
    outline: none;
    box-shadow: none;
}

.chat-greeting {
  display: none;
  position: fixed;
  bottom: 140px;
  right: 30px;
  background: white;
  color: black;
  padding: 12px 16px;
  border-radius: 12px;
  max-width: 250px;
  border: 1px solid black;
  z-index: 50;
}

.greeting-close {
  z-index: 50;
  position: absolute;
  top: -8px;
  right: -8px;
  background: #fff;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
  color: #333;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.pd-10-custom{
       padding-right: 15% !important;
}

@media only screen and (max-width: 768px) {
    .chat-form {
        max-width: unset;
        height: 79%;
        min-height: unset;
        width: 100%;
        right: 0;
        z-index: 99999;
    }

    .close-button {
        top: 2%;
        right: 2%;
    }

    .chat-messages{
        height: 79%;
        max-height: none;
    }

    .send-button span{
        padding-left: 2px;
    }
}
@media only screen and (max-width: 560px) {
    .pd-10-custom{
        padding-right: 17% !important;
    }
}