.movingwithsam_page-layout {
    font-family: "Helvetica", sans-serif;
}

#content {
    overflow: hidden !important;
}

.conversations-management-section {
    width: 300px;
    overflow-y: auto;
    height: calc(100vh - 147px);
    background-color: #FFFFFF;
}

.conversations-management-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 28px;
    min-height: 80px;
    background-color: white;
    border-bottom: 1px solid #DCE2E5;
    z-index: 10;
}

.conversations-management-section-header .label{
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
    margin: 0;
}
.team-chat-heading {
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
    margin: 0;
    padding: 0 28px;
}
.conversations-management-section-header .add-button {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
}

.conversations-management-section-header .add-button button {
    width: 24px;
    height: 24px;
    background-color: #0A5D9A;
    border-radius: 4px;
    display: grid;
    place-items: center;
}

.conversations-management-section-header .add-button button i {
    font-size: 12px;
    color: #FFFFFF;
}

.conversations-management-main {
    padding: 12px;
}

.conversations-management-main ul.conversations-type {
    margin: 0;
    padding: 0;
    list-style: none;
}

.conversations-management-main ul.conversations-type li.conversation-type-item{
    width: 100%;
    min-height: 40px;
    padding: 8px 16px;
    margin: 0;
    border-radius: 8px;
    margin-bottom: 10px;
    cursor: pointer;
}

.conversations-management-main ul.conversations-type li.conversation-type-item:last-child {
    margin-bottom: 0;
}

.conversations-management-main ul.conversations-type li.conversation-type-item.active{
    background-color: #e8e8e9;
    color: #212529;
    font-weight: 600;
}

.conversations-management-main ul.conversations-type li.conversation-type-item .conversation-type-content span {
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    color: #1A2126;
}

.conversations-management-main ul.conversations-type li.conversation-type-item.active .conversation-type-content span {
    font-weight: 600;
}

.conversations-management-main ul.conversations-type li.conversation-type-item .conversation-count {
    font-weight: 500;
    font-size: 14px;
    line-height: 16px;
    color: #1A2126;
}

.conversations-list-section {
    width: 355px;
    height: calc(100vh - 147px);
    border-left: 1px solid #DCE2E5;
    border-right: 1px solid #DCE2E5;
    box-shadow: 0 0.125rem rgba(0, 0, 0, 0.075);
}

.conversations-list-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    min-height: 80px;
    background-color: white;
    border-bottom: 1px solid #DCE2E5;
    z-index: 10;
}

.conversations-list-section-header .label{
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
    margin: 0;
}

.conversations-list-section-header .search-btn {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
}

.conversations-list-section-header .search-btn button {
    width: 24px;
    height: 24px;
    background-color: #0A5D9A;
    border-radius: 4px;
    display: grid;
    place-items: center;
}

.conversations-list-section-header .search-btn button i {
    font-size: 12px;
    color: #FFFFFF;
}

.conversations-list-section ul.conversations-list-main {
    width: 100%;
    height: calc(100% - 80px);
    margin: 0;
    padding: 0;
    overflow-y: scroll;
    background-color: #FFFFFF;
    padding: 0 5px;
}

.conversations-list-section ul.conversations-list-main li.day-seprator {
    font-weight: 600;
    font-size: 14px;
    line-height: 16px;
    color: #626C73;
    padding: 14px 15px;
    cursor: default;
}

.conversations-list-section ul.conversations-list-main li.conversations-list-item {
    padding: 14px 15px;
    background-color: #FFFFFF;
    cursor: pointer;
    border-radius: 10px;
    margin-bottom: 10px;
}

.conversations-list-section ul.conversations-list-main li.conversations-list-item:last-child {
    margin-bottom: 0;
}

.conversations-list-section ul.conversations-list-main li.conversations-list-item:hover {
    background-color: #EBEEF0;
}

.conversations-list-section ul.conversations-list-main li.conversations-list-item.active {
    background-color: #EBEEF0;
}

.conversations-list-section ul.conversations-list-main li.conversations-list-item .conversation-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.conversations-list-section ul.conversations-list-main li.conversations-list-item .conversation-header .conversation-title {
    display: flex;
    align-items: center;
    gap: 5px;
}

