/* ============================================================
   设备详情页 - 白色简洁现代主题覆盖
   仅在 body.page-info 时生效
   ============================================================ */

/* ===== 全局背景覆盖 ===== */
body.page-info {
    background: #f0f2f5 !important;
    color: #1f2937 !important;
}
body.page-info .n-layout,
body.page-info .layout-default-background,
body.page-info .layout-content,
body.page-info .layout-content-main {
    background: #f0f2f5 !important;
}

/* ===== 顶部头部栏 - 白色 ===== */
body.page-info .layout-header {
    background: #ffffff !important;
    border-bottom: 1px solid #e5e7eb !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05) !important;
}
body.page-info .layout-header .n-layout-header {
    background: transparent !important;
}
body.page-info .layout-header .n-breadcrumb .n-breadcrumb-item__link {
    color: #9ca3af !important;
}
body.page-info .layout-header .n-breadcrumb .n-breadcrumb-item:last-child .n-breadcrumb-item__link {
    color: #1f2937 !important;
}
body.page-info .layout-header .n-breadcrumb .n-breadcrumb-item__separator {
    color: #d1d5db !important;
}
body.page-info .layout-header .layout-header-trigger .n-icon {
    color: #6b7280 !important;
}
body.page-info .layout-header .layout-header-trigger:hover {
    background: #f3f4f6 !important;
}
body.page-info .layout-header .layout-header-trigger:hover .n-icon {
    color: #1f2937 !important;
}
body.page-info .layout-header-right > * {
    color: #6b7280 !important;
}
body.page-info .layout-header audio {
    opacity: 0.7 !important;
}

/* ===== 标签页栏 ===== */
body.page-info .tabs-view {
    background: #ffffff !important;
    border-bottom: 1px solid #e5e7eb !important;
}
body.page-info .tabs-view-main .tabs-card-scroll-item {
    background: #f3f4f6 !important;
    color: #6b7280 !important;
    border: 1px solid #e5e7eb !important;
}
body.page-info .tabs-view-main .tabs-card-scroll-item:hover {
    color: #1f2937 !important;
    background: #e5e7eb !important;
}
body.page-info .tabs-view-main .tabs-card-scroll .active-item {
    color: #4f46e5 !important;
    background: #eef2ff !important;
    border-color: #c7d2fe !important;
}

/* ===== 顶部设备信息卡片 ===== */
body.page-info .n-card,
body.page-info .n-card.n-card--bordered {
    background: #ffffff !important;
    background-color: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    color: #1f2937 !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.06) !important;
    overflow: visible !important;
}
body.page-info .n-card:hover {
    border-color: #d1d5db !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06) !important;
}
body.page-info .n-card-header,
body.page-info .n-card .n-card-header {
    background: transparent !important;
    border-bottom: 1px solid #f3f4f6 !important;
    padding: 6px 16px 4px !important;
    min-height: 0 !important;
}
body.page-info .n-card-header__main {
    color: #111827 !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
}
body.page-info .n-card__content,
body.page-info .n-card .n-card__content {
    background: transparent !important;
    background-color: transparent !important;
    color: #374151 !important;
    padding: 6px 16px 8px !important;
}
/* 顶部卡片中的重连按钮紧凑 */
body.page-info .n-card-header .n-button {
    height: 26px !important;
    padding: 0 10px !important;
    font-size: 12px !important;
}
body.page-info .n-card__action {
    background: #fafafa !important;
    background-color: #fafafa !important;
    border-top: 1px solid #f3f4f6 !important;
}

/* ===== NaiveUI Card CSS Variables 覆盖 ===== */
body.page-info .n-card {
    --n-color: #ffffff !important;
    --n-color-embedded: #ffffff !important;
    --n-color-modal: #ffffff !important;
    --n-color-popover: #ffffff !important;
    --n-text-color: #374151 !important;
    --n-title-text-color: #111827 !important;
    --n-border-color: #e5e7eb !important;
    --n-action-color: #fafafa !important;
    --n-color-embedded-modal: #ffffff !important;
    --n-color-embedded-popover: #ffffff !important;
    --n-close-icon-color: #9ca3af !important;
    --n-close-color-hover: #f3f4f6 !important;
}

