/* 拖动侧边栏主容器 - 缩小尺寸 */
.dragon-sidebar-wrapper {
    position: fixed;
    left: 0.25rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    width: 0.9rem; /* 从1.1rem缩小到0.9rem */
    cursor: move;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}9

.dragon-sidebar-wrapper.dragon-dragging {
    transition: none;
    z-index: 1001;
    cursor: grabbing;
}

/* 侧边栏内容容器 */
.dragon-sidebar-container {
    background: linear-gradient(135deg, rgb(29, 180, 157) 0%, rgb(127, 127, 255, 0.18) 100%);
    border-radius: 0.2rem;
    box-shadow: 
        0 0.08rem 0.35rem #19D47D33, 
        0 0.015rem 0.08rem #1DB49D22,
        0 0.18rem 0.5rem rgba(29, 180, 157, 0.2);
    backdrop-filter: blur(0.1rem);
    border: 0.012rem solid rgba(255, 255, 255, 0.3);
    padding: 0.16rem 0.1rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    min-height: 2.19rem; /* 稍微减小高度 */
}

/* 拖拽时的样式 */
.dragon-sidebar-wrapper.dragon-dragging .dragon-sidebar-container {
    box-shadow: 
        0 0.12rem 0.5rem #19D47D55, 
        0 0.025rem 0.12rem #1DB49D44,
        0 0.25rem 0.7rem rgba(29, 180, 157, 0.4);
    transform: scale(1.03);
    background: linear-gradient(135deg, rgb(29, 180, 157) 0%, rgb(127, 127, 255, 0.3) 100%);
}

/* 悬停时整个容器的效果 */
.dragon-sidebar-container:hover {
    transform: scale(1.015);
    box-shadow: 
        0 0.12rem 0.5rem #19D47D44, 
        0 0.025rem 0.12rem #1DB49D33,
        0 0.25rem 0.7rem rgba(29, 180, 157, 0.3);
    background: linear-gradient(135deg, rgb(29, 180, 157) 0%, rgb(127, 127, 255, 0.25) 100%);
}

/* 拖拽手柄 */
.dragon-drag-handle {
    position: absolute;
    top: 0.06rem;
    right: 0.06rem;
    z-index: 10;
    cursor: grab;
    padding: 0.03rem;
    border-radius: 0.03rem;
    transition: all 0.3s ease;
}

.dragon-drag-handle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.dragon-drag-handle:active {
    cursor: grabbing;
}

.dragon-drag-dots {
    display: flex;
    flex-direction: column;
    gap: 0.015rem;
}

.dragon-dot {
    width: 0.025rem;
    height: 0.025rem;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.dragon-drag-handle:hover .dragon-dot {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 0.03rem rgba(255, 255, 255, 0.5);
}

/* 顶部装饰 */
.dragon-sidebar-header {
    text-align: center;
    margin-bottom: 0.12rem;
    padding-top: 0.08rem;
}

.dragon-pulse-indicator {
    width: 0.06rem;
    height: 0.06rem;
    background: linear-gradient(45deg, #fff, rgba(255, 255, 255, 0.6));
    border-radius: 50%;
    margin: 0 auto;
    animation: dragon-pulse 2s infinite;
    box-shadow: 0 0 0.08rem rgba(255, 255, 255, 0.5);
}

@keyframes dragon-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.2); }
}

/* 菜单区域 */
.dragon-menu-group {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* 菜单项 - 图标和文字分行布局 */
.dragon-menu-item {
    position: relative;
    padding: 0.14rem 0.08rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    background: rgba(255, 255, 255, 0.05);
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* 分隔线 */
.dragon-menu-item:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0.35rem;
    height: 0.01rem;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: all 0.3s ease;
}

/* 悬停时分隔线效果 */
.dragon-menu-item:not(:last-child):hover::after {
    width: 0.6rem;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    box-shadow: 0 0 0.05rem rgba(255, 255, 255, 0.3);
}

.dragon-menu-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.03);
}

.dragon-menu-item:active {
    transform: scale(1.01);
}

