.point-none {
    pointer-events: none !important;
}

.pointer-cursor, .dropdown, a[href], a[onclick], a.page-link {
    cursor: pointer !important;
}

@media (max-width: 992px) {
    .personal-card-container {
        z-index: 1041;
    }
}

.border-bottom {
    border-bottom: solid;
}

.inner-container.desc-left, .gslide-description.description-left {
    min-height: 60vh;
    max-height: 100vh;
}

.w-fit-content {
    width: fit-content !important;
}

.h-fit-content {
    height: fit-content !important;
}

.badge-unread {
    background: unset !important;
}

.avatar-story.not-selected:after, .accordion-item {
    border: none !important;
}

.highlight-text, .post-card em, .highlight em, #searched-messages em, #searched-target-messages em {
    color: red;
    font-style: normal !important;
}

.post-image-container {
    max-height: 12rem; /* 限制容器的最大高度 */
    overflow: hidden; /* 隐藏超出部分 */
    position: relative;
    text-align: center;
    padding: 5px;
}

.post-image-container > img {
    width: auto; /* 图片宽度自适应容器 */
    height: auto; /* 高度保持比例缩放 */
    object-fit: cover; /* 按比例填充容器并裁剪超出部分 */
}

.poll-result-bar {
    height: 30px;
}

.vote-percent {
    width: 4rem;
}

a:not([href]):not([onclick]):not(.pointer-cursor):not(.page-link), .normal-cursor {
    cursor: unset !important;
}

.corner-badge {
    position: absolute;
    top: -2px;
    right: -2px;
}

.flatpickr-calendar.open {
    z-index: 9999995 !important;
}

ul.pagination button {
    min-width: 4rem;
}

ul.pagination * {
    white-space: nowrap !important;
}

ul.pagination input {
    min-width: 4rem;
}

#header-notes {
    max-height: 60vh;
    overflow-y: scroll;
}

@media screen and (min-width: 1024px) {
    #header-notes .note-message {
        width: 15vw; /* 大屏幕宽度 */
    }
}

/* 中等屏幕（md） */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    #header-notes .note-message {
        width: 24vw; /* 中等屏幕宽度 */
    }
}

/* 小屏幕（sm） */
@media screen and (max-width: 767px) {
    #header-notes .note-message {
        width: 35vw; /* 小屏幕宽度 */
    }
}

#confirm-modal {
    z-index: 999999999
}

#edit-product-modal {
    z-index: 9999995
}

.ws-nowrap {
    white-space: nowrap !important;
}

.ws-break {
    white-space: break-spaces !important;
}

.loading-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loading-container .item {
    width: 8px;
    height: 100px;
    margin: 0 3px;
    border-radius: 6px;
    background-color: #0f6fec;
    animation: wave 1.2s infinite ease-in-out;
    animation-delay: var(--delay);
}

@keyframes wave {

    0%,
    40%,
    100% {
        transform: scaley(0.6);
    }

    20% {
        transform: scaley(1.2);
    }
}

.solid-border {
    border-style: solid;
}

#blog-editor-toolbar {
    width: 100%;
    padding: 1rem 0;
    background-color: #FCFCFC;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

#editor-container {
    margin: 30px auto;
    background-color: #fff;
    padding: 20px 50px 50px 50px;
    border: 1px solid #e8e8e8;
    box-shadow: 0 2px 10px rgb(0 0 0 / 12%);
}

#title-container {
    border-bottom: 1px solid #e8e8e8;
    padding: 20px 0;
}

#title-container input {
    font-size: 30px;
    border: 0;
    outline: none;
    width: 100%;
    line-height: 1;
}

#blog-editor {
    min-height: 900px;
}

.w-e-modal .btn-close {
    background: none !important;
}

blockquote {
    display: block;
    border-left: 8px solid var(--w-e-textarea-selected-border-color);
    padding: 10px 10px;
    margin: 10px 0;
    line-height: 1.5;
    font-size: 100%;
    background-color: var(--w-e-textarea-slight-bg-color);
}

