/* ========================================
   CTGS - 科技风原生样式
   ======================================== */

/* 导入设计变量 */
@import url('design-tokens-tech.css');

/* ===== 重置 ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== 导航栏 ===== */
.tech-navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(226, 232, 240, 0.5);
  transition: box-shadow 300ms ease, background-color 300ms ease;
}

.tech-navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .tech-navbar-inner {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .tech-navbar-inner {
    padding: 0 2rem;
  }
}

/* Logo */
.tech-navbar-logo {
  display: flex;
  align-items: center;
}

.tech-logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  transition: opacity 200ms;
}

.tech-logo-link:hover {
  opacity: 0.8;
}

.tech-logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #3b82f6 0%, #10b981 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.25);
}

.tech-logo-icon-sm {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.tech-logo-text {
  color: white;
  font-weight: bold;
  font-size: 1.125rem;
}

.tech-logo-brand {
  font-size: 1.25rem;
  font-weight: bold;
  background: linear-gradient(135deg, #3b82f6 0%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 导航链接 */
.tech-navbar-nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 768px) {
  .tech-navbar-nav {
    display: flex;
  }
}

.tech-nav-link {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #64748b;
  text-decoration: none;
  transition: background-color 200ms ease, color 200ms ease;
}

.tech-nav-link:hover {
  background: #eff6ff;
  color: #1e293b;
}

.tech-nav-link:active {
  transform: scale(0.96);
}

.tech-nav-link-active {
  background: #eff6ff;
  color: #3b82f6;
}

/* 用户操作区 */
.tech-navbar-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.tech-navbar-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* 按钮 */
.tech-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border: 2px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 250ms ease, transform 250ms ease, box-shadow 250ms ease;
  text-decoration: none;
}

.tech-btn:active {
  transform: scale(0.96);
}

.tech-btn-primary {
  background: linear-gradient(135deg, #3b82f6 0%, #10b981 100%);
  color: white;
  border: none;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: transform 250ms ease, box-shadow 250ms ease, background-position 250ms ease;
}

.tech-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05), 0 0 30px rgba(59, 130, 246, 0.4), 0 0 60px rgba(16, 185, 129, 0.2);
  color: white;
}

.tech-btn-primary:active {
  transform: scale(0.96);
}

.tech-btn-icon {
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #94a3b8;
  transition: color 200ms ease, background-color 200ms ease;
  position: relative;
  min-width: 40px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tech-btn-icon:hover {
  color: #1e293b;
  background: #f1f5f9;
  border-radius: 8px;
}

.tech-btn-icon:active {
  transform: scale(0.96);
}

.tech-badge-dot {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
}

/* 下拉菜单 */
.tech-dropdown {
  position: relative;
}

.tech-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: none;
  border: none;
  cursor: pointer;
  transition: background-color 200ms ease;
  border-radius: 8px;
}

.tech-dropdown-trigger:hover {
  background: #f1f5f9;
}

.tech-dropdown-trigger:active {
  transform: scale(0.96);
}

.tech-avatar {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #3b82f6 0%, #10b981 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.tech-avatar-text {
  color: white;
  font-size: 0.875rem;
  font-weight: bold;
}

.tech-dropdown-username {
  font-size: 0.875rem;
  font-weight: 500;
  color: #334155;
  display: none;
}

@media (min-width: 768px) {
  .tech-dropdown-username {
    display: block;
  }
}

.tech-dropdown-arrow {
  font-size: 0.75rem;
  color: #94a3b8;
}

.tech-dropdown-menu {
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 0.5rem;
  width: 224px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(226, 232, 240, 0.5);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 200ms ease, visibility 200ms ease;
  transform-origin: top right;
}

.tech-dropdown:hover .tech-dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.tech-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: #334155;
  text-decoration: none;
  border-radius: 8px;
  transition: background 200ms;
}

.tech-dropdown-item:hover {
  background: #f1f5f9;
}

.tech-dropdown-item-danger {
  color: #dc2626;
}

.tech-dropdown-item-danger:hover {
  background: #fef2f2;
}

.tech-dropdown-divider {
  height: 1px;
  background: #e2e8f0;
  margin: 0.5rem 0;
}

