.disable-interactions {
    pointer-events: none;
}

.disabled-element {
    cursor: not-allowed;
    pointer-events: none;
}

.background-container {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.chat {
    height: 100%;
}

.chat-container {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.user-bar {
    height: 55px;
    background: #673AB7;
    color: #fff;
    padding: 0 8px;
    font-size: 24px;
    position: relative;
    z-index: 1002;
}

.user-bar-shadow {
    height: 3px;
    width: 100%;
    position: fixed;
    top: 55px;
    left: 0;
    right: 0;
    z-index: 1002;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), transparent);
}

.user-bar:after {
    content: "";
    display: table;
    clear: both;
    box-sizing: inherit;
}

.user-bar div {
    float: left;
    transform: translateY(-50%);
    position: relative;
    top: 50%;
}

.user-bar .avatar {
    margin: 0 0 0 5px;
    width: 42px;
    height: 42px;
    z-index: 1;
    pointer-events: none
}

.user-bar .avatar img {
    border-radius: 50%;
    display: block;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.user-bar .name {
    font-size: 16px;
    font-weight: 600;
    text-overflow: ellipsis;
    letter-spacing: 0.3px;
    margin-left: 9px;
    overflow: hidden;
    white-space: nowrap;
    width: 180px;
    z-index: 1;
}

.user-bar .status {
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    opacity: 0;
    transform: translateY(20px);
    max-height: 0;
    display: block;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0;
    z-index: 1;
}

.user-bar .status.show {
    opacity: 1;
    transform: translateY(0);
    max-height: 20px;
}

.user-bar .typing-dots {
    display: none;
    transform: translateY(8px);
    z-index: 1;
}

.user-bar .delete-chat {
    position: absolute;
    top: 15%;
    right: 4px;
    overflow: hidden;
    color: #ffffff;
    float: right;
    font-size: 24px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.user-bar .delete-chat::before,
.user-bar .delete-chat::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    pointer-events: none;
}

.user-bar .delete-chat:active::before {
    animation: ripple-click 0.6s ease-out forwards;
}

.user-bar .delete-chat:active::after {
    animation: ripple-hold 1.2s ease-out 0.3s forwards;
}

.user-bar .delete-chat i {
    z-index: 2;
}

/* .user-bar .remaining-coins {
	color: #333;
	position: absolute;
	float: right;
	left: 92%;
	top: 50%;
	transform: translate(-50%, -50%);
	font-size: 14px;
	z-index: 1;
} */

.user-bar .coin-icon {
    position: absolute;
    top: 50%;
    margin-left: -12.5px;
    width: 25px;
    height: 25px;
    background-color: gold;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.conversation {
    flex: 1;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
}

.chat-date {
    position: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 15px;
    color: #ffffff;
    border: 0 solid #ccc;
    border-radius: 60px;
    background: #00000066;
    outline: none;
    padding: 3px 4px 3px 4px;
    top: 65px;
    left: 50%;
    transform: translateX(-50%);
    height: auto;
    width: auto;
    min-width: 60px;
    direction: rtl;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: 1000;
}

.chat-date.visible {
    opacity: 1;
}

::-webkit-scrollbar {
    background-color: transparent !important;
    background-clip: content-box !important;
    width: 5px !important;
}

::-webkit-scrollbar:hover {
    background-color: transparent !important;
}

::-webkit-scrollbar-thumb {
    background-color: rgba(103, 58, 183, 0.5) !important;
    background-clip: content-box !important;
}

::-webkit-scrollbar-thumb:hover {
    background-color: rgba(103, 58, 183, 0.5) !important;
}

.conversation .conversation-container {
    height: calc(100% - 68px);
    padding: 0 12px 0 14px;
    overflow-y: scroll;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    will-change: scroll-position, height;
    transition: height 0.1s ease-out;
}

.conversation .conversation-container:after {
    content: "";
    display: table;
    clear: both;
    box-sizing: inherit;
}

#background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#sticker-container {
    position: fixed;
    top: 50%;
    left: 50%;
    margin-top: -15vh;
    margin-left: -22.5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 45%;
    height: 30%;
    background-color: rgba(255, 255, 255, 0.114);
    border-radius: 20px;
    backdrop-filter: blur(3px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

#sticker-text {
    direction: rtl;
    color: #fff;
    margin-top: 20px;
    margin-bottom: 10px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

.bottom-popup {
    position: absolute;
    display: none;
    bottom: 0;
    left: 0;
    right: 0;
    color: white;
    background: #673AB7;
    padding: 1px 10px;
    direction: rtl;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    z-index: 1000;
    box-shadow: 0 -2px 3px rgba(0, 0, 0, 0.3);
}

.popup-buttons button {
    font-family: "IranSans";
    padding: 8px 24px;
    border-radius: 3px;
    border: none;
    background: #f0f0f0;
    font-weight: bold;
    white-space: nowrap;
}

.popup-text {
    flex-grow: 1;
}

.popup-buttons {
    display: flex;
    gap: 5px;
}

.popup-buttons .yes-btn {
    background: #ff4d4d;
    color: white;
}

.message {
    color: #000;
    clear: both;
    line-height: 18px;
    font-size: 15px;
    padding: 6px 6px 0 6px;
    position: relative;
    margin: 2px 0;
    max-width: 75%;
    z-index: 2;
    will-change: transform, opacity;
    display: flex;
    flex-direction: column;
}

.message-text {
    word-break: break-word;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
    hyphens: auto;
    display: block;
}

.message:first-child {
    margin: 25px 0 3px;
}

.message:after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    box-sizing: inherit;
    z-index: 2;
}

.message::before {
    content: "";
    position: absolute;
    top: -10px;
    bottom: -10px;
    width: 100%;
    z-index: 1;
}

.message.received::before {
    right: -300px;
    width: calc(100% + 500px);
}

.message.received {
    background: #fff;
    border-radius: 0px 6px 6px 6px;
    float: left;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
    margin: var(--margin-first-message, 0 0 3px);
}

.message.received:after {
    border-width: 0px 10px 10px 0;
    border-color: var(--after-border-color, transparent #fff transparent transparent);
    top: 0;
    left: -8px;
    box-sizing: inherit;
}

.message.sent .metadata {
    padding: 0 0 0 2px;
}

.message.sent::before {
    left: -300px;
    width: calc(100% + 500px);
}

.message.sent {
    background: #e1ffc7;
    border-radius: 6px 0px 6px 6px;
    float: right;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
    margin: var(--margin-first-message, 0 0 3px);
}

.message.sent:after {
    border-width: 0px 0 10px 10px;
    border-color: var(--after-border-color, transparent transparent transparent #e1ffc7);
    top: 0;
    right: -8px;
    box-sizing: inherit;
}

.message.active-message {
    z-index: 1001;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: pulse-light 0.3s ease-in-out;
    transition: all 0.2s ease-out;
}

.metadata {
    display: flex;
    align-items: center;
    width: 100%;
    direction: ltr;
    justify-content: flex-end;
}

.metadata .time {
    color: rgba(0, 0, 0, .45);
    font-size: 11px;
    padding-top: 2px
}

.metadata .tick {
    margin-left: 2px;
    height: 16px;
    width: 16px;
    position: relative;
}

.metadata .tick svg {
    position: absolute;
    transition: 0.2s ease-in-out;
}

.metadata .tick svg:first-child {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: perspective(800px) rotateY(180deg);
    transform: perspective(800px) rotateY(180deg);
}

.metadata .tick svg:last-child {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: perspective(800px) rotateY(0deg);
    transform: perspective(800px) rotateY(0deg);
}

.metadata .tick-animation svg:first-child {
    -webkit-transform: perspective(800px) rotateY(0);
    transform: perspective(800px) rotateY(0);
}

.metadata .tick-animation svg:last-child {
    -webkit-transform: perspective(800px) rotateY(-179.9deg);
    transform: perspective(800px) rotateY(-179.9deg);
}

#reply-panel-container {
    position: sticky;
    display: flex;
    bottom: 46px;
    height: 50px;
    left: 0;
    right: 0;
    z-index: 5;
    box-sizing: border-box;
    background-color: transparent;
    display: none;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.1s ease-out, opacity 0.1s ease-out;
    will-change: transform, opacity;
    box-shadow: 0 -2px 3px rgba(0, 0, 0, 0.3);
}

#reply-panel-container.show-reply {
    transform: translateY(0);
    opacity: 1;
}

#reply-panel-container.hide-reply {
    transform: translateY(100%);
    opacity: 0;
}

#reply-panel {
    background-color: #ffffff;
    padding: 6px 8px 8px 12px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    direction: rtl;
    width: 100%;
    margin: 0 auto;
}

