/* ============================================
   光鸭橙主题 - 强制覆盖（!important）
   覆盖 layout/user.html 内联 style 中的硬编码暗紫值
   必须在内联 <style> 之后加载
   ============================================ */

/* === 页面整体背景 === */
.nova-app {
  background: #F6F6F6 !important;
}
.nova-app::before {
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 104, 0, 0.04) 0%, transparent 50%) !important,
    radial-gradient(circle at 90% 90%, rgba(255, 154, 68, 0.03) 0%, transparent 50%) !important;
}

/* === 侧边栏 - 白底 === */
.nova-sidebar {
  background: #FFFFFF !important;
  border-right-color: #E8E8E8 !important;
}
.nova-sidebar-header {
  border-bottom-color: #E8E8E8 !important;
}
.nova-sidebar-logo {
  color: #222222 !important;
}
.nova-sidebar-logo .logo-icon {
  background: linear-gradient(135deg, #FF6800, #FF9A44) !important;
  box-shadow: 0 4px 15px rgba(255, 104, 0, 0.3) !important;
}
.nova-sidebar-footer {
  border-top-color: #E8E8E8 !important;
}

/* === 导航菜单项 === */
.nova-menu-item {
  color: #555555 !important;
}
.nova-menu-item:hover {
  background: rgba(255, 104, 0, 0.06) !important;
  color: #FF6800 !important;
}
.nova-menu-item.active {
  background: rgba(255, 104, 0, 0.1) !important;
  color: #FF6800 !important;
  border-color: rgba(255, 104, 0, 0.25) !important;
}

/* === 主内容区 === */
.nova-main {
  background: transparent !important;
}

/* === 顶栏 - 白底半透明 === */
.nova-topbar {
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(12px) !important;
  border-bottom-color: rgba(255, 104, 0, 0.08) !important;
}
.nova-page-title {
  color: #222222 !important;
}
.nova-mobile-menu-btn {
  background: #F6F6F6 !important;
  border-color: #E8E8E8 !important;
  color: #222222 !important;
}

/* === 用户信息区 === */
.nova-user-info {
  color: #222222 !important;
}
.nova-avatar {
  background: linear-gradient(135deg, #FF6800, #FF9A44) !important;
}

/* === 面包屑导航 === */
.nova-breadcrumb {
  color: #999999 !important;
}
.nova-breadcrumb a {
  color: #FF6800 !important;
}
.nova-breadcrumb span {
  color: #222222 !important;
}

/* === 内容卡片区域 === */
.nova-content {
  background: transparent !important;
}
.nova-card {
  background: #FFFFFF !important;
  border-color: #E8E8E8 !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04) !important;
}
.nova-card-header {
  border-bottom-color: #E8E8E8 !important;
  color: #222222 !important;
}

/* === 按钮系统 === */
.nova-btn-primary {
  background: linear-gradient(135deg, #FF6800, #FF8A33) !important;
  box-shadow: 0 4px 15px rgba(255, 104, 0, 0.3) !important;
  color: #FFFFFF !important;
  border-color: transparent !important;
}
.nova-btn-primary:hover {
  background: linear-gradient(135deg, #E55A00, #FF6800) !important;
  box-shadow: 0 6px 20px rgba(255, 104, 0, 0.4) !important;
}
.nova-btn-secondary {
  background: #FFFFFF !important;
  color: #555555 !important;
  border-color: #E8E8E8 !important;
}
.nova-btn-secondary:hover {
  border-color: #FF6800 !important;
  color: #FF6800 !important;
}

/* === 搜索框 === */
.nova-search-wrap {
  background: #F6F6F6 !important;
  border-color: #E8E8E8 !important;
}
.nova-search-wrap input {
  background: transparent !important;
  color: #222222 !important;
}
.nova-search-wrap input::placeholder {
  color: #BBBBBB !important;
}
.nova-search-wrap .search-icon {
  color: #999999 !important;
}

/* === 表格 === */
.nova-table {
  background: #FFFFFF !important;
  border-color: #E8E8E8 !important;
}
.nova-table thead th {
  background: #FAFAFA !important;
  color: #222222 !important;
  border-bottom-color: #E8E8E8 !important;
}
.nova-table tbody td {
  color: #555555 !important;
  border-bottom-color: #F0F0F0 !important;
}
.nova-table tbody tr:hover {
  background: rgba(255, 104, 0, 0.03) !important;
}

/* === 分页 === */
.pag a, .pag span {
  background: #FFFFFF !important;
  color: #555555 !important;
  border-color: #E8E8E8 !important;
}
.pag a:hover {
  border-color: #FF6800 !important;
  color: #FF6800 !important;
}
.all-box .pag .current,
.-all-box .pag span.current {
  background: linear-gradient(135deg, #FF6800, #FF9A44) !important;
  color: #fff !important;
  border-color: transparent !important;
}

/* === 弹窗 layer === */
.layui-layer-content fieldset {
  border-color: rgba(255, 104, 0, 0.18) !important;
}
.layui-layer-content legend {
  color: #FF6800 !important;
}

/* === Tab 标签页 === */
.nova-tabs-nav-item {
  color: #999999 !important;
}
.nova-tabs-nav-item:hover {
  color: #FF6800 !important;
}
.nova-tabs-nav-item.active {
  color: #FF6800 !important;
  border-bottom-color: #FF6800 !important;
}

/* === 空状态 === */
.nova-empty {
  color: #999999 !important;
}
.nova-empty .empty-icon {
  opacity: 0.4 !important;
}

/* === 统计数字 === */
.nova-stat-value {
  color: #222222 !important;
}
.nova-stat-label {
  color: #999999 !important;
}
.nova-stat-card {
  background: #FFFFFF !important;
  border-color: #E8E8E8 !important;
}

/* === 上传区域 === */
.nova-upload-zone {
  background: #FAFAFA !important;
  border: 2px dashed #E8E8E8 !important;
  color: #999999 !important;
}
.nova-upload-zone:hover {
  border-color: #FF6800 !important;
  color: #FF6800 !important;
}

/* === 进度条 === */
.nova-progress-bar {
  background: linear-gradient(90deg, #FF6800, #FF9A44) !important;
}

/* === 徽标/标签 === */
.nova-badge {
  background: #FF6800 !important;
  color: #FFFFFF !important;
}
.nova-tag {
  background: rgba(255, 104, 0, 0.08) !important;
  color: #FF6800 !important;
}

/* === VIP/升级相关 === */
.nova-vip-badge {
  background: linear-gradient(135deg, #FF6800, #FFB366) !important;
  color: #FFFFFF !important;
}

/* === 滚动条 === */
.nova-sidebar-menu::-webkit-scrollbar,
.nova-content-inner::-webkit-scrollbar {
  width: 4px;
}
.nova-sidebar-menu::-webkit-scrollbar-thumb,
.nova-content-inner::-webkit-scrollbar-thumb {
  background: rgba(255, 104, 0, 0.2) !important;
  border-radius: 2px;
}

/* === 全局文字颜色修正 === */
.nova-app *::placeholder {
  color: #BBBBBB !important;
}

/* === 文件卡片网格（用户中心文件列表）=== */
.file-item {
  background: #FFFFFF !important;
  border: 1px solid #F0F0F0 !important;
}
.file-item:hover {
  border-color: #FF6800 !important;
  box-shadow: 0 4px 16px rgba(255, 104, 0, 0.1) !important;
}
.file-item .file-name {
  color: #222222 !important;
}
.file-item .file-info {
  color: #999999 !important;
}

/* === 操作按钮组 === */
.action-btn {
  color: #999999 !important;
}
.action-btn:hover {
  color: #FF6800 !important;
  background: rgba(255, 104, 0, 0.06) !important;
}

/* === 通知/消息提示 === */
.nova-alert {
  background: rgba(255, 104, 0, 0.06) !important;
  border-color: rgba(255, 104, 0, 0.2) !important;
  color: #E55A00 !important;
}
.nova-alert-success {
  background: rgba(16, 185, 129, 0.06) !important;
  border-color: rgba(16, 185, 129, 0.2) !important;
  color: #059669 !important;
}
.nova-alert-error {
  background: rgba(254, 90, 82, 0.06) !important;
  border-color: rgba(254, 90, 82, 0.2) !important;
  color: #FE5A52 !important;
}

/* === 下拉菜单 === */
.nova-dropdown {
  background: #FFFFFF !important;
  border: 1px solid #E8E8E8 !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
}
.nova-dropdown-item {
  color: #555555 !important;
}
.nova-dropdown-item:hover {
  background: rgba(255, 104, 0, 0.06) !important;
  color: #FF6800 !important;
}

/* === 复选框/单选框 === */
.nova-checkbox:checked {
  background: #FF6800 !important;
  border-color: #FF6800 !important;
}

/* === 开关 toggle === */
.nova-switch.active {
  background: #FF6800 !important;
}

/* === 输入框/表单 === */
.nova-input {
  background: #FFFFFF !important;
  border-color: #E8E8E8 !important;
  color: #222222 !important;
}
.nova-input:focus {
  border-color: #FF6800 !important;
  box-shadow: 0 0 0 3px rgba(255, 104, 0, 0.12) !important;
}

/* === Tooltip === */
.nova-tooltip {
  background: rgba(30, 30, 46, 0.95) !important;
  color: #F0F0F0 !important;
}

/* ============================================
   登录/注册页强制覆盖
   ============================================ */

/* 登录页整体 - 暖橙浅底 */
.nova-auth-page {
  background: #FFF5ED !important;
}
.nova-auth-page::before {
  background: radial-gradient(circle, rgba(255, 104, 0, 0.12) 0%, transparent 70%) !important;
}
.nova-auth-page::after {
  background: radial-gradient(circle, rgba(255, 154, 68, 0.08) 0%, transparent 70%) !important;
}

/* 登录卡片 */
.auth-header .logo {
  color: #222222 !important;
}
.auth-header .logo-icon {
  background: linear-gradient(135deg, #FF6800, #FF9A44) !important;
  box-shadow: 0 4px 20px rgba(255, 104, 0, 0.35) !important;
}
.auth-header h1 {
  color: #222222 !important;
}
.auth-header p {
  color: #666666 !important;
}

/* Tab 切换 */
.auth-tabs {
  background: rgba(255, 255, 255, 0.8) !important;
  border-color: #E8E8E8 !important;
}
.auth-tab {
  color: #888888 !important;
}
.auth-tab:hover {
  color: #FF6800 !important;
}
.auth-tab.active {
  background: linear-gradient(135deg, #FF6800, #FF9A44) !important;
  color: #fff !important;
  box-shadow: 0 4px 15px rgba(255, 104, 0, 0.35) !important;
}

/* 微信扫码区 */
.wx-title {
  color: #222222 !important;
}
.wx-qr-box {
  background: #FFFFFF !important;
  border-color: #E8E8E8 !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06) !important;
}
.wx-desc {
  color: #888888 !important;
}

/* 表单输入框 */
.auth-form label {
  color: #555555 !important;
}
.input-icon .icon-wrapper {
  color: #BBBBBB !important;
}

/* 返回首页按钮 */
.back-home a {
  background: rgba(255, 255, 255, 0.85) !important;
  border-color: #E8E8E8 !important;
  color: #666666 !important;
}
.back-home a:hover {
  border-color: #FF6800 !important;
  color: #FF6800 !important;
}
