@import url("all.min.css");
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

* {
    box-sizing: border-box;
}
html {
    height: 100%;
}
body {
    margin: 0;
    display: flex;
    height: 100%;
    overflow: hidden;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.refresh-container {
    display: flex;
    align-items: center;
    padding: 10px;
    background: #f9f9f9;
    /* Match chat list background */
    border-bottom: 1px solid #ddd;
    /* Optional: Separate visually from the list */
    position: sticky;
    /* Keeps it visible on scroll */
    top: 0;
    z-index: 10;
}

.refresh-btn {
    position: relative;
    top: 10px;
    right: 10px;
    background: #adb4d9;
    border: none;
    color: #fff;
    /* font-size: 20px; */
    cursor: pointer;
    /* padding: 5px; */
    border-radius: 5%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.refresh-btn:hover {
    background: #9aaed0;
}


/* Chat List Styles */
.chat-list-container {
    width: 100%;
    max-width: 400px;
    border-right: 1px solid #ddd;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    background: #f0f2f5;
    /* position: relative; */
    padding-bottom: 50px;
}

.chat-list-item {
    /* padding: 15px; */
    border-radius: 5px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    padding: 8px;
    word-wrap: break-word;
    word-break: break-word;
}

.chat-list-button {
    background-color: #b0b7f8;
    /* Light gray background */
    border: 1px solid #ccc;
    /* Border for button appearance */
    border-radius: 4px;
    /* Rounded corners */
    padding: 10px 15px;
    /* Spacing inside the button */
    color: #333;
    /* Text color */
    font-size: 14px;
    /* Text size */
    text-align: center;
    /* Center the text */
    cursor: pointer;
    /* Pointer cursor on hover */
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    display: block;
    /* Ensures it behaves like a block element */
}

/* .chat-list-item {
     padding: 15px;
     border-bottom: 1px solid #ddd;
     cursor: pointer;
 } */

.chat-list-item:hover {
    background: rgba(255,255,255,1);
    border-radius: 5px;
    border: 1px solid #fff;
}

/* Active state styles */
.chat-list-item-active {
	background: #d3e3fd;
	box-shadow: 1px 2px 3px -1px rgba(0,0,0,.3);
	border: 1px solid #b1cdfc !important;
	border-radius: 5px;
}

.chat-list-item-unreply {
	border-radius: 5px;
	/* background: #d3e3fd !important; */
	border: 1px solid #b1cdfc !important;
	position: relative;
}

.chat-list-item-unreply  .chat-upper {
    padding-right: 24px;
}

.chat-list-item-unreply::before {
	content: "\f0f3";
	font-weight: 900;
	font-family: "Font Awesome 6 Free";
	color: #0b57d0;
	display: block;
	width: 25px;
	height: 25px;
	font-size: 22px;
	margin: 50px auto 0;
	/* -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;
	transform-origin: 50% 4px; */
	position: absolute;
	top: 11px;
	right: 5px;
	right: 0;
	margin: 0;
}

/* .chat-list-item-hold {
    border-bottom: 1px solid #ddd;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;


    background-color: #939291;
    color: #fff;
    font-weight: bold;

    padding: 8px;
    word-wrap: break-word;
    word-break: break-word;
} */

/* Chat Window Styles */
.chat-window {
    flex: 1;
    display: none;
    flex-direction: column;
}

.chat-window.active {
    display: flex;
}

.chat-header {
    padding: 10px;
    background: #adb4d9;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header button {
    background: none;
    border: none;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}

.chat-messages {
    flex: 1;
    word-wrap: break-word;
    word-break: break-word;
    padding: 10px;
    overflow-y: auto;
    position: relative;
    padding-bottom: 90px;
}

.chat-footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    border-top: 1px solid #b1cdfc;
    position: sticky;
    bottom: 0;
    background: #b1cdfc;
}

.chat-footer textarea {
    width: 100%;
    height: 50px;
    resize: none;
    font-size: 16px;
    padding: 0;
    border-radius: 5px;
}

.language-selector button {
    align-self: flex-end;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.chat-footer #suggestionsBox:empty {
    opacity: 0;
    visibility: hidden;
}
.chat-footer #suggestionsBox {
	bottom: calc(100% - 2px);
	top: auto !important;
	left: 0 !important;
	position: absolute;
	/* border: 1px solid #fff; */
	z-index: 100000000;
	list-style: none;
	padding: 0px;
	margin: 0px;
	width: 90%;
	display: block;
	background: #fff;
	max-height: 370px;
	overflow-y: auto;
	font-size: 14px;
	border-radius: 10px;
	/* box-shadow: 0px -9px 21px -9px rgba(0,0,0,.2); */
	color: #000;
    /* padding: 10px; */
    font-size: 13px;
}
.chat-footer #suggestionsBox li:hover {
    background-color: rgba(0,0,0,0.08)!important;
}
.fake-textarea {
	display: flex;
	align-items: center;
	background: #fff;
	border-radius: 10px;
	box-shadow: 1px 1px 11px 0px rgba(0,0,0,.3);
	padding: 10px 20px;
    min-height: 62px;
}
.fake-textarea textarea {
	border: none !important;
	box-shadow: none !important;
	outline: none !important;
	padding: 10px 12px !important;
	box-shadow: 1px 1px 12px -3px rgba(0,0,0,.3) inset !important;
	background: #eff3fa;
}
#messageTabContent {
	width: 100%;
    display: flex;
    justify-content: flex-end;
    /* box-shadow: 1px 1px 12px -3px rgb(123, 172, 255) inset !important; */
    align-items: center;
}
#language-select {
	border: none;
	width: 45px;
	background: none;
    margin-left: 10px;
}
#messageTabContent[style="display: block;"],
#noteTabContent[style="display: block;"],
#imageTabContent[style="display: block;"] {
    display: flex!important;
    width: 100%;
    align-items: center;
}
.tab-buttons {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 0 15px 0 0;
}
.tab-buttons button {
	background: none;
    border: none;
	color: #000;
	opacity: 0.4;
	padding: 0;
	font-size: 21px;
	line-height: 0;
	width: 23px;
    cursor: pointer;
}
.tab-buttons button:hover,
.tab-buttons .active-tab {
    color: green;
    opacity: 1;
}

