:root{
  /* HyperOS 2 主题色系 */
  --bg: radial-gradient(1200px 800px at 20% 10%, rgba(255, 87, 34, 0.10), transparent 40%),
        radial-gradient(1000px 700px at 80% 20%, rgba(103, 58, 183, 0.10), transparent 50%),
        radial-gradient(900px 600px at 60% 80%, rgba(0, 188, 212, 0.10), transparent 50%),
        linear-gradient(180deg, #121212, #1a1a1a);
  --card-bg: rgba(255,255,255,0.08);
  --card-stroke: rgba(255,255,255,0.12);
  --text: #ffffff;
  --muted: #b0b0b0;
  --primary: #ff6b35;
  --primary-strong: #ff5722;
  --accent: #7c4dff;
  --success: #4caf50;
  --warning: #ff9800;
  --error: #f44336;
  --shadow: 0 8px 32px rgba(0,0,0,0.4);
  --radius: 20px;
  --radius-sm: 12px;
  --radius-lg: 28px;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  color:var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  background-attachment: fixed;
}
.container{width:min(1100px, 92%); margin:0 auto}
.glass{
  background: var(--card-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--card-stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
.site-header{position:sticky; top:20px; z-index:100; margin:20px 0; width: calc(100% - 40px); margin-left: 20px; margin-right: 20px}
.header-inner{display:flex; align-items:center; justify-content:space-between; padding:16px 24px}
.brand{display:flex; align-items:center; gap:12px; color:var(--text); text-decoration:none; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1)}
.brand:hover{transform: translateY(-2px)}
.brand-mark{display:inline-grid; place-items:center; width:40px; height:40px; border-radius:16px; background:linear-gradient(135deg, var(--primary), var(--accent)); color:#ffffff; font-weight:700; font-size:20px; box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4); transition: all 0.3s ease}
.brand:hover .brand-mark{transform: scale(1.05); box-shadow: 0 8px 25px rgba(255, 107, 53, 0.6)}
.brand-name{font-weight:700; letter-spacing:0.2px; font-size:22px; background: linear-gradient(135deg, #ffffff, var(--primary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text}

/* 桌面端导航 */
.nav{display:flex; align-items:center; gap:8px}
.nav-link{color:var(--text); text-decoration:none; padding:12px 20px; border-radius:16px; opacity:.8; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); font-weight:500; position:relative; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px)}
.nav-link:hover{opacity:1; background:rgba(255,255,255,0.08); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.3)}
.nav-link.active{opacity:1; background:linear-gradient(135deg, rgba(255, 107, 53, 0.2), rgba(124, 77, 255, 0.2)); border:1px solid rgba(255, 107, 53, 0.3); box-shadow: 0 6px 20px rgba(255, 107, 53, 0.2)}

/* 汉堡菜单按钮 */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.mobile-menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 1px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* 移动端导航菜单 */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(18, 18, 18, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: translateY(-100%);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav.active {
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav-link {
  display: block;
  color: var(--text);
  text-decoration: none;
  padding: 16px 24px;
  font-size: 18px;
  font-weight: 500;
  text-align: center;
  width: 100%;
  max-width: 200px;
  border-radius: 12px;
  margin: 8px 0;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.05);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.2), rgba(124, 77, 255, 0.2));
  transform: scale(1.05);
}

.mobile-nav-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.mobile-nav-close:hover {
  background: rgba(255, 255, 255, 0.1);
}
.btn{appearance:none; border:none; padding:14px 24px; border-radius:var(--radius-sm); background:rgba(255,255,255,0.08); color:var(--text); cursor:pointer; font-weight:600; font-size:14px; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); position:relative; overflow:hidden}
.btn:hover{background:rgba(255,255,255,0.12); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,0.3)}
.btn.primary{background: linear-gradient(135deg, var(--primary), var(--accent)); color:#ffffff; font-weight:700; box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3)}
.btn.primary:hover{transform: translateY(-2px); box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4); filter: brightness(1.1)}
.btn.subtle{background:transparent; border:1px dashed rgba(255,255,255,0.2); backdrop-filter: none}
.btn.subtle:hover{background:rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.3)}

/* 涟漪效果 */
.btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  transform: scale(0);
  animation: ripple 0.6s linear;
  pointer-events: none;
}