#reply-content {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

#reply-content-wrapper {
    display: flex;
    align-items: center;
}

#reply-color-bar {
    width: 3px;
    background-color: #673AB7;
    align-self: stretch;
    margin-left: 10px;
    border-radius: 2px;
    height: 35px;
}

#reply-sender {
    color: #673AB7;
    font-weight: bold;
    font-size: 12px;
}

#reply-text {
    color: #555;
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#cancel-reply {
    width: 40px;
    height: 40px;
    border-radius: 100%;
    left: -8px;
    color: #673AB7;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    position: relative;
    overflow: hidden;
}

#cancel-reply svg {
    width: 20px;
    height: 20px;
}

#cancel-reply::before,
#cancel-reply::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background-color: rgba(103, 58, 183, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    pointer-events: none;
}

#cancel-reply:active::before {
    animation: ripple-click 0.6s ease-out forwards;
}

#cancel-reply:active::after {
    animation: ripple-hold 1.2s ease-out 0.3s forwards;
}

#cancel-reply i {
    z-index: 2;
}

.reply-indicator {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: rgba(104, 58, 183, 0.2);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease-out;
    z-index: 1000;
    pointer-events: none;
    overflow: hidden;
}

.reply-indicator-fill {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(104, 58, 183, 0.8);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.1s ease-out;
    z-index: -1;
}