.sent-button {
	background: green;
	border: none;
	flex: 0 0 42px;
    width: 42px;
	height: 42px;
	border-radius: 100%;
	color: #fff;
	font-size: 21px;
	padding: 0;
	transform: rotate(22deg);
    margin-left: 15px;
    cursor: pointer;
}
.image-fake-input {
	border: 1px dashed #bbb;
	width: 100%;
	border-radius: 11px;
}
#imageInput {
	width: 100%;
	height: 100%;
	cursor: pointer;
	padding: 10px;
}

/* Responsive Styles */
@media (min-width: 768px) {


    .chat-list-container {
        width: 360px;
    }

    .chat-window {
        display: flex;
    }

    .chat-footer {
        flex-direction: column;
    }

    .language-selector {
        flex-direction: column;
        align-items: flex-start;
    }

    .chat-footer textarea {
        height: 40px;
        font-size: 14px;
    }
}

.language-selector {
    /* display: flex; */
    flex: 1;
    align-items: right;
    gap: 10px;
}

.language-selector select {
    padding: 5px;
    font-size: 14px;
}

.language-selector input {
    padding: 5px;
    font-size: 14px;
}

/* whats css */
.table-responsive {
    width: 100%;
    margin-top: 25px;

}

.viewwhatsapp tr,
.viewwhatsapp td,
.viewwhatsapp th,
.viewwhatsapp tbody,
.viewwhatsapp thead {
    display: block;
}

tr.Incoming td {
    float: left;
}

tr.Outgoing td {
    float: right;
}

tr.Incoming:after,
tr.Outgoing:after {
    content: "";
    display: block;
    clear: both;
}