/* 币种切换 */
.tech-currency-switch {
  display: none;
}

@media (min-width: 768px) {
  .tech-currency-switch {
    display: block;
  }
}

.tech-select {
  font-size: 0.875rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 0.25rem 0.5rem;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.tech-select:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
  border-color: transparent;
}

/* 移动端菜单按钮 */
.tech-mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: #64748b;
  font-size: 1.5rem;
}

@media (min-width: 768px) {
  .tech-mobile-menu-btn {
    display: none;
  }
}

/* ===== 主内容区 ===== */
.tech-body {
  background: #f8fafc;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: #1e293b;
  -webkit-font-smoothing: antialiased;
}

.tech-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

@media (min-width: 640px) {
  .tech-main {
    padding: 2rem 1.5rem;
  }
}

@media (min-width: 1024px) {
  .tech-main {
    padding: 2rem;
  }
}

/* ===== 闪存消息（使用 transitions 替代 keyframes） ===== */
.tech-flash-messages {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.5rem 1rem 0;
}

.tech-toast {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  border-left: 4px solid;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.tech-toast.visible {
  opacity: 1;
  transform: translateY(0);
}

.tech-toast-success {
  background: #ecfdf5;
  border-color: #10b981;
  color: #064e3b;
}

.tech-toast-error {
  background: #fef2f2;
  border-color: #ef4444;
  color: #991b1b;
}

.tech-toast-icon {
  font-size: 1.25rem;
  margin-right: 0.75rem;
}

.tech-toast-message {
  font-weight: 500;
  flex: 1;
}

.tech-toast-close {
  background: none;
  border: none;
  cursor: pointer;
  color: #94a3b8;
  transition: color 200ms;
  margin-left: 1rem;
}

.tech-toast-close:hover {
  color: #1e293b;
}

@keyframes tech-fade-in {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== 页脚 ===== */
.tech-footer {
  background: white;
  border-top: 1px solid rgba(226, 232, 240, 0.5);
  margin-top: 5rem;
  padding: 3rem 0;
}

.tech-footer .tech-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .tech-footer .tech-container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .tech-footer .tech-container {
    padding: 0 2rem;
  }
}

.tech-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .tech-footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.tech-footer-brand {
  grid-column: 1;
}

@media (min-width: 768px) {
  .tech-footer-brand {
    grid-column: 1 / 2;
  }
}

.tech-footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.tech-footer-description {
  font-size: 0.875rem;
  color: #94a3b8;
  line-height: 1.625;
}

.tech-footer-section {
  /* 样式已在 grid 中 */
}

.tech-footer-title {
  font-size: 0.875rem;
  font-weight: bold;
  color: #1e293b;
  margin-bottom: 1rem;
}

.tech-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tech-footer-links li {
  margin-bottom: 0.5rem;
}

.tech-footer-link {
  font-size: 0.875rem;
  color: #94a3b8;
  text-decoration: none;
  transition: color 200ms;
}

.tech-footer-link:hover {
  color: #3b82f6;
}

.tech-footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.875rem;
  color: #94a3b8;
}

.tech-footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.tech-footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
  text-align: center;
}

.tech-footer-bottom p {
  font-size: 0.875rem;
  color: #94a3b8;
}

/* ===== 登录页样式 ===== */
.tech-login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    position: relative;
    background: linear-gradient(135deg, #f0fdf4 0%, #eff6ff 100%);
}

.tech-login-bg-decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.tech-login-bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.15;
}