/* 图标行 */
.dragon-item-icon {
    font-size: 0.22rem;
    margin-bottom: 0.05rem;
    line-height: 1;
    filter: drop-shadow(0 0.015rem 0.04rem rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.dragon-menu-item:hover .dragon-item-icon {
    transform: scale(1.1) rotateZ(6deg);
}

/* 文字行 - 横排显示 */
.dragon-item-text {
    font-size: 0.14rem;
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 0.01rem 0.04rem rgba(0, 0, 0, 0.3);
    letter-spacing: 0.006rem;
    line-height: 1.1;
    white-space: nowrap; /* 确保文字不换行 */
    width: 100%;
    text-align: center;
}

/* 发光效果 */
.dragon-item-shine {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.12), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dragon-menu-item:hover .dragon-item-shine {
    opacity: 1;
    animation: dragon-shine-sweep 0.8s ease-in-out;
}

@keyframes dragon-shine-sweep {
    0% { transform: translateX(-100%) skewX(-15deg); }
    100% { transform: translateX(100%) skewX(-15deg); }
}

/* 底部装饰 */
.dragon-sidebar-footer {
    margin-top: 0.12rem;
    padding-top: 0.08rem;
}

.dragon-footer-divider {
    height: 0.02rem;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    border-radius: 0.01rem;
}

/* 背景动态效果 */
.dragon-sidebar-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: dragon-rotate 8s linear infinite;
    opacity: 0.5;
}

.dragon-sidebar-container::after {
    content: '';
    position: absolute;
    top: 0.02rem;
    left: 0.02rem;
    right: 0.02rem;
    bottom: 0.02rem;
    background: inherit;
    border-radius: 0.18rem;
    z-index: 1;
}

@keyframes dragon-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 确保内容在最上层 */
.dragon-sidebar-header,
.dragon-menu-group,
.dragon-sidebar-footer {
    position: relative;
    z-index: 2;
}

/* 主内容区域 */
.main-content {
    margin-left: 1.3rem; /* 相应调整主内容边距 */
    padding: 2rem;
    max-width: 1200px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .dragon-sidebar-wrapper {
        left: 0.1rem;
        width: 0.8rem;
    }
    
    .dragon-sidebar-container {
        padding: 0.12rem 0.08rem;
        min-height: 3rem;
    }
    
    .dragon-menu-item {
        padding: 0.12rem 0.06rem;
    }
    
    .dragon-item-icon {
        font-size: 0.2rem;
        margin-bottom: 0.04rem;
    }
    
    .dragon-item-text {
        font-size: 0.1rem;
    }
    
    .dragon-menu-item:not(:last-child)::after {
        width: 0.3rem;
    }
    
    .dragon-menu-item:not(:last-child):hover::after {
        width: 0.5rem;
    }
    
    .main-content {
        margin-left: 1rem;
        padding: 1rem;
    }
}
/* 微信二维码弹窗遮罩层 - 最高层级 */
.dragon-qr-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999; /* 最高层级 */
    display: none; /* 默认隐藏 */
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* 显示状态 */
.dragon-qr-overlay.dragon-qr-show {
    display: flex;
    opacity: 1;
    visibility: visible;
}

/* 背景遮罩 */
.dragon-qr-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(0.08rem);
    cursor: pointer;
    animation: dragon-fade-in 0.3s ease-out;
}

@keyframes dragon-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 弹窗主体 */
.dragon-qr-modal {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 248, 255, 0.9) 100%);
    border-radius: 0.24rem;
    box-shadow: 
        0 0.2rem 0.8rem rgba(0, 0, 0, 0.15),
        0 0.08rem 0.32rem rgba(0, 0, 0, 0.1),
        0 0 0.02rem rgba(255, 255, 255, 0.8) inset;
    backdrop-filter: blur(0.12rem);
    border: 0.015rem solid rgba(255, 255, 255, 0.3);
    padding: 0.32rem;
    min-width: 4rem;
    max-width: 90vw;
    max-height: 90vh;
    overflow: hidden;
    transform: scale(0.8) translateY(0.2rem);
    animation: dragon-modal-enter 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

@keyframes dragon-modal-enter {
    to {
        transform: scale(1) translateY(0);
    }
}

/* 关闭按钮 */
.dragon-qr-close {
    position: absolute;
    top: 0.16rem;
    right: 0.16rem;
    width: 0.32rem;
    height: 0.32rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    color: #666;
    box-shadow: 0 0.02rem 0.08rem rgba(0, 0, 0, 0.1);
}

.dragon-qr-close:hover {
    background: rgba(255, 255, 255, 1);
    color: #333;
    transform: scale(1.1);
    box-shadow: 0 0.04rem 0.12rem rgba(0, 0, 0, 0.15);
}

.dragon-qr-close svg {
    width: 0.18rem;
    height: 0.18rem;
}

/* 顶部区域 */
.dragon-qr-header {
    text-align: center;
    margin-bottom: 0.24rem;
}

.dragon-wechat-logo {
    font-size: 0.4rem;
    margin-bottom: 0.12rem;
    filter: drop-shadow(0 0.02rem 0.06rem rgba(0, 0, 0, 0.1));
}