tr.Incoming td,
tr.Outgoing td {
    max-width: 60%;
    margin: 6px;
    border-radius: 8px;
    padding: 10px;
    font-size: 14px;
    line-height: 1.8;

}

tr.Incoming td>p,
tr.Outgoing td>p,
.Notes td>p {
    margin-bottom: 0;
    border-top: 1px solid rgba(0, 0, 0, .1);
    padding-top: 10px;
    padding-right: 30px;
}

/* tr.Incoming td br, tr.Outgoing td br {
    display: none;
} */

.Incoming td {
    background: #bee8ff;
}


tr.Outgoing td {
    background-color: #e7f1ff;
}

tr.Incoming td {
    background-color: #f0f0f0;
    color: #000;
}





.sent td {
    background-image: url(images/sent.png);
    background-repeat: no-repeat;
    background-size: 14px 14px;
    background-position: bottom 10px right 8px;
}

.delivered td {
    background-image: url(images/delivered.png);
    background-repeat: no-repeat;
    background-size: 14px 14px;
    background-position: bottom 10px right 8px;
}

.read td {
    background-image: url(images/read.png);
    background-repeat: no-repeat;
    background-size: 14px 14px;
    background-position: bottom 10px right 8px;
}

.failed td {
    background-image: url(images/failed.png);
    background-repeat: no-repeat;
    background-size: 14px 14px;
    background-position: bottom 10px right 8px;
}

/*div#custom_tabs {
    position: sticky;
    left: 0;
    bottom: 0;
    padding: 0;
}*/

div#whatsapp_tabs {
    position: sticky;
    left: 0;
    bottom: 0;
    border: 0px;
    background: none !important;
    margin: 20px 0px 0px 0px;
}


#processingdiv_whatsapp {
    height: calc(100vh - 220px);
    overflow-y: auto;
}

.Notes {
    display: block;
    margin-bottom: 10px;
    width: 100%;
    padding: 6px;
}


.Notes>td {
    max-width: 87%;
    margin: 6px;
    border-radius: 8px;
    padding: 10px !important;
    font-size: 12px;
    line-height: 1.8;
    word-break: break-word;
    border: unset !important;
    background: linear-gradient(214deg, rgb(253 215 0 / 66%) 0, rgba(245, 212, 24, 0.8869922969187675) 63%, rgb(201 180 61 / 86%) 131%);
    color: #000;
    box-shadow: 3px 2px 6px 0px rgb(96 86 86 / 28%);
}

.Notes p {
    color: #000;
}





/* pop css */
/* Notification Popup Styles */
.notification-popup {
    position: fixed;
    top: -150px;
    /* Hidden initially */
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    background-color: #87c1ff;
    color: white;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    padding: 15px;
    transition: top 0.5s ease-in-out;
    /* Smooth slide effect */
}

.notification-popup.show {
    top: 20px;
    /* Visible position */
}

.notification-content {
    text-align: left;
    position: relative;
}

.sender-info {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
}

.message {
    font-size: 14px;
    margin: 0;
}

/* Close Button Styles */
.close-btn {
    position: absolute;
    top: 5px;
    right: 10px;
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

.close-btn:hover {
    color: #ccc;
}








/* Style for the overlay */
#disconnectedOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    /* Black background with transparency */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    /* Ensure it stays above other content */
    visibility: hidden;
    /* Hidden by default */
    opacity: 0;
    transition: visibility 0s, opacity 0.3s;
    /* Smooth fade-in/out */
}

#disconnectedOverlay.visible {
    visibility: visible;
    opacity: 1;
}

#disconnectedOverlay .message-box {
    background-color: #fff;
    padding: 20px 30px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

#disconnectedOverlay .message-box h2 {
    margin: 0 0 15px;
    font-size: 24px;
    color: #333;
}

#disconnectedOverlay .message-box button {
    padding: 10px 20px;
    font-size: 16px;
    color: #fff;
    background-color: #007bff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#disconnectedOverlay .message-box button:hover {
    background-color: #0056b3;
}

/* style overlay end */


.domainz-hide {
    display: none !important;
}