.tech-login-bg-blob-1 {
    top: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: var(--brand-primary, #6366f1);
    /* 移除 animation - 使用静态装饰 */
    opacity: 0.12;
}

.tech-login-bg-blob-2 {
    bottom: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: var(--brand-secondary, #06b6d4);
    /* 移除 animation - 使用静态装饰 */
    opacity: 0.12;
}

/* 背景装饰动画已移除 - 使用 ui-ux-optimized.css 中的 transitions */
/* 原因：make-interfaces-feel-better 原则 #4 */

.tech-login-card-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
}

.tech-login-logo-section {
    text-align: center;
    margin-bottom: 2rem;
}

.tech-login-logo-link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.tech-login-logo-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #3b82f6 0%, #10b981 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.3),
                0 5px 10px -5px rgba(16, 185, 129, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tech-login-logo-icon:hover {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 15px 35px -5px rgba(59, 130, 246, 0.4),
                0 8px 15px -5px rgba(16, 185, 129, 0.3);
}

.tech-login-logo-text {
    color: white;
    font-size: 1.75rem;
    font-weight: bold;
}

.tech-login-title {
    font-size: 1.75rem;
    font-weight: bold;
    color: #1e293b;
    margin: 0;
    background: linear-gradient(135deg, #3b82f6 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tech-login-subtitle {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0.25rem 0 0 0;
}

.tech-login-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
                0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(226, 232, 240, 0.5);
    padding: 2rem;
    transition: box-shadow 0.3s ease;
}

.tech-login-card:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15),
                0 0 30px rgba(59, 130, 246, 0.1);
}

.tech-login-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.tech-login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.875rem;
}

.tech-login-register-link {
    text-align: center;
    font-size: 0.875rem;
    color: #64748b;
    margin-top: 1rem;
}

/* ===== 表单样式 ===== */
.tech-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tech-form-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
}

.tech-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.tech-form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    padding-left: 2.5rem;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    color: #1e293b;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tech-form-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.tech-form-input::placeholder {
    color: #9ca3af;
}

.tech-input-icon {
    position: absolute;
    left: 0.75rem;
    display: flex;
    align-items: center;
    color: #9ca3af;
    font-size: 1rem;
}

.tech-input-toggle {
    position: absolute;
    right: 0.75rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #9ca3af;
    transition: color 0.2s ease;
    padding: 0.25rem;
}

.tech-input-toggle:hover {
    color: #3b82f6;
}

/* ===== 复选框 ===== */
.tech-checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.875rem;
    color: #4b5563;
}

.tech-checkbox {
    width: 1rem;
    height: 1rem;
    accent-color: #3b82f6;
}

.tech-checkbox-text {
    user-select: none;
}

/* ===== 链接 ===== */
.tech-link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.tech-link:hover {
    color: #2563eb;
    text-decoration: underline;
}

/* ===== 按钮尺寸 ===== */
.tech-btn-lg {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
}

/* ===== 19. Site Footer (原生页脚样式) ===== */
.site-footer {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding: 24px 20px;
    text-align: center;
    margin-top: 60px;
}

.site-footer-inner {
    max-width: 1200px;
    margin: 0 auto 8px;
    font-size: 14px;
    color: #334155;
}

.site-footer-brand {
    font-weight: 600;
    color: #0f172a;
}

.site-footer-sep {
    margin: 0 8px;
    color: #cbd5e1;
}

.site-footer-link {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.2s;
}

.site-footer-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.site-footer-copy {
    font-size: 12px;
    color: #94a3b8;
}

/* ===== 图标系统 (合并自 icons.css) ===== */
/* ===== 图标系统 - IconPark + Arco 风格 ===== */

/* 基础图标类 */
.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    fill: none;
    stroke: currentColor;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* 图标尺寸变体 */
.icon-xs {
    width: 0.75rem;
    height: 0.75rem;
}

.icon-sm {
    width: 0.875rem;
    height: 0.875rem;
}

.icon-base {
    width: 1rem;
    height: 1rem;
}

.icon-lg {
    width: 1.25rem;
    height: 1.25rem;
}

.icon-xl {
    width: 1.5rem;
    height: 1.5rem;
}

.icon-2xl {
    width: 2rem;
    height: 2rem;
}

.icon-3xl {
    width: 2.5rem;
    height: 2.5rem;
}

.icon-4xl {
    width: 3rem;
    height: 3rem;
}

/* 图标颜色变体 */
.icon-primary {
    color: var(--color-primary);
}

.icon-secondary {
    color: var(--color-secondary);
}

.icon-success {
    color: var(--color-secondary);
}

.icon-danger {
    color: var(--color-danger);
}

.icon-warning {
    color: var(--color-warning);
}

.icon-info {
    color: var(--color-primary);
}

.icon-white {
    color: var(--text-white);
}