/* ===== Descriptions 描述列表 - 超紧凑单行风格 ===== */
body.page-info .n-descriptions {
    --n-th-color: #f9fafb !important;
    --n-td-color: #ffffff !important;
    --n-border-color: #e5e7eb !important;
    --n-th-text-color: #6b7280 !important;
    --n-td-text-color: #1f2937 !important;
    --n-title-text-color: #111827 !important;
    --n-th-padding: 3px 10px !important;
    --n-td-padding: 3px 10px !important;
    font-size: 12.5px !important;
    line-height: 1.4 !important;
}
body.page-info .n-descriptions-table-header,
body.page-info .n-descriptions th {
    background: #f9fafb !important;
    color: #6b7280 !important;
    font-weight: 500 !important;
    padding: 3px 10px !important;
    font-size: 12.5px !important;
    white-space: nowrap !important;
}
body.page-info .n-descriptions-table-content,
body.page-info .n-descriptions td {
    background: #ffffff !important;
    color: #1f2937 !important;
    padding: 3px 10px !important;
    font-size: 12.5px !important;
}
body.page-info .n-descriptions-table-wrapper {
    border-color: #e5e7eb !important;
}
/* 描述列表中的屏幕状态图标缩小 */
body.page-info .n-descriptions img {
    width: 24px !important;
    height: 24px !important;
}
/* 描述列表中的输入框和按钮也要紧凑 */
body.page-info .n-descriptions .n-input {
    height: 28px !important;
}
body.page-info .n-descriptions .n-button {
    height: 28px !important;
    padding: 0 10px !important;
    font-size: 12px !important;
}

/* ===== 顶部卡片紧凑化 ===== */
body.page-info .mt-4 {
    margin-top: 4px !important;
}
body.page-info .mt-4 > .n-card-header {
    padding: 4px 16px 2px !important;
    min-height: 0 !important;
}
body.page-info .mt-4 > .n-card__content {
    padding: 2px 16px 4px !important;
}

/* ===== 连接状态文字 ===== */
body.page-info .mt-4 strong[style*="color: red"],
body.page-info .mt-4 strong[style*="color:red"] {
    color: #6b7280 !important;
    font-weight: 400 !important;
    font-size: 11.5px !important;
    line-height: 1.3 !important;
}
/* 手机密码行文字缩小 */
body.page-info .n-descriptions td {
    word-break: break-all !important;
    line-height: 1.3 !important;
}

/* ===== 整体布局容器 ===== */
body.page-info .image-container[data-v-fc0266af] {
    margin-top: 24px !important;
}
body.page-info .content-wrapper[data-v-fc0266af] {
    display: flex !important;
    align-items: flex-start !important;
    gap: 24px !important;
}

/* ===== 左侧 Tabs 区域 ===== */
body.page-info .tabs-wrapper[data-v-fc0266af] {
    flex: 1 !important;
    min-width: 0 !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    border: 1px solid #e5e7eb !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04) !important;
    overflow: hidden !important;
}

/* Tabs 导航 */
body.page-info .tabs-wrapper .n-tabs .n-tabs-nav {
    background: #fafafa !important;
    border-bottom: 1px solid #e5e7eb !important;
    padding: 0 8px !important;
}
body.page-info .tabs-wrapper .n-tabs .n-tabs-tab {
    color: #6b7280 !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    padding: 0 16px !important;
    height: 44px !important;
    line-height: 44px !important;
    transition: color 0.2s ease !important;
}
body.page-info .tabs-wrapper .n-tabs .n-tabs-tab:hover {
    color: #374151 !important;
}
body.page-info .tabs-wrapper .n-tabs .n-tabs-tab--active {
    color: #4f46e5 !important;
    font-weight: 600 !important;
}
body.page-info .tabs-wrapper .n-tabs .n-tabs-bar {
    background: #4f46e5 !important;
    height: 2.5px !important;
    border-radius: 2px !important;
}

/* Tabs 内容区 */
body.page-info .tabs-wrapper .n-tab-pane {
    padding: 16px 20px !important;
}

/* 日志查看器 */
body.page-info .log-viewer[data-v-fc0266af] {
    background: #f9fafb !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    padding: 16px !important;
    max-height: 600px !important;
    font-size: 13px !important;
    color: #374151 !important;
    line-height: 1.7 !important;
}
body.page-info .log-line[data-v-fc0266af] {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    margin: 4px 0 !important;
    color: #374151 !important;
    box-shadow: none !important;
    font-size: 13px !important;
    transition: background 0.15s ease !important;
}
body.page-info .log-line[data-v-fc0266af]:hover {
    background: #f3f4f6 !important;
}