.domainz-chat-header {
    background: #fff;
    border-bottom: 1px solid #ddd;
    display: flex;
    padding: 15px;
    align-items: center;
    border-bottom: 7px solid green;
}

.domainz-chat-header.disconnected {
    border-bottom-color: red;
}

.domainz-chat-user-name {
    font-size: 24px;
    font-weight: 600;
}

.domainz-chat-items {
    font-size: 12px;
    color: #666;
}

.domainz-chat-items ul {
    padding: 0;
    margin: 0;
}

.domainz-chat-items ul li {
    list-style: none;
    display: inline-block;
    margin-right: 10px;
    padding-left: 12px;
    position: relative;
}

.domainz-chat-items ul li::before {
    content: "";
    display: block;
    background: #dddcdc;
    border-radius: 100%;
    width: 6px;
    height: 6px;
    position: absolute;
    left: 0;
    top: 6px;
}

.chat-header-right {
    margin-left: auto;
}

.chat-header-right button {
    background: none;
    border: none;
    font-size: 8px;
    cursor: pointer;
}

.chat-header-right button i {
    display: none;
    background: #efefef;
    border: none;
    border-radius: 100%;
    width: 50px;
    height: 50px;
    white-space: nowrap;
    line-height: 50px;
    font-size: 16px;
    color: #666;
    margin-bottom: 6px;
}

.chat-header-right button .icon-active {
    display: block;
}

.chat-header-right button.join-button i {
    background-color: green;
    color: #fff;
}

/* end header */
body .lightbox {
    overflow: auto;
    align-items: flex-start;
}

body .lightbox-close {
    position: fixed;
    top: 19px;
    right: 34px;
    ;
}

.chatList {
    padding: 10px;
    box-shadow: 0 4px 5px -2px rgba(0,0,0,.3) inset;
}

.chat-type-tab {
	/* position: fixed; */
	bottom: 0;
	left: 0;
	background: #fff;
	width: 100%;
	padding: 0;
	display: flex;
	justify-content: flex-start;
	gap: 0;
	z-index: 9;
    padding: 8px 8px 0;
}

.chat-type-tab button {
    background: none;
    border: none;
    padding: 16px 8px;
    border: 1px solid none;;
    font-size: 14px;
    background: transparent;
    /* margin: 0 4px; */
    width: 100%;
    font-weight: 700;
    opacity: .4;
    cursor: pointer;
}
.chat-type-tab button .msg-count {
	display: inline-block;
	width: 15px;
	height: 15px;
	background: green;
	font-size: 10px;
	color: #fff;
	line-height: 15px;
	border-radius: 100%;
	margin-left: -2px;
	transform: translateY(-8px);
}
.chat-type-tab button:hover {
    opacity: .8;
}

.chat-type-tab button i {
	color: #008000;
	margin-right: 11px;
	font-size: 16px;
}

.chat-type-tab button.chat-type-active {
	background: #f0f2f5;
	border: none;
	border-bottom: transparent;
	border-radius: 10px 10px 0 0;
	color: #000;
	opacity: 1;
	border-bottom: none;
	margin-bottom: -6px;
	box-shadow: 0px 5px 6px -2px rgba(0,0,0,.2) inset;
}

/* left chat style */
.chat-list-item {
	font-size: 16px;
	margin-bottom: 6px;
	box-shadow: 1px 1px 4px -2px rgba(0,0,0,.3);
}
.chat-upper {
    display: flex;
    font-size: 1em;
    line-height: 1.2em;
    margin-bottom: 8px;
}
.client-name-number {
    font-weight: 600;
    text-transform: capitalize;
}
.client-name-number span + span{
    font-size: 0.8em;
    display: block;
    font-weight: 400;
}
.client-name-number span:empty + span {
	font-size: 1em;
	font-weight: 600;
}
.chat-time {
	font-size: 0.8em;
	margin-left: auto;
    line-height: 1.2em;
    color: #666;
    font-weight: 600;
    text-align: right;
}
.chat-time .chat-time-date {
	font-size: 0.9em;
    font-weight: 400;
}
.chat-bottom {
	display: flex;
	font-size: 14px;
    position: relative;
    line-height: 1.2em;
}
.joined-by {
	margin-left: auto;
	text-transform: capitalize;
	color: green;
	font-size: 0.9em;
	font-weight: 600;
}
.last-msg-preview {
	font-size: 0.9em;
}
.last-msg-preview-text {
	max-width: 240px;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
	opacity: 0.5;
	display: inline-block;
    padding-right: 24px;

    background-repeat: no-repeat;
    background-size: 16px;
    background-position: center right;
}
.last-msg-preview-text.sent {
    background-image: url(images/sent.png);
}

