/* 基础样式 */
@layer utilities {
  .content-auto {
    content-visibility: auto;
  }
  .card-shadow {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  }
  .hover-lift {
    transition: transform 0.2s, box-shadow 0.2s;
  }
  .hover-lift:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  }
  .progress-bar {
    height: 8px;
    border-radius: 4px;
    background: #E2E8F0;
    overflow: hidden;
  }
  .progress-value {
    height: 100%;
    border-radius: 4px;
    transition: width 1s ease-in-out;
  }
  .modal-backdrop {
    backdrop-filter: blur(4px);
  }
  .fade-in {
    animation: fadeIn 0.3s ease-in-out;
  }
  .slide-up {
    animation: slideUp 0.3s ease-in-out;
  }
  .pulse {
    animation: pulse 2s infinite;
  }
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  @keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
  }
  @keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
  }
  .table-hover tr:hover {
    background-color: rgba(59, 130, 246, 0.05);
  }
  .badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.2em 0.5em;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
  }
}

/* 全局样式 */
body {
  font-family: 'Inter', sans-serif;
}

/* 自定义滚动条 */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* 表单元素样式 */
input:focus, select:focus, textarea:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}
    