/* 日志中的表格 */
body.page-info .log-viewer table,
body.page-info [data-v-fc0266af] table {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    margin-top: 12px !important;
}
body.page-info [data-v-fc0266af] table thead {
    background: #f9fafb !important;
}
body.page-info [data-v-fc0266af] table th {
    color: #6b7280 !important;
    font-weight: 600 !important;
    font-size: 12.5px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 12px 16px !important;
    border-bottom: 1px solid #e5e7eb !important;
    text-align: left !important;
}
body.page-info [data-v-fc0266af] table td {
    color: #374151 !important;
    font-size: 13px !important;
    padding: 10px 16px !important;
    border-bottom: 1px solid #f3f4f6 !important;
}
body.page-info [data-v-fc0266af] table tbody tr:last-child td {
    border-bottom: none !important;
}
body.page-info [data-v-fc0266af] table tbody tr:hover td {
    background: #f9fafb !important;
}

/* ===== 右侧投屏区域整体 ===== */
body.page-info .image-box-group[data-v-fc0266af] {
    display: flex !important;
    gap: 24px !important;
    flex-shrink: 0 !important;
}

/* ===== 单个投屏盒子 ===== */
body.page-info .image-box[data-v-fc0266af] {
    background: #ffffff !important;
    border-radius: 16px !important;
    border: 1px solid #e5e7eb !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04) !important;
    padding: 16px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

/* 投屏标题按钮区 */
body.page-info .button-container[data-v-fc0266af] {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-bottom: 4px !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid #f3f4f6 !important;
}

/* ===== 投屏画面区域 ===== */
body.page-info .image-wrapper[data-v-fc0266af] {
    width: auto !important;
    max-width: 100% !important;
}
body.page-info .image-wrapper.with-sidebar[data-v-fc0266af] {
    display: flex !important;
    gap: 0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    border: 1px solid #e5e7eb !important;
}

/* 投屏画布 - 大尺寸 */
body.page-info .image-slot[data-v-fc0266af] {
    width: 360px !important;
    height: 750px !important;
    min-height: 750px !important;
    background: #0f172a !important;
    display: flex !important;
    align-items: stretch !important;
    justify-content: center !important;
    overflow: hidden !important;
}
body.page-info .screenlayers[data-v-fc0266af] {
    width: 100% !important;
    height: 100% !important;
    min-height: 750px !important;
    position: relative !important;
    display: block !important;
}
body.page-info .screenlayers img[data-v-fc0266af] {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    display: block !important;
    background: #0f172a !important;
}

/* ===== 内侧控制面板 ===== */
body.page-info .inner-sidebar[data-v-fc0266af] {
    width: 180px !important;
    background: #f8fafc !important;
    border-left: 1px solid #e5e7eb !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 5px !important;
    padding: 10px 8px !important;
    justify-content: center !important;
}

/* ===== 按钮行 ===== */
body.page-info .button-row[data-v-fc0266af] {
    display: flex !important;
    gap: 5px !important;
    flex-wrap: nowrap !important;
    justify-content: stretch !important;
    width: 100% !important;
}

/* ===== 全局按钮样式覆盖 - 统一简洁风格 ===== */
body.page-info .n-button {
    border-radius: 8px !important;
    font-size: 12.5px !important;
    font-weight: 500 !important;
    letter-spacing: 0.2px !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: 1px solid #d1d5db !important;
    box-shadow: none !important;
    line-height: 1.5 !important;
}

/* 主要按钮 - 统一灰蓝色 */
body.page-info .n-button--primary-type {
    background: #4f46e5 !important;
    border-color: #4f46e5 !important;
    color: #ffffff !important;
    box-shadow: 0 1px 2px rgba(79,70,229,0.15) !important;
}
body.page-info .n-button--primary-type:hover {
    background: #4338ca !important;
    border-color: #4338ca !important;
    box-shadow: 0 2px 6px rgba(79,70,229,0.25) !important;
    transform: none !important;
}

/* 错误/关闭按钮 - 统一为灰色 */
body.page-info .n-button--error-type {
    background: #ffffff !important;
    border: 1px solid #d1d5db !important;
    color: #6b7280 !important;
    box-shadow: none !important;
}
body.page-info .n-button--error-type:hover {
    background: #f9fafb !important;
    border-color: #9ca3af !important;
    color: #374151 !important;
    box-shadow: none !important;
}

/* 成功按钮 - 统一为浅色 */
body.page-info .n-button--success-type {
    background: #ffffff !important;
    border: 1px solid #d1d5db !important;
    color: #6b7280 !important;
    box-shadow: none !important;
}
body.page-info .n-button--success-type:hover {
    background: #f9fafb !important;
    border-color: #9ca3af !important;
    color: #374151 !important;
}

/* 警告按钮 */
body.page-info .n-button--warning-type {
    background: #ffffff !important;
    border: 1px solid #d1d5db !important;
    color: #6b7280 !important;
    box-shadow: none !important;
}
body.page-info .n-button--warning-type:hover {
    background: #f9fafb !important;
    border-color: #9ca3af !important;
    color: #374151 !important;
}

/* 默认按钮 */
body.page-info .n-button--default-type {
    background: #ffffff !important;
    border: 1px solid #d1d5db !important;
    color: #6b7280 !important;
}
body.page-info .n-button--default-type:hover {
    background: #f9fafb !important;
    border-color: #9ca3af !important;
    color: #374151 !important;
}

/* 侧边栏中的按钮 - 现代矢量图标风格 */
body.page-info .inner-sidebar .n-button {
    font-size: 11.5px !important;
    padding: 0 8px !important;
    height: 34px !important;
    border-radius: 8px !important;
    flex: 1 !important;
    min-width: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    color: #475569 !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04) !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
}
body.page-info .inner-sidebar .n-button:hover {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
    color: #1e293b !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.06) !important;
    transform: translateY(-1px) !important;
}
body.page-info .inner-sidebar .n-button:active {
    transform: translateY(0) !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04) !important;
}
/* 主操作按钮(primary) - 柔和蓝 */
body.page-info .inner-sidebar .n-button--primary-type {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
    color: #475569 !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04) !important;
}
body.page-info .inner-sidebar .n-button--primary-type:hover {
    background: #eef2ff !important;
    border-color: #c7d2fe !important;
    color: #4338ca !important;
}
/* 危险操作按钮(error) - 柔和红 */
body.page-info .inner-sidebar .n-button--error-type {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
    color: #475569 !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04) !important;
}
body.page-info .inner-sidebar .n-button--error-type:hover {
    background: #fef2f2 !important;
    border-color: #fecaca !important;
    color: #dc2626 !important;
}
/* 按钮中注入的FA图标样式 */
body.page-info .inner-sidebar .n-button .btn-icon {
    font-size: 12px !important;
    width: 14px !important;
    text-align: center !important;
    flex-shrink: 0 !important;
    opacity: 0.7 !important;
}
body.page-info .inner-sidebar .n-button:hover .btn-icon {
    opacity: 1 !important;
}

