/*返回顶部相关样式*/
        .scrollToTop {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 40px;
            height: 40px;
            border-radius: 10%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 9999;
            opacity: 0;
            visibility: hidden;
            transform: translateY(20px);
            transition: all 0.3s ease;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        }

        .scrollToTop.show {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .scrollToTop:hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        }

        .arrow {
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* 响应式调整 */
        @media (max-width: 768px) {
            .scrollToTop {
                bottom: 20px;
                right: 20px;
                width: 45px;
                height: 45px;
            }
        }
        
        
        
        
/*全站自定义样式表*/
.progress-sm {
    height: 2px !important;
}

.progress-sm .progress-bar {
    height: 2px !important;
}

/* 更小的按钮尺寸 */
.btn-sm {
  padding: 0.325rem 0.25rem !important;
  font-size: 0.75rem !important;
  border-radius: 0.2rem !important;
  line-height: 1.2 !important;
}

/* 尺寸变体 - 直接覆盖Bootstrap 5的尺寸类 */
.badge-sm {
    font-size: 0.75rem !important;
    padding: 4px 8px !important;
}

.badge-xs {
    font-size: 0.65rem !important;
    padding: 3px 6px !important;
}

.badge-xxs {
    font-size: 0.55rem !important;
    padding: 2px 4px !important;
}

/* Primary */
.bg-primary {
  background: linear-gradient(135deg, #5D87FF 0%, #49BEFF 100%) !important;
  color: white !important;
}

/* Primary with deeper gradient */
.bg-primary-gradient {
  background: linear-gradient(135deg, #4A7BFF 0%, #5D87FF 50%, #6EA2FF 100%) !important;
  color: white !important;
}

/* Secondary */
.bg-secondary {
  background: linear-gradient(135deg, #49BEFF 0%, #539BFF 100%) !important;
  color: white !important;
}

/* Secondary with deeper gradient */
.bg-secondary-gradient {
  background: linear-gradient(135deg, #3AA7FF 0%, #49BEFF 50%, #5DB4FF 100%) !important;
  color: white !important;
}

/* Success */
.bg-success {
  background: linear-gradient(135deg, #13DEB9 0%, #13DE95 100%) !important;
  color: white !important;
}

/* Success with deeper gradient */
.bg-success-gradient {
  background: linear-gradient(135deg, #0FD8A5 0%, #13DEB9 50%, #17E4CE 100%) !important;
  color: white !important;
}

/* Danger */
.bg-danger {
  background: linear-gradient(135deg, #FA896B 0%, #FF6B6B 100%) !important;
  color: white !important;
}

/* Danger with deeper gradient */
.bg-danger-gradient {
  background: linear-gradient(135deg, #F97058 0%, #FA896B 50%, #FB9E7D 100%) !important;
  color: white !important;
}

/* Warning */
.bg-warning {
  background: linear-gradient(135deg, #FFAE1F 0%, #FFC107 100%) !important;
  color: white !important;
}

/* Warning with deeper gradient */
.bg-warning-gradient {
  background: linear-gradient(135deg, #FF9800 0%, #FFAE1F 50%, #FFC133 100%) !important;
  color: white !important;
}

/* Info */
.bg-info {
  background: linear-gradient(135deg, #539BFF 0%, #49BEFF 100%) !important;
  color: white !important;
}

/* Info with deeper gradient */
.bg-info-gradient {
  background: linear-gradient(135deg, #428BFF 0%, #539BFF 50%, #64ACFF 100%) !important;
  color: white !important;
}

/* Light */
.bg-light {
  background: linear-gradient(135deg, #F6F9FC 0%, #EBF2F7 100%) !important;
  color: #212529 !important;
}

/* Light with deeper gradient */
.bg-light-gradient {
  background: linear-gradient(135deg, #F0F5FA 0%, #F6F9FC 50%, #FFFFFF 100%) !important;
  color: #212529 !important;
}

/* Dark */
.bg-dark {
  background: linear-gradient(135deg, #2A3547 0%, #1E2836 100%) !important;
  color: white !important;
}

/* Dark with deeper gradient */
.bg-dark-gradient {
  background: linear-gradient(135deg, #1E2836 0%, #2A3547 50%, #364254 100%) !important;
  color: white !important;
}

/* Additional gradient variations for more flexibility */

/* Vertical gradient variations */
.bg-primary-vertical {
  background: linear-gradient(to bottom, #5D87FF 0%, #49BEFF 100%) !important;
  color: white !important;
}

.bg-success-vertical {
  background: linear-gradient(to bottom, #13DEB9 0%, #0FC7A7 100%) !important;
  color: white !important;
}

.bg-danger-vertical {
  background: linear-gradient(to bottom, #FA896B 0%, #F96B52 100%) !important;
  color: white !important;
}

/* Radial gradient variations */
.bg-primary-radial {
  background: radial-gradient(circle, #5D87FF 0%, #49BEFF 100%) !important;
  color: white !important;
}

.bg-success-radial {
  background: radial-gradient(circle, #13DEB9 0%, #13DE95 100%) !important;
  color: white !important;
}

/* Horizontal gradient variations */
.bg-primary-horizontal {
  background: linear-gradient(to right, #5D87FF 0%, #49BEFF 100%) !important;
  color: white !important;
}

.bg-warning-horizontal {
  background: linear-gradient(to right, #FFAE1F 0%, #49BEFF 100%) !important;
}


/* 按钮样式 */
.btn-primary {
  background-color: #5D87FF !important;
  border-color: #5D87FF !important;
  color: white !important;
}

.btn-primary:hover {
  background-color: #4a6de0 !important;
  border-color: #4a6de0 !important;
}

.btn-secondary {
  background-color: #49BEFF !important;
  border-color: #49BEFF !important;
  color: white !important;
}

.btn-secondary:hover {
  background-color: #3aa6e6 !important;
  border-color: #3aa6e6 !important;
}

.btn-success {
  background-color: #13DEB9 !important;
  border-color: #13DEB9 !important;
  color: white !important;
}

.btn-success:hover {
  background-color: #0fc29d !important;
  border-color: #0fc29d !important;
}

.btn-danger {
  background-color: #FA896B !important;
  border-color: #FA896B !important;
  color: white !important;
}

.btn-danger:hover {
  background-color: #e17055 !important;
  border-color: #e17055 !important;
}

.btn-warning {
  background-color: #FFAE1F !important;
  border-color: #FFAE1F !important;
  color: white !important;
}

.btn-warning:hover {
  background-color: #e69a1c !important;
  border-color: #e69a1c !important;
}

.btn-info {
  background-color: #539BFF !important;
  border-color: #539BFF !important;
  color: white !important;
}

.btn-info:hover {
  background-color: #427ae6 !important;
  border-color: #427ae6 !important;
}

.btn-light {
  background-color: #F6F9FC !important;
  border-color: #F6F9FC !important;
  color: #212529 !important;
}

.btn-light:hover {
  background-color: #d8e2e9 !important;
  border-color: #d8e2e9 !important;
}

.btn-dark {
  background-color: #2A3547 !important;
  border-color: #2A3547 !important;
  color: white !important;
}

.btn-dark:hover {
  background-color: #212a39 !important;
  border-color: #212a39 !important;
}

/* 方法3: 使用滤镜增强亮度 */
.text-iwhite {
  color: #ffffff !important;
  -webkit-filter: brightness(1.2) contrast(1.1);  /* WebKit 前缀在前 */
  filter: brightness(1.2) contrast(1.1);          /* 标准属性在后 */
}

figure.table {
  margin: 1rem 0;
}

figure.table table {
  width: 100%;
  margin-bottom: 1rem;
  color: #212529;
  border-collapse: collapse !important;
  border: 1px solid #dee2e6;
}

figure.table table th,
figure.table table td {
  padding: 0.5rem 0.5rem;
  vertical-align: top;
  border-top: 1px solid #dee2e6;
  border-right: 1px solid #dee2e6;
}

figure.table table th {
  background-color: #f8f9fa;
  font-weight: 600;
  border-bottom: 2px solid #dee2e6;
}

figure.table table > :not(:first-child) {
  border-top: 2px solid #dee2e6;
}

figure.table table tr:hover {
  background-color: #f8f9fa;
}

/* 条纹表格 */
figure.table.table-striped table tbody tr:nth-child(odd) {
  background-color: #f8f9fa;
}

/* 日历模式自定义样式 */
.fc-event {
    border: none  !important; /* 去掉边框 */
    padding: 5px 5px; /* 上下 5px，左右 0 */
}
.fc-event-title {
    white-space: normal;
    line-height: 1.2;
    max-height: 3.7em; /* 两行高度 */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
        padding-top: 4px;    /* 上边距 */
    padding-bottom: 4px; /* 下边距 */
}

/* 确保即使只有一行也保持2行高度 */
.fc-event-title-container {
  height: 3.6em;
  display: flex;
  align-items: center;
}

  .event-icon {
      vertical-align: middle;
      margin-right: 2px;
      margin-left: 2px;
      width: 12px;
      height: 12px;
      border: 1px solid white; /* 白色边框 */
      border-radius: 3px; /* 圆角边框，可选 */
      box-sizing: border-box; /* 确保边框包含在宽高内 */
  }
  
  
/* 自定义进度条颜色 */
.noUi-connect {
    background: linear-gradient(135deg, #13DEB9 0%, #13DE95 100%);
}

        /* 使 alert 固定在顶部 */
        #save-status {
            position: fixed; /* 固定定位 */
            top: 0; /* 顶部对齐 */
            left: 50%; /* 水平居中 */
            transform: translateX(-50%); /* 移动到中心 */
            z-index: 1050; /* 确保在其他元素之上 */
            width: 50%; /* 宽度为100% */
            margin: 0; /* 消除默认边距 */
        }
    /* 移动端适配 */
    
        @media (max-width: 1280px) {
    .ck {
      font-size: 18px; /* 在移动端使用更大的字号 */
    }
  }
    
  @media (max-width: 768px) {
    .ck {
      font-size: 20px; /* 在移动端使用更大的字号 */
    }
  }
  
  /* 小屏幕手机特别适配 */
  @media (max-width: 480px) {
    .ck {
      font-size: 22px;
    }
  }