.icon-gray {
    color: var(--text-tertiary);
}

/* 图标动画 */
.icon-spin {
    animation: icon-spin 1s linear infinite;
}

@keyframes icon-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.icon-pulse {
    animation: icon-pulse 2s ease-in-out infinite;
}

@keyframes icon-pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* 图标按钮 */
.icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: none;
    border-radius: var(--radius-lg);
    background: transparent;
    color: var(--text-tertiary);
    cursor: pointer;
    transition: background-color var(--transition-base), color var(--transition-base);
}

.icon-btn:hover {
    background: var(--bg-gray-100);
    color: var(--text-secondary);
}

.icon-btn:active {
    transform: scale(0.95);
}

.icon-btn-primary {
    background: var(--color-primary-bg);
    color: var(--color-primary);
}

.icon-btn-primary:hover {
    background: var(--color-primary);
    color: var(--text-white);
}

/* 图标 + 文字组合 */
.icon-with-text {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-2);
}

.icon-with-text .icon {
    flex-shrink: 0;
}

/* 占位符（图标不存在时） */
.icon-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1em;
    height: 1em;
    color: var(--text-tertiary);
    font-size: 0.75em;
}

/* 导航图标（侧边栏） */
.admin-nav-icon .icon {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: var(--spacing-3);
}

/* Logo 图标 */
.admin-logo-icon .icon,
.tech-logo-icon .icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--text-white);
}

/* 按钮中的图标 */
.btn .icon {
    width: 1rem;
    height: 1rem;
}

.btn-primary .icon {
    color: var(--text-white);
}

/* 警告框图标 */
.admin-alert-icon .icon {
    width: 1.25rem;
    height: 1.25rem;
}

/* 响应式 */
@media (max-width: 768px) {
    .icon-4xl {
        width: 2.5rem;
        height: 2.5rem;
    }
    
    .icon-3xl {
        width: 2rem;
        height: 2rem;
    }
}
/* ===== 图标系统结束 ===== */

/* ===== 视觉效果增强 (合并自 effects-tech.css) ===== */

/* ===== 移动端适配 (合并自 mobile.css) ===== */
/* ========================================
   CTGS - 科技风增强样式
   额外的视觉效果和动画
   ======================================== */

/* ===== 光晕效果增强 ===== */
.tech-glow-blue {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3),
                0 0 40px rgba(59, 130, 246, 0.15);
}

.tech-glow-green {
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3),
                0 0 40px rgba(16, 185, 129, 0.15);
}

.tech-glow-purple {
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3),
                0 0 40px rgba(139, 92, 246, 0.15);
}

.tech-glow-all {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.2),
                0 0 40px rgba(16, 185, 129, 0.15),
                0 0 60px rgba(139, 92, 246, 0.1);
}

/* ===== 渐变背景增强 ===== */
.tech-bg-gradient-hero {
    background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 50%, #faf5ff 100%);
    position: relative;
    overflow: hidden;
}

.tech-bg-gradient-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    animation: float-bg 20s ease-in-out infinite;
}

@keyframes float-bg {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(5%, 5%); }
    50% { transform: translate(-3%, 8%); }
    75% { transform: translate(6%, -3%); }
}

/* ===== 卡片悬浮效果增强 ===== */
.tech-card-hover-enhanced {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tech-card-hover-enhanced:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
                0 10px 10px -5px rgba(0, 0, 0, 0.04),
                0 0 30px rgba(59, 130, 246, 0.15);
}

.tech-card-hover-enhanced:active {
    transform: scale(0.98);
}

/* ===== 按钮光扫效果增强 ===== */
.tech-btn-primary-enhanced {
    background: linear-gradient(135deg, #3b82f6 0%, #10b981 100%);
    background-size: 200% 200%;
    animation: gradient-shift 3s ease infinite;
    position: relative;
    overflow: hidden;
}

.tech-btn-primary-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.tech-btn-primary-enhanced:hover::before {
    left: 100%;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ===== 输入框聚焦效果增强 ===== */
.tech-input-focus-enhanced:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1),
                0 0 20px rgba(59, 130, 246, 0.2);
    transform: translateY(-1px);
}

