/* 网站后台：内容区占满全宽 + 表格字号放大（2026-08-10 龚总要求） */
.fi-main,
.fi-main .fi-wi-stats-overview,
.fi-ta {
    max-width: 100% !important;
}

/* 表格字号放大：16px 正文，表头加粗 */
.fi-ta-cell {
    font-size: 16px !important;
    line-height: 1.5 !important;
}

.fi-ta-header-cell {
    font-size: 16px !important;
    font-weight: 600 !important;
}

.fi-ta-header-cell-label {
    font-size: 16px !important;
}

/* 表格操作按钮/徽章同步放大 */
.fi-ta-cell .fi-badge,
.fi-ta-cell .fi-btn {
    font-size: 15px !important;
}

/* 输入/搜索框字号 */
.fi-ta-search-field input,
.fi-ta-filter-form input,
.fi-ta-filter-form select {
    font-size: 15px !important;
}

/* ===== 房源编辑页：前台详情页同款风格（2026-08-11 龚总要求所见即所得）===== */
/* 编辑页 Section 卡片：白底圆角，标题醒目 */
.fi-section {
    border-radius: 12px !important;
    box-shadow: 0 1px 4px rgba(0,0,0,.06) !important;
    border: 1px solid #eef1f5 !important;
    background: #fff !important;
}
.fi-section-header {
    padding-bottom: 6px !important;
}
.fi-section-header-heading {
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #1a1a2e !important;
}
/* 左列（图片区）与右列信息区垂直对齐 */
.fi-section-header-actions {
    font-size: 13px !important;
}
/* 标题输入框：放大像前台 h1 */
.fi-fo-field-wrp:has(input[name="data.title"]) input {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #1a1a2e !important;
    padding: 10px 14px !important;
    border-radius: 8px !important;
    border: 1px solid #dde3ea !important;
}
/* 价格输入框突出 */
.fi-fo-field-wrp:has(input[name="data.price"]) input {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #2d8a4e !important;
}
/* 输入框统一样式：白底、清晰边框、黑字 */
.fi-fo-field-wrp input,
.fi-fo-field-wrp select,
.fi-fo-field-wrp textarea {
    border-radius: 6px !important;
    font-size: 15px !important;
    color: #1a1a2e !important;
}
.fi-fo-field-wrp label {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #333 !important;
}
/* 编辑页两栏间距 */
.fi-section > .fi-section-content-ctn {
    padding: 14px 18px 18px !important;
}
/* 提交按钮：蓝底白字醒目（龚总偏好） */
.fi-form-actions .fi-btn {
    background: #2563eb !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    padding: 8px 24px !important;
    border-radius: 6px !important;
}
.fi-form-actions .fi-btn:hover {
    background: #1d4ed8 !important;
}
/* 返回/删除等次要按钮保持清晰 */
.fi-header-actions .fi-btn {
    font-size: 14px !important;
}
/* 字段帮助文字小号深灰（2026-08-11 从 #9ca3af 加深到 #555，保证可读） */
.fi-fo-field-wrp .fi-hint {
    font-size: 12px !important;
    color: #555 !important;
}

/* ===== 2026-08-11 龚总要求：单位标签清晰化 =====
   Filament 默认 suffix 单位（kg/㎡、KVA、台、吨等）是 text-gray-500 灰字、
   无背景、紧贴输入框，视觉上像"隐藏"。改为：浅灰背景 #f0f0f0 包裹、
   深色 #333 文字、带边框圆角，与输入框形成明显边界。 */
.fi-input-wrp-label {
    color: #333 !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    background: #f0f0f0 !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 4px !important;
    padding: 2px 8px !important;
    white-space: nowrap !important;
}

/* 输入框与单位标签之间留出间距 */
.fi-input-wrp-suffix {
    gap-x: 6px !important;
    padding-left: 8px !important;
}

/* placeholder 提示文字：全黑（龚总偏好：全黑文字禁止灰色；2026-08-20 选择器修正为 Filament v3.2 的 .fi-input） */
.fi-input::placeholder {
    color: #000 !important;
    opacity: 1 !important;
}

/* helperText（辅助文字）加深：默认 text-gray-500 → #555 */
.fi-fo-field-wrp-helper-text {
    color: #555 !important;
    font-size: 13px !important;
}