.conversations-list-section ul.conversations-list-main li.conversations-list-item .conversation-header .conversation-title .conversation-icon i{
    font-size: 12px;
    color: #1A2126;
}

.conversations-list-section ul.conversations-list-main li.conversations-list-item .conversation-header .conversation-title .conversation-phone,
.conversations-list-section ul.conversations-list-main li.conversations-list-item .conversation-header .conversation-timestamp {
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
    color: #000000A6;
}

.conversations-list-section ul.conversations-list-main li.conversations-list-item .conversation-content {
    display: flex;
    align-items: center;
    gap: 5px;
}

.conversations-list-section ul.conversations-list-main li.conversations-list-item .conversation-content .conversation-message {
    width: calc(100% - 15px);
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
    color: #000000A6;
    background-color: transparent;
    margin: 0;
    border-radius: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.conversations-list-section ul.conversations-list-main li.conversations-list-item .conversation-content .conversation-counter {
    width: 24px;
    height: 24px;
    font-size: 10px;
    line-height: 1;
    display: grid;
    place-items: center;
    border: 1px solid #DCE2E5;
    border-radius: 50%;

}

.selected-conversation-section-content {
    width: calc(100% - 655px);
    height: calc(100vh - 147px);
    background-color: #FFFFFF;
    position: relative;
}

.selected-conversation-section-content .selected-conversation-header {
    width: 100%;
    min-height: 80px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 28px;
    border-bottom: 1px solid #DCE2E5;
}

.selected-conversation-section-content .selected-conversation-header .selected-conversation-avatar {
    width: 32px;
    height: 32px;
    font-size: 14px;
    line-height: 16px;
    display: grid;
    place-items: center;
    border-radius: 50%;
}

.selected-conversation-section-content .selected-conversation-header .selected-conversation-details {
    width: calc(100% - 42px);
    display: flex;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
}

.selected-conversation-section-content .selected-conversation-header .selected-conversation-details .selected-conversation-detail {
    width: calc(100% - 42px);
}

.selected-conversation-section-content .selected-conversation-header .selected-conversation-details .selected-conversation-detail .contact-number {
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
}

.selected-conversation-section-content .selected-conversation-header .selected-conversation-details .selected-conversation-detail ul.conversation-timelapse-detail {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.selected-conversation-section-content .selected-conversation-header .selected-conversation-details .selected-conversation-detail ul.conversation-timelapse-detail li.timelapse-item {
    padding: 0 5px;
    border-right: 2px solid #DCE2E5;
}

.selected-conversation-section-content .selected-conversation-header .selected-conversation-details .selected-conversation-detail ul.conversation-timelapse-detail li.timelapse-item:last-child {
    border-right: 2px solid transparent;
}

.selected-conversation-section-content .selected-conversation-header .selected-conversation-details .selected-conversation-detail ul.conversation-timelapse-detail li.timelapse-item span {
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
    color: #000000A6;
}

.selected-conversation-section-content .selected-conversation-header .selected-conversation-details .selected-conversation-options {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
}

.selected-conversation-section-content .selected-conversation-header .selected-conversation-details .selected-conversation-options .dropdown button:focus {
    box-shadow: none;
}

#conversation-option-dropdown.dropdown.show > .dropdown-toggle {
    background-color: transparent !important;
    border-color: transparent;
}

#conversation-option-dropdown .dropdown-toggle {
    padding: 0 !important;
}

#conversation-option-dropdown .dropdown-toggle:focus-visible {
    outline: 0;
}

.selected-conversation-main {
    width: 100%;
    height: calc(100% - 230px);
    padding: 16px;
}

.selected-conversation-main.empty-message-state {
    height: 100%;
}

.selected-conversation-main ul.conversation-chat-list {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    margin: 0;
    padding: 0 0 10px 0;
}

.selected-conversation-main ul.conversation-chat-list li.chat-message {
    display: flex;
    gap: 10px;
    align-items: end;
    margin-bottom: 20px;
}

.selected-conversation-main ul.conversation-chat-list li.chat-message.receive {
    display: block;
}

.selected-conversation-main ul.conversation-chat-list li.chat-message.sent {
    flex-direction: row-reverse;
}