div:where(.swal2-container:not(.stage-deadline-input)) {
    z-index: 9999999 !important;
}

div:where(.swal2-container.stage-deadline-input) {
    z-index: 9999993 !important;
}

.blog-list-image, .event-list-image {
    max-height: 20rem;
    overflow: hidden;
}

#product-choose-panel .product-name {
    max-width: 80%;
    word-break: break-all;
    word-wrap: break-word;
    white-space: nowrap;
}

.blog-share-content {
    margin-bottom: 0.8rem;
}

.blog-share-product > * {
    width: 50%;
}

.blog-share-post > * {
    width: 80%;
}

.blog-share-post .event-card, .blog-share-post .group-card {
    width: 100% !important;
}

.blog-share-product, .blog-share-post {
    margin-bottom: 0.5rem;
}

video {
    max-height: 80vh;
}

#post-choose-panel * {
    text-align: left !important;
}

body {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

main {
    flex: 1;
}

.image_picker_selector {
    display: flex;
    flex-wrap: wrap;
}

@media (min-width: 768px) {
    .image_picker_selector > li {
        width: 42%;
    }
}

@media (min-width: 992px) {
    .image_picker_selector > li {
        width: 28%;
    }
}

.dropdown-menu {
    max-width: 90vw;
}

.blog-attachment {
    padding: 0.3rem !important;
    margin: 0.5rem !important;
    display: inline-block;
    border: 1px solid var(--bs-primary);
}

.badge-note {
    position: absolute !important;
    border-radius: 50%;
    padding: 0.2rem 0.3rem;
    top: 0;
    right: -3px;
    z-index: 1;
}

.my-message {
    background-color: #e5faff !important;
}

.others-message {
    background-color: #cce5ff !important;
}

.withdrawn-message .my-message, .withdrawn-message .others-message,.withdrawn-message .message-bubble {
    background-color: rgba(var(--bs-warning-rgb), var(--bs-bg-opacity)) !important;
}

.chat-conversation-content {
    min-height: 100px;
    height: 100%;
    overflow-x: hidden !important;
}

.chat-conversation-content .my-message, .chat-conversation-content .others-message {
    white-space: pre-wrap;
}

.chat-conversation-content .blog-attachment {
    word-break: break-all;
}

.right-0 {
    right: 0 !important;
}

.left-0 {
    left: 0 !important;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

.blink {
    animation: blink 1s infinite;
}

.filter-pane input {
    cursor: pointer;
}

.filter-pane .form-label {
    width: 5rem;
}

.accordion-button, .accordion-collapse li.list-group-item {
    word-break: break-all;
}

.spinner-border {
    aspect-ratio: 1/1 !important;
}

#bid-container {
    max-width: 80vw;
}

#chat-modal .my-message, #chat-modal .others-message, .message-remark {
    font-size: 0.7rem;
}

.bid-note:hover > i {
    display: inline-block !important;
}

.table th {
    white-space: nowrap;
}

.table td > div.note {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}


.filter-pane input[type="radio"]:checked + label.btn,
.filter-pane input[type="checkbox"]:checked + label.btn,
input[type="radio"].btn-radio:checked + label.btn,
input[type="checkbox"].btn-checkbox:checked + label.btn,
input.btn-check:checked + label.btn {
    color: #fff;
    background-color: #4f9ef8;
}

.filter-pane label > img {
    width: 1.2rem;
    height: 1.2rem;
}

@media (min-width: 992px ) {
    .sticky-after-header {
        position: sticky;
        top: calc(1rem + 56px);
        height: fit-content;
    }
}


.similar-bids:empty {
    display: none;
}

.overflow-scroll-y {
    overflow-y: scroll;
}

.overflow-auto-y {
    overflow-y: auto;
}

.overflow-auto-x {
    overflow-x: auto;
}

.bg-light-blue {
    background-color: #ccffff;
}

.bg-light-green {
    background-color: #ccffdd;
}

.bg-light-red {
    background-color: #ffcccc;
}

.w-10p {
    width: 10% !important;
}

.w-30p {
    width: 30% !important;
}