/* ===== 加载动画 ===== */
.tech-loading-dots::after {
    content: '';
    animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
    0%, 20% { content: ''; }
    40% { content: '.'; }
    60% { content: '..'; }
    80%, 100% { content: '...'; }
}

/* ===== 页面加载动画 ===== */
.tech-page-enter {
    animation: page-enter 0.5s ease-out;
}

@keyframes page-enter {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== 卡片进入动画 ===== */
.tech-card-enter {
    animation: card-enter 0.6s ease-out both;
}

.tech-card-enter:nth-child(1) { animation-delay: 0.1s; }
.tech-card-enter:nth-child(2) { animation-delay: 0.2s; }
.tech-card-enter:nth-child(3) { animation-delay: 0.3s; }
.tech-card-enter:nth-child(4) { animation-delay: 0.4s; }

@keyframes card-enter {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ===== 导航栏玻璃态增强 ===== */
.tech-navbar-glass {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(226, 232, 240, 0.3);
}

/* ===== 侧边栏增强 ===== */
.tech-sidebar-enhanced {
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
    border-right: 1px solid rgba(226, 232, 240, 0.5);
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.03);
}

.tech-sidebar-item-active-enhanced {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
    border-right: 3px solid #3b82f6;
    color: #3b82f6;
    font-weight: 600;
}

/* ===== 徽章脉冲效果 ===== */
.tech-badge-pulse {
    position: relative;
}

.tech-badge-pulse::before {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    animation: badge-pulse 2s ease-in-out infinite;
}

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

/* ===== 进度条动画 ===== */
.tech-progress-bar {
    position: relative;
    overflow: hidden;
}

.tech-progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: progress-shine 2s ease-in-out infinite;
}

@keyframes progress-shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ===== 工具提示 ===== */
.tech-tooltip {
    position: relative;
}

.tech-tooltip::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    padding: 6px 12px;
    background: #1e293b;
    color: #ffffff;
    font-size: 12px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.tech-tooltip:hover::before {
    opacity: 1;
    transform: translateX(-50%) translateY(-4px);
}

/* ===== 开关切换 ===== */
.tech-toggle {
    position: relative;
    width: 48px;
    height: 24px;
    background: #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.tech-toggle.active {
    background: linear-gradient(135deg, #3b82f6 0%, #10b981 100%);
}

.tech-toggle::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: #ffffff;
    border-radius: 50%;
    transition: left 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tech-toggle.active::after {
    left: 26px;
}

/* ===== 评分星星 ===== */
.tech-rating {
    display: inline-flex;
    gap: 4px;
}

.tech-rating-star {
    color: #fbbf24;
    font-size: 18px;
    transition: transform 0.2s ease;
}

.tech-rating-star:hover {
    transform: scale(1.2);
}

.tech-rating-star.inactive {
    color: #d1d5db;
}

/* ===== 时间线 ===== */
.tech-timeline {
    position: relative;
    padding-left: 30px;
}

.tech-timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #3b82f6, #10b981);
}

.tech-timeline-item {
    position: relative;
    padding-bottom: 24px;
}