.dragon-qr-title {
    font-size: 0.22rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.08rem;
    background: linear-gradient(135deg, #2c3e50, #3498db);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.dragon-qr-subtitle {
    font-size: 0.14rem;
    color: #7f8c8d;
    margin: 0;
    line-height: 1.4;
}

/* 二维码容器 */
.dragon-qr-container {
    position: relative;
    display: flex;
    justify-content: center;
    margin: 0.24rem 0;
}

.dragon-qr-frame {
    position: relative;
    width: 2.4rem;
    height: 2.4rem;
    background: #ffffff;
    border-radius: 0.12rem;
    padding: 0.16rem;
    box-shadow: 
        0 0.04rem 0.16rem rgba(0, 0, 0, 0.1),
        0 0.02rem 0.08rem rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

/* 二维码占位符（演示用） */
.dragon-qr-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 0.08rem;
}

.dragon-qr-dots {
    display: flex;
    flex-direction: column;
    gap: 0.04rem;
}

.dragon-dot-row {
    display: flex;
    gap: 0.04rem;
}

.dragon-dot-row span {
    width: 0.08rem;
    height: 0.08rem;
    background: #e9ecef;
    border-radius: 0.01rem;
    transition: background 0.3s ease;
}

.dragon-dot-row span.dragon-active {
    background: #2c3e50;
    animation: dragon-qr-blink 2s infinite;
}

@keyframes dragon-qr-blink {
    0%, 50% { opacity: 1; }
    25%, 75% { opacity: 0.3; }
}

/* 实际二维码图片样式 */
.dragon-qr-frame img {
    width: 107%;
    height: 100%;
    object-fit: contain;
    border-radius: 0.04rem;
    position: absolute;
}

/* 扫描动画线条 */
.dragon-scan-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0.02rem;
    background: linear-gradient(90deg, transparent, #1DB49D, transparent);
    animation: dragon-scan 2s linear infinite;
    opacity: 0.8;
}

@keyframes dragon-scan {
    0% { transform: translateY(0); }
    100% { transform: translateY(2.4rem); }
}

/* 四角装饰 */
.dragon-qr-corner {
    position: absolute;
    width: 0.24rem;
    height: 0.24rem;
    border: 0.03rem solid #1DB49D;
    opacity: 0.8;
}

.dragon-corner-tl {
    top: -0.08rem;
    left: -0.08rem;
    border-right: none;
    border-bottom: none;
    border-top-left-radius: 0.06rem;
}

.dragon-corner-tr {
    top: -0.08rem;
    right: -0.08rem;
    border-left: none;
    border-bottom: none;
    border-top-right-radius: 0.06rem;
}

.dragon-corner-bl {
    bottom: -0.08rem;
    left: -0.08rem;
    border-right: none;
    border-top: none;
    border-bottom-left-radius: 0.06rem;
}

.dragon-corner-br {
    bottom: -0.08rem;
    right: -0.08rem;
    border-left: none;
    border-top: none;
    border-bottom-right-radius: 0.06rem;
}

/* 底部提示区域 */
.dragon-qr-footer {
    margin-top: 0.24rem;
    text-align: center;
}

.dragon-qr-tips {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 0.16rem;
}

.dragon-tip-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.06rem;
}

.dragon-tip-icon {
    font-size: 0.18rem;
    filter: drop-shadow(0 0.01rem 0.04rem rgba(0, 0, 0, 0.1));
}

.dragon-tip-text {
    font-size: 0.12rem;
    color: #7f8c8d;
    font-weight: 500;
}

/* 背景装饰 */
.dragon-qr-bg-decoration {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, rgba(29, 180, 157, 0.05), transparent);
    animation: dragon-rotate 12s linear infinite;
    z-index: -1;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .dragon-qr-modal {
        padding: 0.24rem;
        min-width: 3.2rem;
        margin: 0.2rem;
    }
    
    .dragon-qr-frame {
        width: 2rem;
        height: 2rem;
    }
    
    .dragon-qr-title {
        font-size: 0.2rem;
    }
    
    .dragon-qr-subtitle {
        font-size: 0.13rem;
    }
    
    .dragon-qr-tips {
        flex-direction: column;
        gap: 0.12rem;
    }
    
    .dragon-tip-item {
        flex-direction: row;
        gap: 0.08rem;
    }
    
    .dragon-scan-line {
        animation-duration: 2s;
    }
    
    @keyframes dragon-scan {
        0% { transform: translateY(0); }
        100% { transform: translateY(2rem); }
    }
}