.last-msg-preview-text.delivered {
    background-image: url(images/delivered.png);
}

.last-msg-preview-text.read {
    background-image: url(images/read.png);
}

.last-msg-preview-text.failed{
    background-image: url(images/failed.png);
}
.msg-tooltip {
	display: none;
	position: absolute;
	top: calc(100% + 9px);
	/* background: #fff3df; */
    background: #fee0b2;
	padding: 10px;
	width: auto;
	max-width: 100%;
	z-index: 9;
	box-shadow: 1px 14px 24px -2px rgba(0,0,0,.3);
	border-radius: 5px;
    min-width: 60px;
}
.msg-tooltip::before {
	content: "";
	display: ;
	width: 0;
	height: 0;
	border-left: 10px solid transparent;
	border-right: 10px solid transparent;
	position: absolute;
	top: -9px;
	/* border-bottom: 10px solid #fff3df; */
    border-bottom: 10px solid #fee0b2;
	left: 20px;
}
.last-msg-preview:hover .msg-tooltip{
    display: block;
}




@media screen and (min-width: 768px) {

    .chat-header-right-mobile,
    .chat-header-left-mobile {
        display: none;
    }
}

@media screen and (max-width: 767px) {
    .chat-header-right button.join-button {
        display: none;
    }

    .domainz-chat-header {
        padding: 0;
        border-bottom: 5px solid green;
        align-items: inherit;
    }

    .chat-header-left {
        /* padding-bottom: 7px; */
        padding: 7px;
        max-width: 282px;
    }

    .chat-header-right {
        display: none;
    }

    .domainz-chat-user-name {
        font-size: 16px;
        font-weight: 600;
        width: 100%;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
        max-width: 300px;
    }

    .domainz-chat-items {
        font-size: 10px;
    }

    .chat-header-right-mobile {
        margin-left: auto;
    }

    .chat-header-left-mobile button,
    .chat-header-right-mobile button {
        background: none;
        border: none;
        font-size: 0;
        height: 100%;
        border-left: 1px solid #efefef;
        min-width: 36px;
        cursor: pointer;
    }

    .chat-header-left-mobile button i,
    .chat-header-right-mobile button i {
        font-size: 14px;
    }

    .chat-header-right-mobile button.join-button {
        border: none;
        position: fixed;
        top: 69px;
        right: 0px;
        z-index: 9;
        height: 55px;
    }

    .chat-header-right-mobile button.join-button i {
        background-color: green;
        color: #fff;
        border: none;
        border-radius: 100%;
        width: 50px;
        height: 50px;
        white-space: nowrap;
        line-height: 50px;
        font-size: 16px;
        margin-bottom: 6px;
    }

    .chat-header-left-mobile button {
        border-right: 1px solid #efefef;
        border-left: none;
    }

    .chat-header-right-mobile button.opened i:before {
        content: "\f00d";
    }

    .chat-header-right-mobile button.opened::before {
        content: "";
        background: rgba(0, 0, 0, 0);
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        position: fixed;
        z-index: 1;
    }

    .chat-header-right {
        position: absolute;
        top: 59px;
        background: #fff;
        padding: 10px;
        text-align: left;
        box-shadow: 0 1px 21px -9px rgba(0, 0, 0, .3);
        z-index: 9;
        width: 100%;
    }

    /* end header */
    .chat-messages {
        padding-left: 0;
        padding-right: 0;
    }

    tr.Incoming td,
    tr.Outgoing td,
    .Notes>td {
        max-width: 90%;
        font-size: 13px;
    }

    tr.Incoming td>p,
    tr.Outgoing td>p,
    .Notes td>p {
        font-size: 9px !important;
    }
}