/* 底部导航按钮区 (后台键, 主页键, 返回键) */
body.page-info .image-box > div[style*="text-align: center"],
body.page-info .image-box > div[style*="text-align:center"] {
    display: flex !important;
    justify-content: center !important;
    gap: 12px !important;
    padding: 12px 0 4px !important;
    border-top: 1px solid #f3f4f6 !important;
    margin-top: 4px !important;
}
body.page-info .image-box > div[style*="text-align: center"] .n-button,
body.page-info .image-box > div[style*="text-align:center"] .n-button,
body.page-info .image-box > div[style*="margin-top: 20px"] .n-button,
body.page-info .image-box > div[style*="margin-top:20px"] .n-button {
    background: #f9fafb !important;
    border: 1px solid #e5e7eb !important;
    color: #374151 !important;
    padding: 0 20px !important;
    height: 36px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    box-shadow: none !important;
}
body.page-info .image-box > div[style*="text-align: center"] .n-button:hover,
body.page-info .image-box > div[style*="text-align:center"] .n-button:hover,
body.page-info .image-box > div[style*="margin-top: 20px"] .n-button:hover,
body.page-info .image-box > div[style*="margin-top:20px"] .n-button:hover {
    background: #e5e7eb !important;
    border-color: #d1d5db !important;
    color: #1f2937 !important;
}