.tech-timeline-item::before {
    content: '';
    position: absolute;
    left: -26px;
    top: 4px;
    width: 12px;
    height: 12px;
    background: #3b82f6;
    border-radius: 50%;
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

/* ===== 打印样式 ===== */
@media print {
    .tech-no-print {
        display: none !important;
    }
    
    .tech-print-only {
        display: block !important;
    }
    
    body {
        background: #ffffff !important;
    }
}
/**
 * mobile.css - 移动端适配样式
 * 
 * 断点：
 * - 768px 以下：平板竖屏和手机
 * - 480px 以下：大屏手机
 * - 360px 以下：小屏手机
 */

/* ========================================
   全局响应式调整
   ======================================== */

@media (max-width: 768px) {
    /* 容器 */
    .tech-container,
    .container,
    .max-w-4xl {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* 标题 */
    h1, h2, h3 {
        word-break: break-word;
    }

    /* 按钮 */
    .tech-btn,
    .tech-btn-sm,
    button[type="submit"] {
        padding: 10px 16px;
        font-size: 14px;
    }

    /* 表单 */
    .tech-form-input,
    .tech-select,
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="number"],
    select,
    textarea {
        font-size: 16px; /* 防止 iOS 自动缩放 */
    }
}

/* ========================================
   导航栏
   ======================================== */

@media (max-width: 768px) {
    .tech-navbar-inner {
        flex-wrap: wrap;
    }

    .tech-navbar-nav {
        display: none; /* 默认隐藏，通过 JS 切换显示 */
        width: 100%;
        flex-direction: column;
        gap: 10px;
        padding: 15px 0;
        order: 3;
    }

    .tech-navbar-nav.mobile-show {
        display: flex;
    }

    .tech-navbar-nav .tech-nav-link {
        padding: 10px 15px;
        border-radius: 6px;
    }

    .tech-navbar-actions {
        gap: 10px;
    }

    .tech-mobile-menu-btn {
        display: block;
    }

    .tech-currency-switch {
        order: 2;
    }
}

/* ========================================
   产品列表
   ======================================== */

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .product-card {
        margin-bottom: 0;
    }

    .product-card-body {
        padding: 12px;
    }

    .product-specs {
        gap: 6px;
    }

    .spec-item {
        font-size: 12px;
        padding: 3px 6px;
    }

    .product-price .price-value {
        font-size: 18px;
    }

    .product-card-footer {
        flex-direction: column;
    }

    .product-card-footer .tech-btn {
        width: 100%;
        text-align: center;
    }
}

/* ========================================
   产品详情
   ======================================== */

@media (max-width: 768px) {
    .product-detail-page {
        padding: 15px;
    }

    .product-detail-header {
        flex-direction: column;
        gap: 10px;
    }

    .product-detail-name {
        font-size: 20px;
    }

    .product-spec-grid {
        grid-template-columns: 1fr;
    }

    .product-order-form {
        padding: 15px;
    }
}

/* ========================================
   订单列表
   ======================================== */

@media (max-width: 768px) {
    .order-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .tech-table {
        font-size: 13px;
    }

    .tech-table th,
    .tech-table td {
        padding: 8px;
    }

    /* 表格横向滚动 */
    .order-list {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* ========================================
   钱包页面
   ======================================== */

@media (max-width: 768px) {
    .grid-cols-2 {
        grid-template-columns: 1fr;
    }

    #deposit_form .grid-cols-2 {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   工单页面
   ======================================== */

@media (max-width: 768px) {
    .tickets-list {
        padding: 15px;
    }

    .ticket-item {
        flex-direction: column;
        gap: 10px;
    }

    .ticket-meta {
        flex-direction: column;
        gap: 5px;
    }

    /* 回复区域 */
    #replies-list {
        max-height: 400px;
        overflow-y: auto;
    }
}

/* ========================================
   仪表盘
   ======================================== */

@media (max-width: 768px) {
    .dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .dashboard-charts {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   弹窗和 Toast
   ======================================== */

@media (max-width: 768px) {
    #confirm-dialog {
        min-width: auto;
        max-width: 90vw;
        padding: 20px;
        margin: 15px;
    }

    #toast-container {
        top: auto;
        bottom: 20px;
        right: 15px;
        left: 15px;
    }

    .toast {
        min-width: auto;
        max-width: 100%;
    }
}

/* ========================================
   分页
   ======================================== */

@media (max-width: 768px) {
    .tech-pagination {
        flex-direction: column;
        gap: 10px;
    }

    .tech-pagination-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .tech-pagination-btn {
        padding: 6px 10px;
        font-size: 13px;
    }
}

/* ========================================
   通用工具类
   ======================================== */

@media (max-width: 768px) {
    .mobile-hidden {
        display: none !important;
    }

    .mobile-full-width {
        width: 100% !important;
    }

    .mobile-text-center {
        text-align: center !important;
    }

    .mobile-stack {
        flex-direction: column !important;
    }

    .mobile-no-padding {
        padding: 0 !important;
    }
}

/* ========================================
   打印样式
   ======================================== */

@media print {
    .tech-navbar,
    .tech-pagination,
    .product-card-footer,
    #toast-container,
    #confirm-dialog-overlay {
        display: none !important;
    }

    .tech-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}
/* ===== 视觉效果增强结束 ===== */
/* ===== 移动端适配结束 ===== */

/* ===== 认证页面样式 (合并自 auth.css) ===== */
/* ========================================
   CTGS - 认证页面样式 (Auth Pages)
   登录 / 注册 / 忘记密码
   ======================================== */

/* ===== 页面容器 ===== */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    position: relative;
    background: linear-gradient(135deg, #f0fdf4 0%, #eff6ff 100%);
}

/* 背景装饰 */
.auth-page::before,
.auth-page::after {
    content: '';
    position: fixed;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
}

.auth-page::before {
    top: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: #3b82f6;
    animation: auth-blob-float-1 20s ease-in-out infinite;
}

.auth-page::after {
    bottom: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: #10b981;
    animation: auth-blob-float-2 25s ease-in-out infinite;
}

@keyframes auth-blob-float-1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(-50px, 50px) scale(1.1); }
    50% { transform: translate(50px, -30px) scale(0.9); }
    75% { transform: translate(-30px, -50px) scale(1.05); }
}