.max-h-100p {
    max-height: 100%;
}


.ai-quote-btn {
    position: absolute;
    right: 5px;
    bottom: 5px;
}

.hover-btn {
    position: relative;
    z-index: 9;
}

.hover-btn > button {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: none;
    z-index: 10;
}

.hover-btn:hover > button {
    display: block;
}

#t-doc {
    z-index: 1040;
    resize: both;
    overflow: auto;
}

.resizeable {
    resize: both;
    overflow: auto;
}

.msg-media {
    max-width: 80%;
}

.msg-input img, .msg-input video {
    max-height: 90%;
    max-width: 90%;
    object-fit: contain;
    vertical-align: top;
    margin: 3px;
}

.chat-tab-list .badge.bg-danger:empty {
    display: none !important;
}

.chat-tab-list li, #chat-history-modal ul > li, #chat-history-modal ul > li div {
    max-width: 100%;
    word-break: break-all;
    word-wrap: break-word;
}

#searched-messages .fade:not(.show) {
    display: none !important;
}

.message-context-button {
    display: none;
    align-content: center;
}

.searched-message:hover > .message-context-button {
    display: block;
}

.chat-history-file {
    width: 31% !important;
    max-height: 300px !important;
    margin: 1%;
    display: inline-block !important;
    text-align: center;
    overflow: hidden;
}

.chat-history-file img, .chat-history-file video {
    object-fit: contain;
    max-width: 100%;
}

.chat-history-file i.fa-play-circle {
    position: absolute;
    left: 50%;
    top: 50%;
    font-size: 1.6rem;
}

.popover.show {
    z-index: 99999999;
}

header .nav-link {
    white-space: nowrap !important;
}

[class*=status-]:before, .avatar[data-uid]:not(.self-avatar):before {
    left: unset !important;
    right: 5% !important;
    bottom: unset !important;
    top: 5% !important;
}

.avatar[data-uid]:not(.self-avatar):not(.status-online):before {
    background-color: #d6293e !important;
}

.avatar-group [class*=status-]:before, .avatar-group .avatar[data-uid]:not(.self-avatar):before {
    width: 9px !important;
    height: 9px !important;
}

#duplicateModal .modal-content {
    border-radius: 12px;
    overflow: hidden;
    border-top: 4px solid var(--bs-warning);
}

.duplicate-item {
    background: rgba(255, 145, 0, 0.08);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
}