.btn.primary .ripple {
  background: rgba(255, 255, 255, 0.8);
}
.hero{padding:80px 0 60px}
.hero-card{padding:48px; text-align:center}
.title{margin:0 0 16px; font-size:clamp(36px, 5vw, 56px); font-weight:800; letter-spacing:-0.5px; background: linear-gradient(135deg, #ffffff, var(--primary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height:1.2}
.subtitle{margin:0 0 32px; color:var(--muted); font-size:clamp(16px, 2vw, 20px); line-height:1.6; max-width:600px; }
.hero-actions{display:flex; gap:16px; margin-top:24px; justify-content:center; flex-wrap:wrap}
.features{padding:60px 0}
.grid{display:grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap:24px}
.card{padding:32px; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1)}
.card:hover{transform: translateY(-8px); box-shadow: 0 20px 50px rgba(0,0,0,0.5)}
/* 确保页面内容撑满屏幕 */
html, body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

.site-footer {
  margin-top: auto;
  padding: 20px 0;
  width: 100%;
}

.footer-inner {
  padding: 12px 16px;
  text-align: center;
}

/* HyperOS 2 特有设计元素 */
.section-title {
  text-align: center;
  font-size: clamp(28px, 3vw, 40px);
  margin: 0 0 48px;
  background: linear-gradient(135deg, #ffffff, var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  letter-spacing: -0.5px;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
}

.about {
  padding: 60px 0;
}

.about-content {
  padding: 40px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-text p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--muted);
}

.stats {
  display: flex;
  gap: 30px;
  margin-top: 30px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 28px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 14px;
  color: var(--muted);
}

.about-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-placeholder {
  width: 200px;
  height: 200px;
}

.services {
  padding: 60px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.service-card {
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 20px;
  margin: 0 0 15px;
}

.service-card p {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-features li {
  padding: 8px 0;
  color: var(--text);
  font-size: 14px;
  position: relative;
  padding-left: 20px;
}

.service-features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

.workflow {
  padding: 60px 0;
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #0b0d10;
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.step-content p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.cta-section {
  padding: 60px 0;
}

.cta-card {
  padding: 50px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-card h2 {
  font-size: 32px;
  margin: 0 0 20px;
}

.cta-card p {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 30px;
  line-height: 1.6;
}

.cta-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

/* HyperOS 2 动画效果 */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 20px rgba(255, 107, 53, 0.3); }
  50% { box-shadow: 0 0 30px rgba(255, 107, 53, 0.6); }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* 动画类 */
.animate-float {
  animation: float 3s ease-in-out infinite;
}

.animate-glow {
  animation: glow 2s ease-in-out infinite;
}

.animate-slide-in-up {
  animation: slideInUp 0.6s ease-out;
}

/* 滚动动画 */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 移动端响应式设计 */
@media (max-width: 768px) {
  /* 基础布局调整 */
  .container {
    width: calc(100% - 32px);
    margin: 0 16px;
    padding: 30px 0 30px;
  }
  
  /* 导航栏移动端优化 */
  .site-header {
    top: 8px;
    margin: 8px 0;
    width: calc(100% - 16px);
    margin-left: 8px;
    margin-right: 8px;
    backdrop-filter: blur(30px) saturate(200%);
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    min-height: 70px; /* 增加导航栏厚度 */
  }
  
  .header-inner {
    padding: 16px 20px; /* 增加内边距 */
    flex-direction: row;
    gap: 0;
    justify-content: space-between;
    align-items: center;
    min-height: 60px; /* 增加内部高度 */
  }
  
  .brand {
    gap: 8px;
  }
  
  .brand-mark {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }
  
  .brand-name {
    font-size: 18px;
  }
  
  /* 隐藏桌面导航，显示汉堡菜单 */
  .nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .mobile-nav {
    display: flex;
  }
  
  .nav-link {
    padding: 8px 12px;
    font-size: 13px;
    border-radius: 12px;
  }
  
  /* 首页移动端优化 */
  .hero {
    padding: 40px 0 30px;
  }
  
  .hero-card {
    padding: 24px 16px;
  }
  
  .title {
    font-size: clamp(28px, 6vw, 36px);
    margin-bottom: 12px;
  }
  
  .subtitle {
    font-size: 14px;
    margin-bottom: 24px;
  }
  
  .hero-actions {
    gap: 12px;
    margin-top: 20px;
  }
  
  .btn {
    padding: 12px 20px;
    font-size: 13px;
    min-width: 120px;
  }
  
  /* 卡片和网格布局 */
  .features {
    padding: 40px 0;
  }
  
  .grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .card {
    padding: 20px 16px;
    margin: 0 8px;
    margin-top: 32x; /* 增加卡片与导航栏的距离 */
  }
  
  /* 首页主卡片与导航栏的距离 */
  .hero {
    padding: 60px 0 30px; /* 增加顶部间距 */
  }
  
  /* 表单卡片与导航栏的距离 */
  .auth-container {
    min-height: calc(100dvh - 140px); /* 增加间距 */
    padding: 30px 0; /* 增加顶部和底部间距 */
  }
  
  /* 关于部分 */
  .about {
    padding: 40px 0;
  }
  
  .about-content {
    padding: 24px 16px;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .about-text p {
    font-size: 14px;
    line-height: 1.6;
  }
  
  .stats {
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
  }
  
  .stat-number {
    font-size: 24px;
  }
  
  .stat-label {
    font-size: 12px;
  }
  
  /* 服务部分 */
  .services {
    padding: 40px 0;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .service-card {
    padding: 20px 16px;
  }
  
  .service-icon {
    font-size: 36px;
    margin-bottom: 16px;
  }
  
  /* 工作流程 */
  .workflow {
    padding: 40px 0;
  }
  
  .workflow-steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .step {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  
  .step-number {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
  
  /* CTA部分 */
  .cta-section {
    padding: 40px 0;
  }
  
  .cta-card {
    padding: 24px 16px;
  }
  
  .cta-card h2 {
    font-size: 24px;
    margin-bottom: 16px;
  }
  
  .cta-card p {
    font-size: 14px;
    margin-bottom: 24px;
  }
  
  .cta-actions {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  
  /* 表单页面移动端优化 */
  .auth-container {
    min-height: calc(100dvh - 120px);
    padding: 20px 0;
  }
  
  .auth-card {
    width: calc(100% - 32px);
    padding: 20px 16px;
  }
  
  .form-item {
    margin: 12px 0;
  }
  
  .form-item input {
    padding: 14px 16px;
    font-size: 14px;
  }
  
  .form-actions {
    flex-direction: column;
    gap: 12px;
  }
  
  /* 页脚 */
  .site-footer {
    margin: 16px auto 24px;
  }
  
  .footer-inner {
    padding: 12px 16px;
    font-size: 12px;
  }
  
  /* 模态框移动端优化 */
  .modal {
    width: calc(100% - 32px);
    margin: 0 16px;
  }
  
  .modal-header {
    padding: 16px 20px 0;
  }
  
  .modal-body {
    padding: 20px;
    max-height: 70vh;
  }
  
  .modal-footer {
    padding: 0 20px 20px;
    flex-direction: column;
    gap: 12px;
  }
  
  .modal-btn {
    width: 100%;
    padding: 12px 20px;
  }
  
  /* 搜索和筛选 */
  .search-filter {
    flex-direction: column;
    gap: 12px;
  }
  
  .search-input {
    min-width: auto;
    width: 100%;
  }
  
  .filter-select {
    width: 100%;
  }
}

/* 超小屏幕优化 (小于 480px) */
@media (max-width: 480px) {
  .container {
    width: calc(100% - 24px);
    margin: 0 12px;
  }
  
  .site-header {
    top: 4px;
    margin: 4px 0;
    width: calc(100% - 8px);
    margin-left: 4px;
    margin-right: 4px;
  }
  
  .header-inner {
    padding: 8px 12px;
    gap: 8px;
  }
  
  .nav {
    gap: 2px;
  }
  
  .nav-link {
    padding: 6px 8px;
    font-size: 12px;
  }
  
  .hero {
    padding: 30px 0 20px;
  }
  
  .hero-card {
    padding: 20px 12px;
  }
  
  .title {
    font-size: 24px;
  }
  
  .subtitle {
    font-size: 13px;
  }
  
  .btn {
    padding: 10px 16px;
    font-size: 12px;
    min-width: 100px;
  }
  
  .card {
    padding: 16px 12px;
    margin: 0 4px;
  }
  
  .auth-card {
    padding: 16px 12px;
  }
  
  .form-item input {
    padding: 12px 14px;
  }
}

.auth-container{display:grid; place-items:center; min-height:calc(100dvh - 180px)}
.auth-card{width:min(520px, 96%); padding:22px}
.form-item{display:flex; flex-direction:column; gap:8px; margin:16px 0}
.form-item label{font-weight:600; color:var(--text); font-size:14px}
.form-item input{padding:16px 18px; border-radius:var(--radius-sm); border:1px solid rgba(255,255,255,0.15); background:rgba(255,255,255,0.05); color:var(--text); outline:none; font-size:15px; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px)}
.form-item input:hover{border-color: rgba(255,255,255,0.25); background:rgba(255,255,255,0.08)}
.form-item input:focus{border-color: var(--primary); box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.2); background:rgba(255,255,255,0.1); transform: translateY(-1px)}
.form-actions{display:flex; gap:10px; align-items:center; margin-top:6px}
.error{color:#ffb4c4; min-height:18px}
.muted{color:var(--muted)}
.form-feedback{margin-top:10px; min-height:20px}

.user-welcome{margin-top:14px; color:#c7ffd7}
.hidden{display:none !important}

/* 状态徽章样式 */
.status-badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-active {
  background: rgba(76, 175, 80, 0.2);
  color: #4caf50;
  border: 1px solid rgba(76, 175, 80, 0.3);
}

.status-disabled {
  background: rgba(244, 67, 54, 0.2);
  color: #f44336;
  border: 1px solid rgba(244, 67, 54, 0.3);
}

/* 管理按钮样式 */
.btn-admin {
  appearance: none;
  border: none;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-admin:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn-admin.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-admin.btn-warning {
  background: rgba(255, 152, 0, 0.2);
  color: #ff9800;
  border: 1px solid rgba(255, 152, 0, 0.3);
}

.btn-admin.btn-danger {
  background: rgba(244, 67, 54, 0.2);
  color: #f44336;
  border: 1px solid rgba(244, 67, 54, 0.3);
}

.btn-admin.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

.btn-admin.btn-warning:hover {
  background: rgba(255, 152, 0, 0.3);
}

.btn-admin.btn-danger:hover {
  background: rgba(244, 67, 54, 0.3);
}

/* Select选择框美化样式 */
.filter-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 12px 40px 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23aab0bb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 14px center;
  background-size: 16px;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.3s ease;
  outline: none;
  min-width: 140px;
}

.filter-select:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background-color: rgba(255, 255, 255, 0.08);
}

.filter-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(106, 168, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.1);
}

.filter-select option {
  background: #1a1d24;
  color: var(--text);
  padding: 8px 12px;
}

.filter-select:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Textarea文本框样式 */
textarea {
  appearance: none;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  resize: vertical;
  min-height: 80px;
  transition: all 0.3s ease;
  width: 100%;
}

textarea:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(106, 168, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
}

textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

textarea:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* 管理后台select样式 */
.admin-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 8px 36px 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 8px center;
  background-size: 16px;
  color: #374151;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
}

.admin-select:hover {
  border-color: #9ca3af;
}

.admin-select:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.admin-select option {
  background: white;
  color: #374151;
  padding: 8px 12px;
}

/* 搜索和筛选区域样式 */
.search-filter {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.search-input {
  flex: 1;
  min-width: 200px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition: all 0.3s ease;
}

.search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(106, 168, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

/* 模态框样式 */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--card-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--card-stroke);
  border-radius: var(--radius);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  width: min(480px, 90vw);
  max-height: 90vh;
  overflow: hidden;
  transform: scale(0.9) translateY(20px);
  transition: all 0.3s ease;
}

.modal-overlay.active .modal {
  transform: scale(1) translateY(0);
}

.modal-header {
  padding: 20px 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 20px;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

.modal-body {
  padding: 24px;
  max-height: 60vh;
  overflow-y: auto;
}

.modal-footer {
  padding: 0 24px 24px;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.modal-message {
  color: var(--text);
  line-height: 1.6;
  margin: 0;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal-form .form-item {
  margin: 0;
}

.modal-form .form-item label {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-weight: 500;
  font-size: 14px;
}

.modal-form .form-item input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  outline: none;
  font-size: 14px;
}

.modal-form .form-item input:focus {
  border-color: var(--primary);
}

.modal-form .form-item input[type="password"] {
  font-family: monospace;
}

.modal-form .form-hint {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

.modal-btn {
  padding: 10px 20px;
  border-radius: 10px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
}

.modal-btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #0b0d10;
}

.modal-btn-primary:hover {
  filter: brightness(1.1);
}

.modal-btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.modal-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

.modal-btn-danger {
  background: rgba(244, 67, 54, 0.2);
  color: #f44336;
  border: 1px solid rgba(244, 67, 54, 0.3);
}

.modal-btn-danger:hover {
  background: rgba(244, 67, 54, 0.3);
}

.modal-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.modal-btn:disabled:hover {
  filter: none;
  background: inherit;
}