.reply-indicator.active {
    opacity: 1;
    animation: pulsereply 0.3s ease-in-out;
}

.reply-indicator i {
    font-size: 18px;
    z-index: 2;
}


.reply-message-content {
    display: flex;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    margin-bottom: 4px;
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.message.sent .reply-message-content {
    background-color: rgba(0, 0, 0, 0.05);
    width: 100%;
}

.message.received .reply-message-content {
    background-color: rgba(0, 0, 0, 0.05);
    width: 100%;
}

.reply-message-bar {
    width: 3px;
    background-color: #673AB7;
    border-radius: 2px;
    align-self: stretch;
    flex-shrink: 0;
}

.reply-message-info {
    flex: 1;
    overflow: hidden;
    padding-right: 5px;
    width: calc(100% - 8px);
}

.reply-message-sender {
    font-size: 12px;
    font-weight: bold;
    color: #673AB7;
    margin-top: 2px;
    margin-left: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.reply-message-text {
    font-size: 11px;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-left: 4px;
    width: 100%;
}

#floating-options-panel {
    position: fixed;
    background-color: #373737;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    display: none;
    opacity: 0;
    transform: scale(0.8);
    transition: transform 0.2s ease-out, opacity 0.2s ease-out;
}

#floating-options-panel.active {
    transform: scale(1);
    opacity: 1;
    display: block;
}

#floating-options-panel:after {
    content: "";
    position: absolute;
    width: 15px;
    height: 15px;
    background-color: #373737;
    transform: rotate(45deg);
    z-index: -1;
}

.floating-options-content {
    padding: 8px;
    display: flex;
    flex-direction: column;
    direction: rtl;
}

.floating-options-content button {
    border: none;
    background: none;
    font-family: "IranSans";
    font-size: 15px;
    color: #fff;
    padding: 8px 12px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.2s;
    white-space: nowrap;
    min-width: 100px;
    justify-content: flex-start;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

.floating-options-content button i {
    margin-left: 10px;
    font-size: 18px;
}

.floating-options-content button:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

#fade-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease-out;
}

#fade-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.conversation-compose {
    position: sticky;
    display: flex;
    background-color: transparent;
    bottom: 0;
    width: 100%;
    z-index: 6;
    box-shadow: 0 -2px 3px rgba(0, 0, 0, 0.3);
    align-items: center;
    background: #fff;
    transition: height 0.1s ease-out !important;
    will-change: height;
}

.conversation-compose .input-msg {
    border: 0;
    flex: auto;
    font-family: "IranSans";
    font-size: 14px;
    outline: none;
    height: 30px;
    max-height: 120px;
    width: 100%;
    padding: 0 8px;
    align-items: center;
    justify-content: center;
    line-height: 30px;
    padding-right: 50px;
    z-index: 7;
    resize: none;
    scrollbar-width: none;
    margin: 10px 0;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-y: auto;
    display: block;
    box-sizing: border-box;
    transition: height 0.1s ease-out !important;
    will-change: height;
}

.conversation-compose .input-msg::-webkit-scrollbar {
    display: none;
}

.conversation-compose .input-msg[contenteditable=true]:empty:before {
    content: attr(data-placeholder);
    font-family: "IranSans";
    font-size: 14px;
    color: #888;
    direction: rtl;
    line-height: 30px;
    pointer-events: none;
}

.conversation-compose .send {
    background: transparent;
    cursor: pointer;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    position: absolute;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    z-index: 8;
}

.conversation-compose .send .circle {
    border-radius: 100%;
    color: #673AB7;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9;
    transition: background-color 0.2s ease;
    position: relative;
    overflow: hidden;
}

.conversation-compose .send .circle::before,
.conversation-compose .send .circle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background-color: rgba(103, 58, 183, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    pointer-events: none;
}

.conversation-compose .send .circle:active::before {
    animation: ripple-click 0.6s ease-out forwards;
}

.conversation-compose .send .circle:active::after {
    animation: ripple-hold 1.2s ease-out 0.3s forwards;
}

