.choices {
    margin: 0 !important;
    width: 100% !important;
}

.choices__item {
    font-size: 0.8em !important;
    font-family: var(--phoenix-font-sans-serif) !important;
    font-weight: 600 !important;
}

.choices__list--dropdown .choices__item {
    font-size: 0.8em !important;
    font-weight: 400 !important;
}

.choices .choices__list--dropdown .choices__item--selectable {
    font-size: 0.8em !important;
}

.choices[data-type="select-multiple"] .choices__input--cloned {
    width: auto !important;
    font-size: 0.8em !important;
    font-family: var(--phoenix-font-sans-serif) !important;
    font-weight: 600 !important;
}

.choices.is-disabled .choices__inner,
.choices.is-disabled .choices__item,
.choices.is-disabled .choices__input--cloned {
    color: var(--phoenix-quaternary-color) !important;
    background-color: rgba(var(--phoenix-gray-100-rgb), 0.7) !important;
    opacity: 1 !important;
    cursor: auto !important;
}

.choices.is-disabled .choices__item {
    opacity: 0.8 !important;
}

/* profile image blot */
.profile-image-container {
    max-width: 17.5rem;
    padding: 0.5rem;
    background-color: #F5F7FA;
    border-radius: 6px;
    border: 1px solid var(--phoenix-gray-300);
    /*user-select: none;*/
}

.profile-image-container img {
    display: block;
    margin: 0 auto;
}

.profile-image-container .btn-wrapper {
    padding: 0.5rem 0.5rem 0 0.5rem;
}

.profile-image-container .btn {
    display: inline-block;
    color: var(--phoenix-primary);
    cursor: pointer;
    padding: 0;
}

.profile-image-container .name {
    padding: 0 !important;
    font-size: 16px;
    color: var(--phoenix-gray-900);
    margin: 0.5rem;
    font-family: 'LINESeedKR', 'NotoSansSC';
}

/* feed start */

.feed-content .feed-wrapper {
    width: 100%;
    max-width: 83.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 992px) {
    .feed-content .feed-wrapper {
        min-width: 57rem;
    }
}

@media (max-width: 1539px) {
    .feed-content .feed-wrapper .post-menu-xxl {
        display: none;
    }
}

.feed-content .swiper-container {
     max-width: 50rem;
}

.feed-content .swiper-container .card-highlight,
.feed-content .swiper-container .swiper-slide {
    min-width: 260px;
    min-height: 124px;
    max-width: 260px;
    max-height: 124px;
}

.feed-content .swiper-container .card-highlight:hover {
    cursor: pointer;
}

.feed-content .swiper-container .card-highlight .title {
    margin-bottom: 0;
    padding: 0;
    height: 3rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-size: 1rem;
    font-weight: 700;
}

.feed-content .swiper-container .swiper-nav .swiper-button-prev {
    left: 0.5rem;
}

.feed-content .swiper-container .swiper-nav .swiper-button-next {
    right: 0.5rem;
}

@media (max-width: 575px) {
    .feed-content .swiper-container .swiper-nav .swiper-button-prev,
    .feed-content .swiper-container .swiper-nav .swiper-button-next {
        display: none;
    }
}

.feed-wrapper .post-wrapper .post-menu {
    margin-bottom: 0.5rem;
    display: flex;
    gap: 0.5rem;
}

.feed-wrapper .post-wrapper .post-menu .dropdown .btn-dropdown-category {
    padding: 0.788rem 1rem;
    width: 100%;
    height: 2.375rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid #cbd0dd;
    border-radius: 8px;
    background-color: #fff;
    cursor: pointer;
}

.feed-wrapper .post-wrapper .post-menu .dropdown-menu .dropdown-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
}

.feed-wrapper .post-wrapper .post-menu .user-detail-link {
    padding: 0.25rem 1rem;
    height: 2.375rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    border: 1px solid #cbd0dd;
    border-radius: 8px;
    background-color: #fff;
    cursor: pointer;
}