.duplicate-item {
    background: rgba(255, 145, 0, 0.08);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeIn {
    animation: fadeIn 0.5s ease forwards;
}

.swal2-progress-bar {
    height: 10px;
    border-radius: 5px;
    margin-top: 15px;
    background-color: #f0f0f0;
}

.swal2-progress-bar-fill {
    height: 100%;
    border-radius: 5px;
    background: var(--bs-primary);
    transition: width 0.3s;
}

.swal2-progress-text {
    text-align: center;
    font-weight: 500;
    margin-top: 10px;
    color: var(--bs-dark);
}

.custom-context-menu {
    position: absolute;
    display: none;
    background-color: white;
    border: 1px solid #ddd;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    z-index: 150000;
}

.context-menu-item .submenu {
    z-index: 150000;
}

.context-menu-item {
    white-space: nowrap;
    padding: 10px 20px;
    cursor: pointer;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}

.context-menu-item:hover {
    background: #e9ecef;
}

.context-menu-item.has-submenu::after {
    content: "›";
    margin-left: 10px;
    font-size: 16px;
    font-weight: bold;
}

.context-menu-item .submenu {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    background: white;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.context-menu-item .submenu.left {
    left: auto;
    right: 100%;
}

.context-menu-item.has-submenu:hover > .submenu {
    display: block !important;
    transform: translateX(0);
    opacity: 1;
}

.required-mark {
    font-size: 0.7rem !important;
}

.float-btn {
    margin-bottom: 80px !important;
    margin-right: 80px !important;
}

.luckysheet-input-box-index, #luckysheet-input-box {
    z-index: 99001 !important;
}

#chat-modal .modal-header, #chat-modal .modal-body {
    background: linear-gradient(135deg, #e5ffff, #ccffff);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

#chat-modal .toolbar input.form-check-input:not(:checked) + span {
    display: none !important;
}

@media (max-width: 1100px) {
    .mobile-hide {
        display: none !important;
    }
}

.app-download {
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    width: 100%;
    transition: transform 0.3s;
}

.app-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@keyframes gentleJump {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.gentle-jump {
    animation: gentleJump 2s infinite ease-in-out;
}

@keyframes jump-shake {
    0% {
        transform: scale(1) rotate(0deg);
    }
    25% {
        transform: scale(1.15) rotate(2deg);
    }
    50% {
        transform: scale(1.05) rotate(-1deg);
    }
    75% {
        transform: scale(1.1) rotate(1deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
    }
}

.jumping-avatar {
    display: inline-block;
    position: relative;
    border-radius: 50%;
    box-sizing: border-box;
    animation: jump-shake 1.5s ease-in-out infinite;
}

/* 消息提醒点样式 */
.chat-tab-list .badge.bg-danger {
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 4px rgba(220, 38, 38, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0);
    }
}

.message-remark-container:hover > button {
    display: block !important;
}

.message-remark-container {
    align-items: center;
}

.message-remark-container > button {
    align-self: center;
}

.message-remark {
    background-color: var(--bs-gray-600);
    color: white;
}

div.note > .badge {
    word-break: break-all;
    white-space: break-spaces;
}

.w-5rem {
    width: 5rem;
}

.flex-basis-5rem {
    flex-basis: 5rem;
}

.break-all {
    word-break: break-all;
    white-space: break-spaces;
}

.glightbox-container {
    z-index: 9999999999 !important;
}

.quote-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: #fff;
    border: 1px solid #e1e4e8; /* 使用边框代替浓重的阴影，更扁平 */
    border-radius: 6px;
}

/* 头部样式 - 更加紧凑 */
.quote-container .header {
    padding: 12px 20px;
    border-bottom: 1px solid #e1e4e8;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fafbfc; /* 头部微灰色背景 */
    border-radius: 6px 6px 0 0;
}

.quote-container .header h6 {
    font-size: 15px;
    font-weight: 600;
    color: #24292e;
}

.quote-container .header span {
    font-size: 12px;
    color: #6a737d;
    background: #eee;
    padding: 2px 8px;
    border-radius: 10px;
}

/* 表格样式 */
.quote-container .table-wrapper {
    overflow-x: auto;
}

.quote-container table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

/* 表头设计 */
.quote-container thead th {
    background-color: #fff;
    color: #586069;
    font-weight: 600;
    padding: 10px 15px;
    border-bottom: 1px solid #e1e4e8;
    white-space: nowrap;
}

/* 表格内容 - 紧凑的核心 */
.quote-container tbody td {
    padding: 8px 15px; /* 上下8px，左右15px，高度显著降低 */
    border-bottom: 1px solid #eaecef;
    color: #24292e;
    vertical-align: middle;
    transition: background 0.15s;
}

.quote-container tbody tr:last-child td {
    border-bottom: none;
}

.quote-container tbody tr:hover td {
    background-color: #f6f8fa;
}

/* 内容特定样式 */
.quote-container .user-name {
    font-weight: 600;
    color: #24292e;
}

.quote-container .company-name {
    color: #586069;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.quote-container .tender-link {
    color: #0366d6;
    text-decoration: none;
    font-weight: 500;
}

.quote-container .tender-link:hover {
    text-decoration: underline;
}

/* 操作链接 - 极简文字风格 */
.quote-container .action-link {
    color: #0366d6;
    text-decoration: none;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
}

.quote-container .action-link:hover {
    background-color: #f1f8ff;
}

/* 移动端适配 */
@media (max-width: 600px) {
    .quote-container .company-name {
        max-width: 120px;
    }

    .quote-container tbody td, thead th {
        padding: 8px 10px;
    }
}

.panzoom-exclude, .panzoom-exclude * {
    user-select: text !important;
}