/* 暗色主题适配 */
@media (prefers-color-scheme: dark) {
    .dragon-qr-modal {
        background: linear-gradient(135deg, rgba(30, 30, 30, 0.95) 0%, rgba(20, 30, 40, 0.9) 100%);
        border-color: rgba(255, 255, 255, 0.1);
    }
    
    .dragon-qr-title {
        color: #ecf0f1;
        background: linear-gradient(135deg, #ecf0f1, #3498db);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    
    .dragon-qr-subtitle,
    .dragon-tip-text {
        color: #bdc3c7;
    }
    
    .dragon-qr-frame {
        background: #2c3e50;
        box-shadow: 
            0 0.04rem 0.16rem rgba(0, 0, 0, 0.3),
            0 0.02rem 0.08rem rgba(0, 0, 0, 0.2);
    }
    
    .dragon-qr-placeholder {
        background: #34495e;
    }
    
    .dragon-dot-row span {
        background: #7f8c8d;
    }
    
    .dragon-dot-row span.dragon-active {
        background: #ecf0f1;
    }
}


/*表单样式*/
.popup-mask {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(30,40,36,0.28);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.popup-form-modal {
  min-width: 3.8rem;
  max-width: 96vw;
  background: linear-gradient(90deg, rgb(29, 180, 157) 0%, rgb(127 127 255 / 18%) 100%);
  border-radius: 0.18rem;
  box-shadow: 0 0.08rem 0.32rem #19D47D33, 0 0.01rem 0.08rem #1DB49D22;
  padding: 0.45rem 0.6rem 0.38rem 0.6rem;
  position: relative;
  animation: popupIn .32s cubic-bezier(.4,1.4,.6,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
@keyframes popupIn { from{transform:translateY(0.3rem) scale(0.95);opacity:0;} to{transform:none;opacity:1;} }
.popup-form-title {
  font-size: 0.21rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.01rem;
  margin-bottom: 0.22rem;
  text-align: left;
  text-shadow: 0 0.01rem 0.04rem #1DB49D44;
  width: 100%;
}
.popup-form-close {
  position: absolute;
  right: 0.22rem; top: 0.22rem;
  width: 0.28rem; height: 0.28rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 0.22rem;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.18s;
  display: flex; align-items: center; justify-content: center;
}
.popup-form-close:hover { background: rgba(255,255,255,0.13);}
.popup-form-fields {
  width: 100%;
  max-width: 3.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.11rem;
}
.popup-form-row {
  display: flex;
  align-items: center;
  gap: 0.11rem;
  width: 100%;
}
.popup-form-label {
  width: 0.95rem;
  min-width: 0.95rem;
  font-size: 0.15rem;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.01rem;
  text-align: left;
  margin-right: 0.03rem;
  white-space: nowrap;
}
.popup-form-input, .popup-form-select {
  width: 2.3rem;
  font-size: 0.15rem;
  padding: 0.13rem 0.12rem;
  border-radius: 0.09rem;
  border: none;
  outline: none;
  background: rgba(255,255,255,0.93);
  color: #222;
  box-shadow: 0 0.01rem 0.04rem #19D47D11;
  transition: box-shadow 0.18s, border 0.18s;
  margin-bottom: 0.01rem;
  resize: none;
  display: block;
}
.popup-form-input:focus, .popup-form-select:focus, .popup-form-textarea:focus {
  box-shadow: 0 0.04rem 0.12rem #19D47D33;
  border: 0.01rem solid #1DB49D;
}
.popup-form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%2319D47D' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.12rem center;
  background-size: 0.18rem 0.12rem;
}
.popup-form-textarea-row {
  display: flex;
  align-items: flex-start;
  gap: 0.11rem;
  width: 100%;
}
.popup-form-textarea {
  width: 2.3rem;
  font-size: 0.15rem;
  padding: 0.13rem 0.12rem;
  border-radius: 0.09rem;
  border: none;
  outline: none;
  background: rgba(255,255,255,0.93);
  color: #222;
  box-shadow: 0 0.01rem 0.04rem #19D47D11;
  transition: box-shadow 0.18s, border 0.18s;
  min-height: 0.7rem; max-height: 2.2rem;
  resize: none;
  display: block;
}
.popup-form-btn {
  margin-top: 0.18rem;
  width: 2.3rem;
  font-size: 0.17rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg, #1DB49D 0%, #19D47D 100%);
  border: none;
  border-radius: 0.11rem;
  padding: 0.15rem 0;
  box-shadow: 0 0.01rem 0.04rem #19D47D22;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s;
  letter-spacing: 0.02rem;
  display: block;
}
.popup-form-btn:hover {
  background: linear-gradient(90deg, #19D47D 0%, #1DB49D 100%);
  box-shadow: 0 0.04rem 0.12rem #19D47D33;
}
@media (max-width: 700px) {
  html { font-size: 60px;}
  .popup-form-modal { min-width: 2.2rem; padding: 0.22rem 0.12rem;}
  .popup-form-fields { max-width: 2.2rem;}
  .popup-form-label { width: 0.8rem; min-width: 0.8rem;}
  .popup-form-input, .popup-form-select, .popup-form-textarea, .popup-form-btn { width: 1.2rem;}
}