@media (min-width: 1540px) {
    .feed-content .feed-wrapper {
        max-width: 83.75rem;
    }

    .feed-content .feed-wrapper .post-menu-xxl {
        width: 12rem;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .feed-content .feed-wrapper .post-wrapper .post-menu {
        display: none;
    }
}

.feed-content .feed-wrapper .post-menu-xxl .user-detail-link {
    padding: 0.25rem 1rem;
    width: 12rem;
    height: 2.375rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    border: 1px solid #cbd0dd;
    border-radius: 8px;
    background-color: #fff;
    cursor: pointer;
}

.feed-content .feed-wrapper .post-menu-xxl .category-wrapper {
    padding: 0.5rem;
    width: 12rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border: 1px solid #cbd0dd;
    border-radius: 8px;
    background-color: #fff;
}

.feed-content .post-menu-xxl .category-wrapper .category-item {
    padding: 0.5rem 1rem;
    color: var(--phoenix-gray-900);
}

.feed-content .post-menu-xxl .category-wrapper .category-item:hover {
    border-radius: 6px;
    background-color: var(--phoenix-gray-100);
    cursor: pointer;
}

.feed-content .post-menu-xxl .category-wrapper .category-item.selected {
    border-radius: 6px;
    color: var(--phoenix-primary);
    background-color: #e5edff;
}

.feed-content .feed-wrapper .post-wrapper {
    width: 100%;
    max-width: 50rem;
}

.feed-content .feed-wrapper .post-wrapper .add-btn {
    width: 3rem;
    height: 3rem;
    border-radius: 1.5rem;
    z-index: 10000;
}

.feed-content .post-item .post-header {
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: start;
}

.feed-content .post-item .write-info {
    display: flex;
    gap: 0.25rem;
    font-size: 0.64rem;
}

.feed-content .post-item .post-info {
    min-width: calc(100% - 2rem);
    max-width: calc(100% - 2rem);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.feed-content .post-item .title {
    margin-bottom: 0.25rem;
    font-size: 1rem;
    font-weight: 700;
}

.feed-content .post-item .user-info {
    width: 100%;
    display: flex;
    gap: 0.5rem;
    font-size: 0.8rem;
}

.feed-content .post-item .main-content-wrapper {
    padding-bottom: 0.5rem;
}

.feed-content .post-item .main-content-wrapper p {
    margin-bottom: 0;
    font-size: 0.875rem;
}

.feed-content .post-item .main-content-wrapper img {
    max-width: 100%; /* 부모 요소보다 커지지 않도록 제한 */
    height: auto; /* 비율 유지 */
    max-height: 40rem;
}

.feed-content .post-item .user-tag-list {
    overflow: hidden;
    display: flex;
    gap: 0.25rem;
}

.feed-content .post-item .user-tag-list .user-tag-wrapper,
.feed-content .post-item .user-tag-list .user-tag-cnt-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feed-content .post-item .user-tag-wrapper .user-tag {
    padding: 0.2rem 0.4rem 0 0.4rem;
    display: flex;
    border: 1px solid #3874ff;
    border-radius: 10px;
    white-space: nowrap;
    font-size: 0.64rem;
    font-weight: 700;
    color: var(--phoenix-primary);
}

.feed-content .post-item .user-tag-cnt-wrapper .user-tag-cnt {
    padding: 0.2rem 0.4rem 0 0.4rem;
    border-radius: 10px;
    border: 1px solid var(--phoenix-gray-700);
    white-space: nowrap;
}

.feed-content .post-item .post-setting-menu {
    min-width: 7rem !important;
}

.feed-wrapper .pop-post-wrapper {
    display: none;
}

.feed-content .post-item .nickname {
    padding-top: 0.1rem;
    max-width: 8rem;
}

@media (min-width: 390px) {
    .feed-content .post-item .nickname {
        max-width: 11rem;
    }
}

@media (min-width: 540px) {
    .feed-content .post-item .nickname {
        max-width: 25rem;
    }
}

.feed-content .post-item .upper-user + p {
    display: inline-block;
}

@media (min-width: 992px) {
    .feed-wrapper .pop-post-wrapper {
        position: sticky;
        top: 6rem;
        min-width: 18.75rem;
        max-width: 18.75rem;
        height: 100%;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
}

.feed-wrapper .pop-post-wrapper .pop-post-lst {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 0.5rem;
}

.feed-wrapper .pop-post-wrapper .pop-post-lst .pop-post-item {
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.feed-wrapper .pop-post-wrapper .pop-post-lst .pop-post-item:hover {
    border-radius: 0.375rem;
    background-color: #eff2f6;
}

.feed-content .ql-container,
.feed-content .ql-toolbar {
    background-color: white;
}

.feed-content .ql-editor img {
    max-height: 40rem;
}

.feed-content .ql-editor {
    min-height: 40vh;
    max-height: 40vh;
}

.feed-content .ql-toolbar.ql-snow .ql-formats {
    margin-right: 0 !important;
}

.feed-content .ql-toolbar .ql-divider {
    display: inline-block;
    width: 1px;
    height: 24px;
    background-color: #ccc;
    margin: 0 8px;
    vertical-align: middle;
}

.feed-content .ql-snow .ql-color-picker .ql-picker-label, .ql-snow .ql-icon-picker .ql-picker-label {
    padding: 0 5px !important;
}

.feed-content .profile-add-modal .profile-lst .item {
    border-radius: 4px;
}

.feed-content .profile-add-modal .profile-lst .item:active:not(.selected) {
    background-color: var(--phoenix-gray-200);
}

.feed-content .profile-add-modal .profile-lst .item.selected {
    background-color: var(--phoenix-primary);
    color: white;
}

.feed-content .detail-modal .logo-wrapper {
    height: 2rem;
}

.feed-content .detail-modal .acct-logo {
    min-width: 2rem;
    max-width: 2rem;
    height: 2rem;
    background-color: #E5EDFF;
    border-radius: 20px;
    border: 1px solid var(--phoenix-gray-100);
}

.feed-content .detail-modal .acct-logo .text-item {
    padding-top: 0.2rem;
}

.feed-content .detail-modal .acct-logo .img-item {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    object-fit: contain;
    background-color: white;
}

.feed-content .detail-modal .nickname {
    padding-top: 0.1rem;
}

.feed-content .post-fixed-wrapper {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 0.5rem;
}

.feed-content .post-fixed-wrapper .post-fixed-title {
    margin-bottom: 0;
    font-size: 1rem;
    font-weight: 700;
}

.feed-content .post-fixed-wrapper .post-fixed-content {
    margin-bottom: 0;
    font-size: 0.875rem;
    color: var(--phoenix-gray-1000);
}

/* feed end */

/* share feed start */

.share-content .post-wrapper {
    width: 100%;
    max-width: 73rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.share-content .post-wrapper .user-tag-wrapper {
    display: flex;
    gap: 0.25rem;
}

.share-content .post-wrapper .user-tag-wrapper .user-tag {
    padding: 0.2rem 0.5rem 0 0.5rem;
    border: 1px solid #3874ff;
    border-radius: 0.63rem;
    font-size: 0.64rem;
    font-weight: 700;
    color: var(--phoenix-primary);
    white-space: nowrap;
}

.share-content .post-item .user-tag-cnt-wrapper .user-tag-cnt {
    padding: 0.2rem 0.4rem 0 0.4rem;
    border-radius: 10px;
    border: 1px solid var(--phoenix-gray-700);
    white-space: nowrap;
}

.share-content .post-item {
    position: relative;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    background-color: white;
}

.share-content .post-content-wrapper .like,
.share-content .post-content-wrapper .reply {
    display: flex;
    align-items: center;
    gap: 0.38rem;
}

.share-content .post-content p,
.share-content .reply-content p,
.share-content .reply-sub-content p {
    margin-bottom: 0;
    font-size: 0.875rem;
}

.share-content .post-content img,
.share-content .reply-content img,
.share-content .reply-sub-content img,
.share-content .main-content-wrapper img{
    max-width: 100%;
    max-height: 40rem;
}

.share-content .post-setting-menu {
    min-width: 7rem;
}

.share-content .post-setting-menu .dropdown-item:hover, .dropdown-item:focus {
    color: var(--phoenix-dropdown-link-hover-color);
    text-decoration: none;
    background-color: var(--phoenix-dropdown-link-hover-bg);
}

.share-content .dropdown-item.active, .dropdown-item:active {
    color: var(--phoenix-dropdown-link-active-color);
    text-decoration: none;
    background-color: var(--phoenix-dropdown-link-active-bg);
}

.share-content .reply-sub-content .upper-user + p {
    display: inline-block;
}

.share-content .ql-editor.ql-blank::before {
    left: 0 !important;
    font-style: normal !important;
}

.share-content .ql-editor.ql-blank::before {
    font-style: normal !important;
}

.share-content .ql-container, .ql-toolbar {
    background-color: var(--phoenix-white);
}

.share-content .ql-editor {
    min-height: 40vh;
    max-height: 40vh;
}

/* share feed end */

/* scrap start */

.scrap-content p {
    margin: 0;
}

.scrap-content .scrap-wrapper {
    width: 100%;
    max-width: 63.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (max-width: 1539px) {
    .scrap-content .scrap-wrapper .post-menu-xxl {
        display: none;
    }
}

.scrap-wrapper .post-menu {
    margin-bottom: 0.5rem;
}

@media (min-width: 1540px) {
    .scrap-wrapper .post-menu-xxl {
        width: 12rem;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .scrap-wrapper .post-menu {
        display: none;
    }
}

.scrap-wrapper .post-menu-xxl .category-wrapper {
    padding: 0.5rem;
    width: 12rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border: 1px solid #cbd0dd;
    border-radius: 8px;
    background-color: #fff;
}

.scrap-wrapper .post-menu-xxl .category-wrapper .category-item {
    padding: 0.5rem 1rem;
    color: var(--phoenix-gray-900);
}

.scrap-wrapper .post-menu-xxl .category-wrapper .category-item:hover {
    border-radius: 6px;
    background-color: var(--phoenix-gray-100);
    cursor: pointer;
}

.scrap-wrapper .post-menu-xxl .category-wrapper .category-item.selected {
    border-radius: 6px;
    color: var(--phoenix-primary);
    background-color: #e5edff;
}

.scrap-wrapper .post-wrapper .post-menu .dropdown .btn-dropdown-category {
    padding: 0.788rem 1rem;
    width: 100%;
    height: 2.375rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid #cbd0dd;
    border-radius: 8px;
    background-color: #fff;
    cursor: pointer;
}

.scrap-wrapper .post-wrapper .post-menu .dropdown-menu .dropdown-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
}

.scrap-wrapper .post-wrapper .post-menu .user-detail-link {
    padding: 0.25rem 1rem;
    height: 2.375rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    border: 1px solid #cbd0dd;
    border-radius: 8px;
    background-color: #fff;
    cursor: pointer;
}

.scrap-wrapper .post-wrapper {
    width: 100%;
    max-width: 50rem;
}

.scrap-content .post-setting-menu {
    min-width: 7rem !important;
}

.scrap-content .post-content-wrapper p {
    font-size: 0.875rem;
    color: var(--phoenix-gray-1000);
}

.scrap-content .detail-content-wrapper p {
    margin-bottom: 0;
    font-size: 0.875rem;
}

.scrap-content .reply-content p,
.scrap-content .reply-sub-content p {
    margin-bottom: 0;
    font-size: 0.875rem;
}

.scrap-content .post-item .title {
    margin-bottom: 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--phoenix-gray-1000);
}

.scrap-content .post-item .nickname {
    margin-bottom: 0;
    margin-right: 0.5rem;
    max-width: 8rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--phoenix-gray-700);
}

@media (min-width: 390px) {
    .scrap-content .post-item .nickname {
        max-width: 11rem;
    }
}

@media (min-width: 540px) {
    .scrap-content .post-item .nickname {
        max-width: 20rem;
    }
}

.scrap-content .post-item .user-tag-wrapper {
    display: flex;
    gap: 0.25rem;
    flex-grow: 1;
}

.scrap-content .post-item .user-tag-wrapper .user-tag {
    font-size: 0.64rem;
    font-weight: 700;
    color: var(--phoenix-primary);
}

.scrap-content .post-item .user-tag-wrapper .user-tag-cnt {
    font-size: 0.64rem;
    font-weight: 700;
    color: var(--phoenix-gray-700);
}

.scrap-content .post-item .post-type {
    margin-bottom: 0;
    font-weight: 700;
    color: var(--phoenix-gray-700);
}

.scrap-content .post-item .user-info {
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
}

.scrap-content .post-item .post-header {
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: start;
}

.scrap-content .post-item .like {
    display: flex;
    align-items: center;
    gap: 0.38rem;
}

.scrap-content .post-item .like-cnt {
    margin: 0;
    padding-top: 0.25rem;
    color: var(--phoenix-gray-700);
}

.scrap-content .post-item .comment {
    display: flex;
    align-items: center;
    gap: 0.38rem;
}

.scrap-content .post-item .comment-icon {
    color: var(--phoenix-gray-700);
}

.scrap-content .post-item .main-content-wrapper {
    margin-bottom: 0.5rem;
}

.scrap-content .post-item .main-content-wrapper p {
    font-size: 0.875rem;
}

.scrap-content .post-item .write-info {
    display: flex;
    gap: 0.25rem;
    font-size: 0.64rem;
}

.scrap-content .post-item .post-setting-menu .dropdown-item {
    padding: 0.5rem 1rem;
    --phoenix-text-opacity: 1;
    color: rgba(var(--phoenix-gray-900-rgb), var(--phoenix-text-opacity));
}

.scrap-content .post-item .post-setting-menu .dropdown-item:active {
    color: #fff;
}

.scrap-content .post-item .post-content img,
.scrap-content .post-item .post-content-wrapper img {
    max-width: 100%;
    height: auto;
    max-height: 40rem;
}

.scrap-content .post-item .user-tag {
    padding: 0.2rem 0.5rem 0 0.5rem;
    border: 1px solid #3874ff;
    border-radius: 0.63rem;
    white-space: nowrap;
}

.scrap-content .post-item .user-tag-cnt {
    padding: 0.2rem 0.5rem 0 0.5rem;
    border: 1px solid var(--phoenix-gray-700);
    border-radius: 0.63rem;
    white-space: nowrap;
}

.scrap-content .post-item .reply-sub-wrapper .upper-user + p {
    display: inline-block;
}

.scrap-content .ql-container,
.scrap-content .ql-toolbar {
    background-color: #fff;
}

.scrap-content .ql-editor {
    min-height: 40vh;
    max-height: 40vh;
}

.scrap-content .ql-editor img {
    max-height: 40rem;
}

.scrap-content .ql-toolbar .ql-divider {
    margin: 0 8px;
    width: 1px;
    height: 24px;
    vertical-align: middle;
    background-color: #ccc;
    display: inline-block;
}

.scrap-content .ql-toolbar.ql-snow .ql-formats {
    margin-right: 0 !important;
}

.scrap-content .profile-add-modal .profile-lst .item {
    border-radius: 4px;
}

.scrap-content .profile-add-modal .profile-lst .item:active:not(.selected) {
    background-color: var(--phoenix-gray-200);
}

.scrap-content .profile-add-modal .profile-lst .item.selected {
    color: #fff;
    background-color: var(--phoenix-primary);
}

/* scrap end */

/* message start */

.message-content .single-line {
    max-width: 45vw;
}

.message-content .contacts-wrapper {
    width: 100%;
    height: 80vh;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .message-content .contacts-wrapper {
        min-width: 25.12rem;
        max-width: 25.12rem;
    }
}

.contacts-wrapper .contacts-search {
    position: relative;
    font-size: 0.8rem;
}

.contacts-wrapper .contacts-search .search-input {
    padding: 0.5rem 3.25rem 0.5rem 1rem;
}

.contacts-search .search-input::-webkit-search-cancel-button {
    display: none;
}

.contacts-wrapper .contacts-search .search-icon {
    position: absolute;
    top: 50%;
    right: 1rem;
    --webkit-transform: translateY(-48%);
    --ms-transform: translateY(-48%);
    transform: translateY(-48%);
    font-size: 1rem;
    color: var(--phoenix-gray-900-rgb);
}

.contacts-wrapper .card {
    min-height: 0;
    display: flex;
    flex: 1;
    flex-direction: column;
}

.contacts-wrapper .contacts-lst {
    height: 100%;
    padding: 0.5rem;
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 0.5rem;
    overflow-y: auto;
}

.message-content .message-wrapper {
    height: 80vh;
    width: 100%;
    display: none;
    flex-grow: 1;
}

@media (min-width: 768px) {
    .message-content .message-wrapper {
        width: calc(100% - 25.12rem) !important;
        display: block !important;
    }
}

.message-wrapper .contacts-lst {
    padding: 0.5rem;
    flex-grow: 1;
    overflow: auto;
}

.message-wrapper .contacts-lst-inner {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 0.5rem;
}

.message-wrapper .contacts-search {
    padding: 0;
    border: 0;
    flex-grow: 1;
}

.message-wrapper .contacts-search:focus {
    outline: none;
}

.contacts-item .contacts-info {
    max-width: 7.813rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

@media (min-width: 340px) {
    .contacts-item .contacts-info {
        max-width: 17.5rem;
    }
}

@media (min-width: 576px) {
    .contacts-item .contacts-info {
        max-width: 26.563rem;
    }
}

@media (min-width: 768px) {
    .contacts-item .contacts-info {
        max-width: 17.5rem;
    }
}

.contacts-wrapper .contacts-lst .contacts-item .nickname:not(.selected),
.message-wrapper .contacts-lst .contacts-item .nickname:not(.selected) {
    color: var(--phoenix-gray-900-rgb);
}

.contacts-wrapper .contacts-lst .contacts-item .user-id:not(.selected),
.contacts-wrapper .contacts-lst .contacts-item .last-dt:not(.selected) {
    color: var(--phoenix-gray-700-rgb);
}

.contacts-wrapper .contacts-lst .contacts-item.selected,
.message-wrapper .contacts-lst .contacts-item.selected {
    border-radius: 0.25rem;
    color: var(--phoenix-white);
    background-color: var(--phoenix-blue);
    cursor: pointer;
}

.contacts-wrapper .contacts-lst .contacts-item:hover:not(.selected),
.message-wrapper .contacts-lst .contacts-item:hover:not(.selected) {
    border-radius: 0.25rem;
    background-color: var(--phoenix-gray-200);
    cursor: pointer;
}

.message-wrapper .dropdown .dropdown-item:nth-child(1) {
    color: var(--phoenix-gray-900);
}

.message-wrapper .dropdown .dropdown-item:nth-child(2),
.message-wrapper .dropdown .dropdown-item:nth-child(3) {
    color: var(--phoenix-danger);
}

.message-wrapper .dropdown .dropdown-item:active {
    color: var(--phoenix-white);
}

.message-wrapper .note-wrapper {
    padding: 1rem 1.5rem;
    height: 100%;
    border-bottom: var(--phoenix-border-width) var(--phoenix-border-style) var(--phoenix-border-color);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    --webkit-box-flex: 1;
    flex-grow: 1;
    overflow-y: auto;
}

.message-wrapper .ql-editor {
    padding: 0;
    word-break: break-all;
    white-space: normal !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.message-wrapper .ql-editor.ql-blank::before {
    left: 0;
}

.message-wrapper .ql-container {
    height: auto;
}

.note-wrapper .send-note-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: end;
    gap: 0.25rem;
}

.note-wrapper .recv-note-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.note-wrapper .send-note-wrapper .send-note-text {
    margin: 0;
    padding: 1rem;
    border-radius: 0.5rem;
    white-space: pre-wrap;
    font-size: 1rem;
    color: var(--phoenix-white);
    background-color: var(--phoenix-blue);
}

.note-wrapper .recv-note-wrapper .recv-note-text {
    margin: 0;
    padding: 1rem;
    border: var(--phoenix-border-width) var(--phoenix-border-style) var(--phoenix-border-color);
    border-radius: 0.5rem;
    white-space: pre-wrap;
    font-size: 1rem;
    color: var(--phoenix-gray-900);
    background-color: var(--phoenix-white);
}

.note-wrapper .send-note-wrapper .send-note-image {
    margin: 0;
    padding: 0.5rem;
    width: inherit;
    max-width: 40rem;
    max-height: 40rem;
    border-radius: 0.5rem;
    color: var(--phoenix-white);
    background-color: var(--phoenix-blue);
}

.note-wrapper .recv-note-wrapper .recv-note-image {
    margin: 0;
    padding: 0.5rem;
    width: inherit;
    max-width: 40rem;
    max-height: 40rem;
    border: var(--phoenix-border-width) var(--phoenix-border-style) var(--phoenix-border-color);
    border-radius: 0.5rem;
    color: var(--phoenix-gray-900);
    background-color: var(--phoenix-white);
}

@media (max-width: 992px) {
    .contacts-wrapper.d-mobile-none {
        display: none !important;
    }

    .message-wrapper.d-mobile-block {
        display: block !important;
    }

    .note-wrapper .send-note-wrapper .send-note-image {
        width: 100%;
        max-height: 40rem;
    }

    .note-wrapper .recv-note-wrapper .recv-note-image {
        width: calc(100% - 2rem);
        max-height: 40rem;
    }
}

.note-wrapper .send-note-wrapper .send-note-profile {
    margin: 0;
    padding: 1rem;
    display: flex;
    gap: 1rem;
    border: var(--phoenix-border-width) var(--phoenix-border-style) var(--phoenix-border-color);
    border-radius: 0.5rem;
    color: var(--phoenix-white);
    background-color: var(--phoenix-white);
}

.note-wrapper .recv-note-wrapper .recv-note-profile {
    margin: 0;
    padding: 1rem;
    display: flex;
    gap: 1rem;
    border: var(--phoenix-border-width) var(--phoenix-border-style) var(--phoenix-border-color);
    border-radius: 0.5rem;
    color: var(--phoenix-white);
    background-color: var(--phoenix-white);
}

.note-wrapper .note-inner-lst {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.note-wrapper .note-inner-lst .note-item:last-child {
    padding-bottom: 1rem;
}

.profile-detail {
    color: var(--phoenix-gray-900);
}

.profile-lst .profile-item .profile-detail:hover {
    border-radius: 0.25rem;
    background-color: var(--phoenix-gray-200);
}

.profile-lst .profile-item:hover {
    border-radius: 0.25rem;
    background-color: var(--phoenix-gray-200);
}

.profile-lst .profile-item.selected {
    border-radius: 0.25rem;
    background-color: var(--phoenix-primary);
    color: var(--phoenix-white);
}

.profile-lst .profile-item.selected .profile-detail {
    color: var(--phoenix-white);
}

/* message end */