/* 
@-webkit-keyframes ring {
    0% { -webkit-transform: rotateZ(0); }
    1% { -webkit-transform: rotateZ(30deg); }
    3% { -webkit-transform: rotateZ(-28deg); }
    5% { -webkit-transform: rotateZ(34deg); }
    7% { -webkit-transform: rotateZ(-32deg); }
    9% { -webkit-transform: rotateZ(30deg); }
    11% { -webkit-transform: rotateZ(-28deg); }
    13% { -webkit-transform: rotateZ(26deg); }
    15% { -webkit-transform: rotateZ(-24deg); }
    17% { -webkit-transform: rotateZ(22deg); }
    19% { -webkit-transform: rotateZ(-20deg); }
    21% { -webkit-transform: rotateZ(18deg); }
    23% { -webkit-transform: rotateZ(-16deg); }
    25% { -webkit-transform: rotateZ(14deg); }
    27% { -webkit-transform: rotateZ(-12deg); }
    29% { -webkit-transform: rotateZ(10deg); }
    31% { -webkit-transform: rotateZ(-8deg); }
    33% { -webkit-transform: rotateZ(6deg); }
    35% { -webkit-transform: rotateZ(-4deg); }
    37% { -webkit-transform: rotateZ(2deg); }
    39% { -webkit-transform: rotateZ(-1deg); }
    41% { -webkit-transform: rotateZ(1deg); }
  
    43% { -webkit-transform: rotateZ(0); }
    100% { -webkit-transform: rotateZ(0); }
  }
  
  @-moz-keyframes ring {
    0% { -moz-transform: rotate(0); }
    1% { -moz-transform: rotate(30deg); }
    3% { -moz-transform: rotate(-28deg); }
    5% { -moz-transform: rotate(34deg); }
    7% { -moz-transform: rotate(-32deg); }
    9% { -moz-transform: rotate(30deg); }
    11% { -moz-transform: rotate(-28deg); }
    13% { -moz-transform: rotate(26deg); }
    15% { -moz-transform: rotate(-24deg); }
    17% { -moz-transform: rotate(22deg); }
    19% { -moz-transform: rotate(-20deg); }
    21% { -moz-transform: rotate(18deg); }
    23% { -moz-transform: rotate(-16deg); }
    25% { -moz-transform: rotate(14deg); }
    27% { -moz-transform: rotate(-12deg); }
    29% { -moz-transform: rotate(10deg); }
    31% { -moz-transform: rotate(-8deg); }
    33% { -moz-transform: rotate(6deg); }
    35% { -moz-transform: rotate(-4deg); }
    37% { -moz-transform: rotate(2deg); }
    39% { -moz-transform: rotate(-1deg); }
    41% { -moz-transform: rotate(1deg); }
  
    43% { -moz-transform: rotate(0); }
    100% { -moz-transform: rotate(0); }
  }
  
  @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); }
  } */

  @media screen and (max-width: 767px) {
    .chat-footer {
        padding: 35px 10px 10px 10px;
    }
    .tab-buttons {
        position: absolute;
        gap: 8px;
        padding: 0 0 0 0;
        top: 2px;
        left: 10px;
    }
    .tab-buttons button {
        line-height: 0;
        width: 30px;
        font-size: 17px;
        height: 30px;
        opacity: 0.65;
    }
    
    .fake-textarea {
        padding: 5px 6px;
        min-height: 62px;
    }
    .fake-textarea textarea {
        padding: 5px !important;
        font-size: 14px;
    }
    #language-select {
        position: absolute;
        top: 7px;
    }
    .sent-button {
        margin-left: 4px;
    }
    .sent-button {
        flex: 0 0 32px;
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
  }