@keyframes auth-blob-float-2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(50px, -50px) scale(1.1); }
    50% { transform: translate(-30px, 30px) scale(0.9); }
    75% { transform: translate(50px, 50px) scale(1.05); }
}

/* ===== 认证卡片 ===== */
.auth-card-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
}

.auth-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
                0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(226, 232, 240, 0.5);
    padding: 2rem;
    transition: box-shadow 0.3s ease;
}

.auth-card:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15),
                0 0 30px rgba(59, 130, 246, 0.1);
}

/* ===== 头部标题区 ===== */
.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo-link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    margin-bottom: 1.5rem;
}

.auth-logo-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #3b82f6 0%, #10b981 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.3),
                0 5px 10px -5px rgba(16, 185, 129, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.auth-logo-icon:hover {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 15px 35px -5px rgba(59, 130, 246, 0.4),
                0 8px 15px -5px rgba(16, 185, 129, 0.3);
}

.auth-logo-text {
    color: white;
    font-size: 1.75rem;
    font-weight: bold;
}

.auth-title {
    font-size: 1.75rem;
    font-weight: bold;
    color: #1e293b;
    margin: 0;
    background: linear-gradient(135deg, #3b82f6 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-subtitle {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0.25rem 0 0 0;
}

/* ===== 表单样式 ===== */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.auth-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.auth-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.auth-label-text {
    /* 标签文本 */
}

.auth-label-link {
    font-size: 0.75rem;
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.auth-label-link:hover {
    color: #2563eb;
    text-decoration: underline;
}

/* ===== 输入框样式 ===== */
.auth-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    color: #1e293b;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    font-family: inherit;
}

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

.auth-input::placeholder {
    color: #9ca3af;
}

.auth-input.error {
    border-color: #ef4444;
}

.auth-input.error:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* 输入框图标（左侧） */
.auth-input-icon {
    position: absolute;
    left: 0.75rem;
    display: flex;
    align-items: center;
    color: #9ca3af;
    font-size: 1rem;
    pointer-events: none;
}

.auth-input-wrapper:has(.auth-input-icon) .auth-input {
    padding-left: 2.5rem;
}

/* 密码显示/隐藏按钮（右侧） */
.auth-input-toggle {
    position: absolute;
    right: 0.75rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #9ca3af;
    transition: color 0.2s ease;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-family: inherit;
    border-radius: 0.375rem;
}

.auth-input-toggle:hover {
    color: #3b82f6;
    background: #f1f5f9;
}

/* ===== 复选框 ===== */
.auth-checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.875rem;
    color: #4b5563;
    user-select: none;
}

.auth-checkbox {
    width: 1rem;
    height: 1rem;
    accent-color: #3b82f6;
    cursor: pointer;
}

.auth-checkbox-text {
    /* 复选框文本 */
}

/* ===== 按钮样式 ===== */
.auth-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.875rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    border: 2px solid transparent;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: background-color 250ms ease, transform 250ms ease, box-shadow 250ms ease;
    text-decoration: none;
    font-family: inherit;
    line-height: 1.5;
}