/* ===== 输入框 ===== */
body.page-info .n-input {
    background: #ffffff !important;
    background-color: #ffffff !important;
    border: 1px solid #d1d5db !important;
    border-radius: 8px !important;
    color: #1f2937 !important;
    --n-color: #ffffff !important;
    --n-color-focus: #ffffff !important;
    --n-color-disabled: #f3f4f6 !important;
    --n-text-color: #1f2937 !important;
    --n-caret-color: #4f46e5 !important;
    --n-placeholder-color: #9ca3af !important;
    --n-border: 1px solid #d1d5db !important;
    --n-border-hover: 1px solid #9ca3af !important;
    --n-border-focus: 1px solid #4f46e5 !important;
}
body.page-info .n-input:hover {
    border-color: #9ca3af !important;
}
body.page-info .n-input.n-input--focus,
body.page-info .n-input--focus {
    border-color: #4f46e5 !important;
    box-shadow: 0 0 0 3px rgba(79,70,229,0.08) !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
}
body.page-info .n-input .n-input__input-el,
body.page-info .n-input input,
body.page-info .n-input textarea {
    color: #1f2937 !important;
    font-size: 13px !important;
    -webkit-text-fill-color: #1f2937 !important;
}
body.page-info .n-input .n-input__placeholder,
body.page-info .n-input .n-input__placeholder span {
    color: #9ca3af !important;
    -webkit-text-fill-color: #9ca3af !important;
}
/* 输入框内部wrapper背景 */
body.page-info .n-input-wrapper,
body.page-info .n-input .n-input-wrapper {
    background: #ffffff !important;
    background-color: #ffffff !important;
}
body.page-info .n-input__border,
body.page-info .n-input__state-border {
    border-color: #d1d5db !important;
}
body.page-info .n-input--focus .n-input__state-border {
    border-color: #4f46e5 !important;
}

/* ===== 选择框 ===== */
body.page-info .n-base-selection {
    background: #ffffff !important;
    background-color: #ffffff !important;
    border: 1px solid #d1d5db !important;
    border-radius: 8px !important;
    --n-color: #ffffff !important;
    --n-color-active: #ffffff !important;
    --n-text-color: #1f2937 !important;
    --n-border: 1px solid #d1d5db !important;
    --n-border-hover: 1px solid #9ca3af !important;
    --n-border-active: 1px solid #4f46e5 !important;
    --n-border-focus: 1px solid #4f46e5 !important;
    --n-placeholder-color: #9ca3af !important;
}
body.page-info .n-base-selection:hover {
    border-color: #9ca3af !important;
}
body.page-info .n-base-selection--active {
    border-color: #4f46e5 !important;
    box-shadow: 0 0 0 3px rgba(79,70,229,0.08) !important;
}
body.page-info .n-base-selection .n-base-selection-label {
    color: #1f2937 !important;
    background: transparent !important;
}
body.page-info .n-base-selection .n-base-selection-label .n-base-selection-input {
    color: #1f2937 !important;
    -webkit-text-fill-color: #1f2937 !important;
}
body.page-info .n-base-selection .n-base-selection-label .n-base-selection-input__content {
    color: #1f2937 !important;
    -webkit-text-fill-color: #1f2937 !important;
}
body.page-info .n-base-selection .n-base-selection-placeholder .n-base-selection-placeholder__inner {
    color: #9ca3af !important;
    -webkit-text-fill-color: #9ca3af !important;
}
body.page-info .n-base-selection .n-base-selection__border,
body.page-info .n-base-selection .n-base-selection__state-border {
    border-color: #d1d5db !important;
}
/* 选择框箭头图标 */
body.page-info .n-base-selection .n-base-suffix .n-base-suffix__arrow {
    color: #9ca3af !important;
}