/* 标签输入框（TagsInput）清晰化：不再显示"新标签"占位灰色小方块 */
.fi-fo-tags-input {
    border: 1px solid #d1d5db !important;
    border-radius: 6px !important;
    background: #fff !important;
}
.fi-fo-tags-input-tags-ctn .fi-badge {
    background: #eef4ff !important;
    border: 1px solid #bfdbfe !important;
    color: #1e40af !important;
    font-size: 13px !important;
    font-weight: 500 !important;
}
.fi-fo-tags-input input::placeholder {
    color: #666 !important;
    opacity: 1 !important;
}

/* ===== 2026-08-12 龚总要求：数字输入框不要上下调整箭头，改成简单填写 =====
   保留 numeric() 校验（int/decimal 列存错会报错），只是视觉上隐藏浏览器
   自带的 spinner 箭头，输入框看起来就是普通填写框 */
.fi-fo-field-wrp input[type="number"]::-webkit-outer-spin-button,
.fi-fo-field-wrp input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}
.fi-fo-field-wrp input[type="number"] {
    -moz-appearance: textfield !important;
    appearance: textfield !important;
}

/* ===== 2026-08-12 龚总要求：登录页账号/密码输入框字体纯白色 =====
   输入框改深色底(#1e293b)衬纯白字，placeholder 用半透明白保证深底可读 */
.fi-simple-layout .fi-input-wrp,
.fi-simple-layout .fi-input {
    background-color: #1e293b !important;
}
.fi-simple-layout .fi-input {
    color: #ffffff !important;
}
.fi-simple-layout .fi-input::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
    opacity: 1 !important;
}

/* ===== 2026-08-20 龚总要求：编辑房源页提示文字统一浅灰 #999999
   作用于 PropertyResource 整个表单（.property-edit-form），
   覆盖厂房/仓库、农村土地、工业用地、描述、标签等所有区块。
   只改颜色，不动字号/间距/文案。 ===== */
.property-edit-form .fi-fo-field-wrp-label:not(:has(sup)) span {
    color: #999999 !important;
}
.property-edit-form .fi-input::placeholder,
.property-edit-form textarea::placeholder {
    color: #999999 !important;
    opacity: 1 !important;
}
.property-edit-form .image-url-input::placeholder {
    color: #999999 !important;
    opacity: 1 !important;
}
.property-edit-form .fi-fo-field-wrp-helper-text {
    color: #999999 !important;
}
.property-edit-form .fi-input-wrp-label {
    color: #999999 !important;
}
.property-edit-form select:has(option:checked[value=""]) {
    color: #999999 !important;
}
.property-edit-form .fi-fo-tags-input input::placeholder {
    color: #999999 !important;
    opacity: 1 !important;
}
/* searchable 下拉（Choices.js 渲染）：占位文字与搜索框提示同色 */
.property-edit-form .choices__placeholder,
.property-edit-form .choices__input--cloned::placeholder {
    color: #999999 !important;
    opacity: 1 !important;
}

/* ===== 2026-08-20 龚总要求：建筑结构多选（CheckboxList）选项文字全黑 =====
   Filament 默认 label 是 text-gray-700 / dark:text-gray-300（深色模式下发白看不清） */
.fi-fo-checkbox-list-option-label {
    color: #000 !important;
    font-size: 15px !important;
}
.fi-fo-checkbox-list-option-label span {
    color: #000 !important;
}

/* ===== 首页广告位-房源选择下拉（2026-08-25）=====
   隐藏下拉结果里已选中的旧房源（Choices.js 会把已选项固定显示在结果里，
   龚总误以为是"跳回之前设定的房源"）；键盘高亮时(is-highlighted)仍显示可辨认。
   注：Choices 容器被 Filament 移到字段包裹层外，无法用 .ad-prop-select 祖先选择器，
   故用全局规则（仅影响 searchable 下拉，隐藏已选项=减少干扰，不破坏选择功能） */
.choices__list--dropdown .choices__item--choice.is-selected:not(.is-highlighted) {
    display: none;
}
/* 搜索中提示更醒目 */
.choices__list--dropdown .choices__item--disabled {
    color: #999 !important;
}