.auth-btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #10b981 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.auth-btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
                0 4px 6px -2px rgba(0, 0, 0, 0.05),
                0 0 30px rgba(59, 130, 246, 0.4),
                0 0 60px rgba(16, 185, 129, 0.2);
    color: white;
}

.auth-btn-primary:active:not(:disabled) {
    transform: scale(0.96);
}

/* 禁用状态 */
.auth-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* 加载动画 */
.auth-btn-loading {
    position: relative;
    pointer-events: none;
}

.auth-btn-loading::after {
    content: '';
    position: absolute;
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: auth-spin 0.6s linear infinite;
    margin-left: 0.5rem;
}

@keyframes auth-spin {
    to {
        transform: rotate(360deg);
    }
}

/* ===== 底部链接 ===== */
.auth-footer {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.875rem;
    color: #64748b;
}

.auth-footer-link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.auth-footer-link:hover {
    color: #2563eb;
    text-decoration: underline;
}

/* ===== 错误提示 ===== */
.auth-error {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 0.75rem;
    color: #991b1b;
    font-size: 0.875rem;
    animation: auth-fade-in 0.3s ease-out;
}

.auth-error-icon {
    font-size: 1rem;
}

.auth-error-message {
    flex: 1;
}

/* ===== 成功提示 ===== */
.auth-success {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 0.75rem;
    color: #064e3b;
    font-size: 0.875rem;
    animation: auth-fade-in 0.3s ease-out;
}

.auth-success-icon {
    font-size: 1rem;
}

.auth-success-message {
    flex: 1;
}

/* ===== 密码强度指示器 ===== */
.auth-password-strength {
    margin-top: 0.5rem;
}

.auth-password-strength-bar {
    width: 100%;
    height: 4px;
    background: #e5e7eb;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.25rem;
}

.auth-password-strength-fill {
    height: 100%;
    border-radius: 2px;
    transition: width 0.3s ease, background-color 0.3s ease;
    width: 0;
}

.auth-password-strength-fill.weak {
    width: 25%;
    background: #ef4444;
}

.auth-password-strength-fill.medium {
    width: 50%;
    background: #f59e0b;
}

.auth-password-strength-fill.strong {
    width: 75%;
    background: #10b981;
}

.auth-password-strength-fill.very-strong {
    width: 100%;
    background: #059669;
}

.auth-password-strength-text {
    font-size: 0.75rem;
    color: #6b7280;
    transition: color 0.3s ease;
}

.auth-password-strength-text.weak {
    color: #ef4444;
}

.auth-password-strength-text.medium {
    color: #f59e0b;
}

.auth-password-strength-text.strong {
    color: #10b981;
}

.auth-password-strength-text.very-strong {
    color: #059669;
}

/* ===== 确认密码匹配状态 ===== */
.auth-confirm-match {
    font-size: 0.75rem;
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.auth-confirm-match.success {
    color: #10b981;
}

.auth-confirm-match.error {
    color: #ef4444;
}

/* ===== 表单选项区（记住我等） ===== */
.auth-form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.875rem;
}

/* ===== 动画 ===== */
@keyframes auth-fade-in {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== 响应式设计 ===== */
@media (max-width: 640px) {
    .auth-page {
        padding: 0.75rem;
        align-items: flex-start;
        padding-top: 2rem;
    }

    .auth-card {
        padding: 1.5rem;
        border-radius: 0.75rem;
    }

    .auth-title {
        font-size: 1.5rem;
    }

    .auth-logo-icon {
        width: 56px;
        height: 56px;
    }

    .auth-logo-text {
        font-size: 1.5rem;
    }

    .auth-btn {
        padding: 0.75rem 1.25rem;
    }
}

@media (max-width: 380px) {
    .auth-card {
        padding: 1.25rem;
    }

    .auth-title {
        font-size: 1.25rem;
    }
}

/* ===== 链接样式（通用） ===== */
.auth-link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.auth-link:hover {
    color: #2563eb;
    text-decoration: underline;
}

/* ===== 服务条款链接 ===== */
.auth-terms-link {
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.2s ease;
}

.auth-terms-link:hover {
    color: #2563eb;
    text-decoration: underline;
}
/* ===== 认证页面样式结束 ===== */