.conversation-compose .send .circle i {
    font-size: 25px;
    margin-left: 4px;
    z-index: 2;
}

@font-face {
    font-family: 'FontAwesome';
    src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/fonts/fontawesome-webfont.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

.fa {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

.delete-from-left {
    animation: messageSmoothSlideLeftDelete 0.2s ease-out forwards;
}

.delete-from-right {
    animation: messageSmoothSlideRightDelete 0.2s ease-out forwards;
}

.dot {
    width: 5px;
    height: 5px;
    background-color: #fff;
    border-radius: 50%;
    margin: 0 1px;
    animation: bounce 1s infinite ease-in-out both;
}

.dot:nth-child(1) {
    animation-delay: 0s;
}

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

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

.slide-up {
    animation: slideUp 0.2s ease-out forwards;
}

.slide-down {
    animation: slideDown 0.2s ease-out forwards;
}

.telegram-selection-mark {
    position: absolute;
    top: 50%;
    width: 24px;
    height: 24px;
    background-color: #673AB7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transform: translateY(-50%) scale(0);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275),
        opacity 0.3s ease-out;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    z-index: 15;
    will-change: transform, opacity;
}

.telegram-selection-mark::before {
    content: "✓";
    font-size: 14px;
    line-height: 1;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.2s ease-out 0.1s;
}

.telegram-selection-mark.front-tick-right {
    left: -30px;
}

.telegram-selection-mark.front-tick-left {
    right: -30px;
}

.selected-message .telegram-selection-mark {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

.selected-message .telegram-selection-mark::before {
    opacity: 1;
    transform: scale(1);
}

.selected-message {
    position: relative;
    z-index: 10;
    transition: transform 0.2s ease-out, box-shadow 0.3s ease-out;
    box-shadow: 0 2px 8px rgba(103, 58, 183, 0.2);
}

#selection-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 5;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease-out;
}

#selection-overlay.active {
    opacity: 1;
}

@keyframes pulse-select {
    0% {
        transform: scale(1);
        box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
    }

    50% {
        transform: scale(1.03);
        box-shadow: 0 3px 10px rgba(103, 58, 183, 0.3);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(103, 58, 183, 0.2);
    }
}

@keyframes pulse-unselect {
    0% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(103, 58, 183, 0.2);
    }

    50% {
        transform: scale(0.98);
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
    }
}

@keyframes counter-update {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes pulse-light {
    0% {
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }

    50% {
        box-shadow: 0 2px 15px rgba(103, 58, 183, 0.3);
    }

    100% {
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }
}

@keyframes ripple-click {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0.6;
    }

    80% {
        opacity: 0.3;
    }

    100% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
    }
}

@keyframes ripple-hold {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0.8;
    }

    70% {
        opacity: 0.4;
    }

    100% {
        transform: translate(-50%, -50%) scale(3);
        opacity: 0;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }

    to {
        transform: translateY(100%);
        opacity: 0;
    }
}

@keyframes bounce {

    0%,
    80%,
    100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1);
    }
}

@keyframes messageSmoothSlideRightDelete {
    0% {
        opacity: 1;
        transform: translateX(0);
    }

    100% {
        opacity: 0;
        transform: translateX(100px);
    }
}

@keyframes messageSmoothSlideLeftDelete {
    0% {
        opacity: 1;
        transform: translateX(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-100px);
    }
}

@keyframes messageSmoothSlideRight {
    0% {
        opacity: 0;
        transform: translateX(100px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes messageSmoothSlideLeft {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes dissolve {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.5;
    }

    100% {
        transform: scale(0);
        opacity: 0;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes shake {
    0% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    50% {
        transform: translateX(5px);
    }

    75% {
        transform: translateX(-5px);
    }

    100% {
        transform: translateX(0);
    }
}

@keyframes pulsereply {
    0% {
        transform: translateY(-50%) scale(1);
        box-shadow: 0 0 0 0 rgba(104, 58, 183, 0.677);
    }

    50% {
        transform: translateY(-50%) scale(1.1);
        box-shadow: 0 0 0 10px rgba(103, 58, 183, 0);
    }

    100% {
        transform: translateY(-50%) scale(1);
        box-shadow: 0 0 0 0 rgba(103, 58, 183, 0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(103, 58, 183, 0.7);
    }

    50% {
        transform: scale(1.1);
        box-shadow: 0 0 0 10px rgba(103, 58, 183, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(103, 58, 183, 0);
    }
}

@media (max-width: 768px) {
    .conversation {
        height: calc(100% - 56px);
        display: flex;
        flex-direction: column;
    }

    .conversation-container {
        flex: 1;
        overflow-y: auto;
    }
}