.selected-conversation-main ul.conversation-chat-list li.chat-message .message-avatar {
    width: 22px;
    height: 22px;
    border-radius: 20px;
    display: grid;
    place-items: center;
    font-size: 12px;
    line-height: 14px;
}

.selected-conversation-main ul.conversation-chat-list li.chat-message .message-wrapper {
    max-width: 450px;
    width: max-content;
}

.selected-conversation-main ul.conversation-chat-list li.chat-message .message-wrapper .message-text {
    font-weight: 500;
    font-size: 14px;
    line-height: 1.5;
    color: #1A2126;
    padding: 16px;
    white-space: break-spaces;
}

.selected-conversation-main ul.conversation-chat-list li.chat-message.sent .message-wrapper .message-text {
    border-radius: 14px 14px 0 14px;
    background-color: #C7E5FF;
}

.selected-conversation-main ul.conversation-chat-list li.chat-message.receive .message-wrapper .message-text {
    border-radius: 14px 14px 14px 0;
    background-color: #EBEEF0;
}
.selected-conversation-main ul.conversation-chat-list li.chat-message.sent .message-wrapper .message-files {
    border-radius: 14px 14px 0 14px;
    background-color: #C7E5FF;
    padding: 12px;
}

.selected-conversation-main ul.conversation-chat-list li.chat-message.receive .message-wrapper .message-files {
    border-radius: 14px 14px 14px 0;
    background-color: #EBEEF0;
    padding: 12px;
}

.selected-conversation-main ul.conversation-chat-list li.chat-message .message-wrapper .message-timelapse {
    font-size: 12px;
    line-height: 14px;
    margin: 5px 0 0 0;
}

.selected-conversation-main ul.conversation-chat-list li.chat-message.sent .message-wrapper .message-timelapse {
    text-align: right;
    padding-right: 10px;
}

.composer-message {
    width: calc(100% - 115px);
    min-height: 100px;
    max-height: 250px;
    border-radius: 8px;
    border: 1px solid #0A5D9A;
    position: absolute;
    bottom: 0;
}

.composer-message.with-suggestions{
    min-height: 150px;
}

.chat-input-wrapper {
    width: 100%;
    height: 100px;
    border-radius: 8px;
}

.chat-input-wrapper textarea{
    width: 100%;
    height: 100px;
    max-height: 200px;
    overflow-y: auto;
    resize: none;
    padding: 10px 160px 48px 10px;
}

.chat-input-wrapper textarea:focus {
    box-shadow: none;
}

.chat-input-wrapper textarea:focus-visible {
    outline: none;
}

.chat-actions-row-inside {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 2;
    background: transparent;
    margin-right: 10px;
}

.send-icon {
    padding: 0;
    font-size: 20px;
    color: #495057;
    background: transparent;
    border: 0;
    margin-bottom: 0;
}

.send-icon:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.rephrase-btn{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 16px;
    color: #495057;
    border: 0;
    margin-bottom: 0;
}

.rephrase-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.rephrase-btn:hover:not(:disabled) {
    color: #095C99;
}

.btn-glow {
  background: linear-gradient(to right, #ff5f6d, #ffc371);
  color: white;
  box-shadow: 0 4px 15px rgba(255, 105, 135, 0.4);
  transition: box-shadow 0.3s ease;
}

.btn-glow:hover {
  box-shadow: 0 6px 25px rgba(255, 105, 135, 0.6);
}

.text-gradient {
  background: linear-gradient(to right, #fff, #ffe082);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.char-counter {
    font-size: 12px;
    color: #6c757d;
    margin-right: 8px;
}

.reply-suggestions-container {
    position: relative;
    width: 100%;
    z-index: 1000;
}

.reply-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    border-radius: 8px;
    padding: 8px;
    max-height: 150px;
    overflow-y: auto;
}

.reply-suggestion {
    background: #f0f2f5;
    border: none;
    border-radius: 15px;
    padding: 5px 10px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.reply-suggestion:hover {
    background: #e0e2e5;
}

@media (min-width: 1024px) {
    .movingwithsam_page-layout {
        padding-top: 99px;
    }
}