.z-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ld-label {
}

.ld-label {
}

.gd-label {
  font-size: 10px;
  line-height: 1.2;
  margin-bottom: 2px;
}

.gd-value {
  font-size: 13px;
  font-weight: 700;
  height: 20px;
  display: flex;
  align-items: center;
}

/* 移动端 offcanvas 内部关闭按钮样式 */
.offcanvas-close-arrow {
  width: 36px;
  height: 36px;
  border: none !important;
  background: transparent !important;
  border-radius: 8px;
  transition: all 0.2s ease;
  text-decoration: none;
  color: var(--bs-body-color);
}

.offcanvas-close-arrow:hover {
  background-color: var(--bs-secondary-bg) !important;
  color: var(--bs-body-color);
  transform: scale(1.1);
}

.offcanvas-close-arrow .dropdown-indicator-icon-wrapper {
  height: 24px;
  width: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.offcanvas-close-arrow .dropdown-indicator-icon {
  font-size: 20px;
  transition: transform 0.3s ease;
  transform: rotate(0deg);
}

.offcanvas-close-arrow[aria-expanded='true'] .dropdown-indicator-icon {
  transform: rotate(0deg);
}

.phoenix-offcanvas:not(.show) .offcanvas-close-arrow {
  display: none !important;
}

.phoenix-offcanvas.show .offcanvas-close-arrow {
  display: flex !important;
}

/* ShortInt 过滤器相关样式 */
/* PC端样式 */
@media (min-width: 960px) {
  .main-content-container {
    display: flex;
    gap: 16px;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  }

  .table-container {
    flex: 1;
    min-width: 0;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  }

  .filter-panel {
    width: 320px;
    flex-shrink: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  }

  .filter-panel.show {
    transform: translateX(0);
    opacity: 1;
    max-width: 320px;
  }

  .filter-panel.hide {
    transform: translateX(100%);
    opacity: 0;
    max-width: 0;
    margin-left: 0;
    padding-left: 0;
  }

  .filter-content {
    background: rgb(20, 24, 36);
    border: 1px solid rgba(156, 163, 175, 0.3);
    border-radius: 16px;
    padding: 24px;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    width: 320px;
    transform-origin: right center;
  }

  .filter-content:hover {
    box-shadow: 0 25px 35px -5px rgba(0, 0, 0, 0.25), 0 15px 15px -5px rgba(0, 0, 0, 0.15);
  }

  .filter-panel.hide .filter-content {
    transform: scale(0.95) translateX(20px);
    opacity: 0.8;
  }
}

/* 移动端样式 */
@media (max-width: 959px) {
  .main-content-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .table-container {
    order: 2;
  }

  .filter-panel {
    order: 1;
    width: 100%;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  }

  .filter-panel.show {
    max-height: 1000px;
    opacity: 1;
  }

  .filter-panel.hide {
    max-height: 0;
    opacity: 0;
  }

  .filter-content {
    background: rgb(20, 24, 36);
    border: 1px solid rgba(156, 163, 175, 0.3);
    border-radius: 12px;
    padding: 16px;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 16px -4px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
  }
}


/* 分析师评级相关样式 */
.badge {
    display: inline-block;
    padding: 0.25em 0.6em;
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.375rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.bg-blue-900 {
    background-color: #1a56db; 
    color: white;
}

.bg-cyan-900 {
    background-color: #0891b2; 
    color: white;
}

.bg-green-900 {
    background-color: #059669; 
    color: white;
}

.bg-red-900 {
    background-color: #dc2626; 
    color: white;
}

.bg-yellow-900 {
    background-color: #a16207; 
    color: white;
}

.bg-orange-900 {
    background-color: #c2410c; 
    color: white;
}

.bg-purple-900 {
    background-color: #6d28d9; 
    color: white;
}

.bg-indigo-900 {
    background-color: #4338ca; 
    color: white;
}

.bg-gray-900 {
    background-color: #334155;
    color: white;
}

.badge.bg-cyan-900, .badge.bg-green-900 {
    background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0.08) 75%, transparent 75%, transparent);
    background-size: 8px 8px;
}

.badge.bg-red-900 {
    background-image: linear-gradient(135deg, rgba(0, 0, 0, 0.08) 25%, transparent 25%, transparent 50%, rgba(0, 0, 0, 0.08) 50%, rgba(0, 0, 0, 0.08) 75%, transparent 75%, transparent);
    background-size: 8px 8px;
}

.badge.bg-gray-900, .badge.bg-blue-900, .badge.bg-indigo-900 {
    opacity: 0.95;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.badge {
    transition: all 0.2s ease-in-out;
}

    .badge:hover {
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
        transform: translateY(-1px);
    }

.bg-purple-700 {
    background-color: #8b5cf6; 
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2); 
}

.badge.bg-purple-700 {
    background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.1) 75%, transparent 75%, transparent);
    background-size: 8px 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* 语言切换按钮 */
.lang-switcher {
    position: fixed;
    top: 20px;
    right: 80px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: rgba(30, 35, 50, 0.9);
    color: #ffffff;
    border: 1px solid #1a56db;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
    transition: all 0.2s ease;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    outline: none;
    border: none;
}

    .lang-switcher:hover {
        background: #1a56db;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(26, 86, 219, 0.3);
    }

    .lang-switcher i {
        font-size: 16px;
        color: #60a5fa;
    }

    .lang-switcher:hover i {
        color: #ffffff;
    }

@media (max-width: 768px) {
    .lang-switcher {
        top: 15px;
        right: 20px;
        padding: 10px 16px;
        font-size: 14px;
        gap: 6px;
    }

        .lang-switcher i {
            font-size: 15px;
        }
}

@media (max-width: 480px) {
    .lang-switcher {
        top: 12px;
        right: 8px;
        padding: 10px 10px;
        font-size: 13px;
        gap: 5px;
        margin-right: -10px !important
    }

        .lang-switcher i {
            font-size: 14px;
        }
}