/* 弹窗样式 */
.alert {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #f2f2f2;
  border: 1px solid #ccc;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: none;
}


    .disabled-overlay {
        position: fixed;
        top: 0; /* 调整为您想要的垂直位置 */
        left: 0; /* 调整为您想要的水平位置 */
        width: 100%; /* 保持水平方向上覆盖 */
        height: 100%; /* 保持垂直方向上覆盖，减去顶部和底部的高度 */
        background: rgba(0, 0, 0, 0.5); /* 半透明的灰色背景 */
        z-index: 999; /* 保证遮罩在最上层 */
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .content-section.disabled {
        position: relative;
        z-index: 1000; /* 比遮罩层高 */
    }

    .user-info-content {
        background: #17a2b8; /* 修改为你想要的背景颜色 */
        color: white;
        padding: 10px;
        border-radius: 5px;
        text-align: center;
    }

/* ===== 全局自定义提示框 ThinkBot Modal ===== */
.thinkbot-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: thinkbot-modal-fade 0.2s ease;
}
.thinkbot-modal {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    min-width: 280px;
    max-width: 90vw;
    max-height: 85vh;
    overflow: hidden;
    animation: thinkbot-modal-scale 0.25s ease;
}
.thinkbot-modal-title {
    padding: 1rem 1.25rem 0.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: #1f2937;
}
.thinkbot-modal-body {
    padding: 1rem 1.25rem 1.25rem;
    font-size: 0.95rem;
    color: #374151;
    line-height: 1.5;
    overflow-y: auto;
    max-height: 60vh;
}
.thinkbot-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 0 1.25rem 1.25rem;
}
.thinkbot-modal-btn {
    min-width: 72px;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.15s, transform 0.1s;
}
.thinkbot-modal-btn:active {
    transform: scale(0.98);
}
.thinkbot-modal-ok {
    background: #2563eb;
    color: #fff;
}
.thinkbot-modal-ok:hover {
    background: #1d4ed8;
}
.thinkbot-modal-cancel {
    background: #f3f4f6;
    color: #374151;
}
.thinkbot-modal-cancel:hover {
    background: #e5e7eb;
}
@keyframes thinkbot-modal-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes thinkbot-modal-scale {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
}