/* ===== 输入行 (钓鱼、粘贴、密码等) ===== */
body.page-info .image2-input-wrapper[data-v-fc0266af] {
    margin-top: 8px !important;
    display: flex !important;
    justify-content: center !important;
}
body.page-info .image2-input-row[data-v-fc0266af] {
    display: flex !important;
    gap: 10px !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 520px !important;
    flex-wrap: wrap !important;
}
body.page-info .image2-input-row[data-v-fc0266af] > * {
    flex-shrink: 0 !important;
}
body.page-info .image2-input-row[data-v-fc0266af] .n-input {
    flex: 1 1 180px !important;
    min-width: 140px !important;
    max-width: 240px !important;
}
body.page-info .image2-input-row[data-v-fc0266af] .n-button {
    flex: none !important;
    width: auto !important;
    white-space: nowrap !important;
}
body.page-info .image2-input-row[data-v-fc0266af] .n-base-selection {
    flex: 1 1 140px !important;
    min-width: 120px !important;
    max-width: 180px !important;
}

/* ===== 弹出层 ===== */
body.page-info .n-popover,
body.page-info .n-select-menu,
body.page-info .n-base-select-menu {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 10px !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08) !important;
}
body.page-info .n-base-select-option {
    color: #374151 !important;
}
body.page-info .n-base-select-option--selected {
    color: #4f46e5 !important;
    background: #eef2ff !important;
}
body.page-info .n-base-select-option:hover {
    background: #f3f4f6 !important;
}

/* ===== 消息通知 ===== */
body.page-info .n-message {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
    color: #374151 !important;
    border-radius: 10px !important;
}

/* ===== 对话框 ===== */
body.page-info .n-modal,
body.page-info .n-dialog {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important;
}
body.page-info .n-dialog .n-dialog__title {
    color: #111827 !important;
}
body.page-info .n-dialog .n-dialog__content {
    color: #6b7280 !important;
}

/* ===== 侧边栏保持暗色 ===== */
body.page-info .layout .layout-sider,
body.page-info .n-layout-sider {
    background: #ffffff !important;
    box-shadow: 1px 0 0 #e5e7eb !important;
}
body.page-info .n-layout-sider .n-layout-sider-scroll-container {
    background: #ffffff !important;
}
body.page-info .logo {
    border-bottom: 1px solid #f3f4f6 !important;
}
body.page-info .logo .title {
    background: none !important;
    -webkit-text-fill-color: #1f2937 !important;
    color: #1f2937 !important;
    font-weight: 600 !important;
}
body.page-info .n-layout-sider .n-menu {
    background: transparent !important;
}
body.page-info .n-layout-sider .n-menu .n-menu-item-content,
body.page-info .n-layout-sider .n-menu .n-menu-item-content__icon {
    color: #6b7280 !important;
}
body.page-info .n-layout-sider .n-menu .n-menu-item:hover .n-menu-item-content,
body.page-info .n-layout-sider .n-menu .n-menu-item:hover .n-menu-item-content__icon {
    color: #1f2937 !important;
}
body.page-info .n-layout-sider .n-menu .n-menu-item:not(.n-menu-item--selected):hover .n-menu-item-content::before {
    background: #f3f4f6 !important;
}
body.page-info .n-layout-sider .n-menu .n-menu-item--selected .n-menu-item-content::before {
    background: #eef2ff !important;
    border-left: 3px solid #4f46e5 !important;
}
body.page-info .n-layout-sider .n-menu .n-menu-item--selected .n-menu-item-content,
body.page-info .n-layout-sider .n-menu .n-menu-item--selected .n-menu-item-content__icon {
    color: #4f46e5 !important;
}
body.page-info .n-layout-sider .n-menu .n-menu-item-content__arrow,
body.page-info .n-layout-sider .n-submenu .n-menu-item-content__arrow {
    color: #d1d5db !important;
}

/* ===== 标签 ===== */
body.page-info .n-tag {
    border-radius: 6px !important;
    color: #6b7280 !important;
}

/* ===== 开关 ===== */
body.page-info .n-switch.n-switch--active .n-switch__rail {
    background: #4f46e5 !important;
}
body.page-info .n-switch .n-switch__rail {
    background: #d1d5db !important;
}

/* ===== 滚动条 - 浅色 ===== */
body.page-info ::-webkit-scrollbar {
    width: 6px !important;
    height: 6px !important;
}
body.page-info ::-webkit-scrollbar-track {
    background: transparent !important;
}
body.page-info ::-webkit-scrollbar-thumb {
    background: #d1d5db !important;
    border-radius: 3px !important;
}
body.page-info ::-webkit-scrollbar-thumb:hover {
    background: #9ca3af !important;
}

/* ===== 文件列表 ===== */
body.page-info .file-item[data-v-fc0266af] {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 10px !important;
    padding: 12px 16px !important;
    margin: 6px 0 !important;
    transition: all 0.15s ease !important;
}
body.page-info .file-item[data-v-fc0266af]:hover {
    background: #f9fafb !important;
    border-color: #d1d5db !important;
}
body.page-info .file-item strong[data-v-fc0266af] {
    color: #1f2937 !important;
    font-weight: 600 !important;
}
body.page-info .file-item span[data-v-fc0266af] {
    color: #6b7280 !important;
}

/* ===== 注入功能警告文字 ===== */
body.page-info [data-v-fc0266af] span[style*="color: red"],
body.page-info [data-v-fc0266af] span[style*="color:red"] {
    color: #ef4444 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
}

/* ===== 特殊样式覆盖: 注入记录中的彩色文字 ===== */
body.page-info [style*="color: #39FF14"],
body.page-info [style*="color:#39FF14"],
body.page-info [style*="color: #39ff14"],
body.page-info [style*="color:#39ff14"] {
    color: #059669 !important;
}
body.page-info [style*="color: #1E90FF"],
body.page-info [style*="color:#1E90FF"] {
    color: #4f46e5 !important;
}
body.page-info [style*="color: #ef4444"],
body.page-info [style*="color:#ef4444"] {
    color: #dc2626 !important;
}
body.page-info [style*="background: #000"],
body.page-info [style*="background:#000"] {
    background: #f3f4f6 !important;
    border-radius: 8px !important;
    padding: 12px !important;
}

/* ===== 底部按钮组 (文, 日, 三...) ===== */
body.page-info .image-box-group + .button-row,
body.page-info .content-wrapper ~ .button-row {
    margin-top: 16px !important;
    display: flex !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
}

/* ===== 图片容器中的摄像监控 ===== */
body.page-info .image-content {
    border-radius: 12px !important;
    border: 1px solid #e5e7eb !important;
    max-width: 100% !important;
}

/* ===== 空状态 ===== */
body.page-info .n-empty .n-empty__icon .n-icon {
    color: #d1d5db !important;
}
body.page-info .n-empty__description {
    color: #9ca3af !important;
}

/* ===== Tooltip ===== */
body.page-info .n-tooltip {
    background: #ffffff !important;
    color: #374151 !important;
    border: 1px solid #e5e7eb !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
}

/* ===== 修复按钮内文字颜色继承 ===== */
body.page-info .n-button .n-button__content {
    color: inherit !important;
}
body.page-info .n-button .n-base-icon,
body.page-info .n-button .n-icon {
    color: inherit !important;
}

/* ===== 抽屉 ===== */
body.page-info .n-drawer,
body.page-info .n-drawer-content {
    background: #ffffff !important;
}
body.page-info .n-drawer-header {
    border-bottom: 1px solid #e5e7eb !important;
}
body.page-info .n-drawer-header__main {
    color: #111827 !important;
}

/* ===== 进度条 ===== */
body.page-info .n-progress .n-progress-graph-line-fill {
    background: linear-gradient(90deg, #4f46e5, #6366f1) !important;
}

/* ===== 投屏画布 mousecanvas ===== */
body.page-info .mousecanvas[data-v-fc0266af] {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 9 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 750px !important;
    pointer-events: none !important;
}

/* ===== 响应式优化 ===== */
@media (max-width: 1600px) {
    body.page-info .image-slot[data-v-fc0266af] {
        width: 320px !important;
        height: 650px !important;
        min-height: 650px !important;
    }
    body.page-info .screenlayers[data-v-fc0266af] {
        min-height: 650px !important;
    }
    body.page-info .inner-sidebar[data-v-fc0266af] {
        width: 160px !important;
    }
}

@media (max-width: 1400px) {
    body.page-info .content-wrapper[data-v-fc0266af] {
        flex-direction: column !important;
    }
    body.page-info .image-box-group[data-v-fc0266af] {
        width: 100% !important;
        justify-content: center !important;
    }
}

/* ===== 动画 ===== */
body.page-info .layout-content-main > div {
    animation: infoFadeIn 0.35s ease !important;
}
@keyframes infoFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
