/* ============================================
   民宿商家管理系统 - 全局样式
   设计：高端/大气/精致/精美
   ============================================ */

/* === CSS Variables === */
:root {
    --primary: #4F6EF7;
    --primary-light: #7B93FA;
    --primary-dark: #3B54D4;
    --primary-bg: #EEF1FE;
    --success: #22C55E;
    --warning: #F59E0B;
    --danger: #EF4444;
    --info: #06B6D4;
    --text-primary: #1E293B;
    --text-regular: #475569;
    --text-secondary: #94A3B8;
    --text-placeholder: #CBD5E1;
    --border-color: #E2E8F0;
    --border-light: #F1F5F9;
    --bg-page: #F8FAFC;
    --bg-card: #FFFFFF;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.06), 0 2px 4px -2px rgba(0,0,0,0.04);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.04);
    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
}

/* === Reset & Base === */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: var(--bg-page);
    color: var(--text-primary);
    font-size: 14px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
input, textarea, select { font-family: inherit; }
img { max-width: 100%; }

/* === Layout === */
.admin-layout { display: flex; min-height: 100vh; }

/* === Sidebar === */
.sidebar {
    width: 240px;
    background: linear-gradient(180deg, #1E293B 0%, #0F172A 100%);
    color: #fff;
    position: fixed;
    top: 0; left: 0; bottom: 0;
    z-index: 100;
    display: flex; flex-direction: column;
    box-shadow: 4px 0 24px rgba(0,0,0,0.15);
    transition: var(--transition);
}
.sidebar-logo {
    padding: 28px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: flex; align-items: center; gap: 12px;
}
.sidebar-logo .logo-icon {
    width: 42px; height: 42px;
    background: linear-gradient(135deg, #4F6EF7 0%, #7B93FA 100%);
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
}
.sidebar-logo .logo-text h2 {
    font-size: 16px; font-weight: 600;
    background: linear-gradient(135deg, #fff, #CBD5E1);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.sidebar-logo .logo-text p {
    font-size: 11px; color: #64748B; margin-top: 2px;
}
.sidebar-nav { flex: 1; padding: 16px 12px; overflow-y: auto; }
.sidebar-nav .nav-group { margin-bottom: 4px; }
.sidebar-nav .nav-group-title {
    font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px;
    color: #475569; padding: 16px 12px 8px; font-weight: 600;
}
.sidebar-nav .nav-item {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 16px; border-radius: var(--radius);
    color: #94A3B8; font-size: 14px; cursor: pointer;
    transition: var(--transition); margin-bottom: 2px;
    position: relative; font-weight: 500;
}
.sidebar-nav .nav-item:hover {
    background: rgba(255,255,255,0.06); color: #E2E8F0;
}
.sidebar-nav .nav-item.active {
    background: linear-gradient(135deg, rgba(79,110,247,0.2), rgba(79,110,247,0.1));
    color: #fff; font-weight: 600;
}
.sidebar-nav .nav-item.active::before {
    content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
    width: 3px; height: 20px; background: var(--primary); border-radius: 0 3px 3px 0;
}
.sidebar-nav .nav-item i { font-size: 18px; width: 20px; text-align: center; }
.sidebar-nav .nav-item .badge {
    margin-left: auto; background: var(--danger); color: #fff;
    font-size: 11px; padding: 2px 8px; border-radius: 10px; font-weight: 500;
}
.sidebar-footer {
    padding: 16px; border-top: 1px solid rgba(255,255,255,0.08);
}
.sidebar-footer .user-info {
    display: flex; align-items: center; gap: 10px;
    padding: 8px; border-radius: var(--radius);
    background: rgba(255,255,255,0.04); cursor: pointer;
    transition: var(--transition);
}
.sidebar-footer .user-info:hover { background: rgba(255,255,255,0.08); }
.sidebar-footer .user-avatar {
    width: 36px; height: 36px; border-radius: 50%;
    background: linear-gradient(135deg, #4F6EF7, #7B93FA);
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 600; color: #fff; flex-shrink: 0;
}
.sidebar-footer .user-name { font-size: 13px; font-weight: 500; color: #E2E8F0; }
.sidebar-footer .user-role { font-size: 11px; color: #64748B; }

/* === Main Content === */
.main-content {
    flex: 1; margin-left: 240px;
    padding: 28px 32px; min-height: 100vh;
}

/* === Page Header === */
.page-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 28px;
}
.page-header h1 {
    font-size: 24px; font-weight: 700; color: var(--text-primary);
    letter-spacing: -0.5px;
}
.page-header .header-actions { display: flex; gap: 10px; align-items: center; }
.btn-back-list {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 8px 16px; border-radius: 8px;
    background: #f5f7fa; color: #606266; font-size: 13px;
    text-decoration: none; border: 1px solid #e4e7ed;
    transition: all 0.2s;
}
.btn-back-list:hover {
    background: #ecf5ff; color: #409eff; border-color: #c6e2ff;
}

/* === Breadcrumb === */
.breadcrumb {
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; color: var(--text-secondary); margin-bottom: 8px;
}
.breadcrumb a { color: var(--text-secondary); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .separator { color: #CBD5E1; }

/* === Stats Cards === */
.stats-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px; margin-bottom: 28px;
}
.stat-card {
    background: var(--bg-card); border-radius: var(--radius-lg);
    padding: 24px; box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
    transition: var(--transition); position: relative; overflow: hidden;
}
.stat-card:hover {
    box-shadow: var(--shadow-md); transform: translateY(-2px);
}
.stat-card::after {
    content: ''; position: absolute; top: -20px; right: -20px;
    width: 80px; height: 80px; border-radius: 50%;
    background: var(--primary-bg); opacity: 0.4;
}
.stat-card .stat-icon {
    width: 44px; height: 44px; border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; margin-bottom: 16px;
}
.stat-card .stat-icon.blue { background: #EEF2FF; color: var(--primary); }
.stat-card .stat-icon.green { background: #ECFDF5; color: var(--success); }
.stat-card .stat-icon.orange { background: #FFF7ED; color: var(--warning); }
.stat-card .stat-icon.purple { background: #F5F3FF; color: #8B5CF6; }
.stat-card .stat-icon.red { background: #FEF2F2; color: var(--danger); }
.stat-card .stat-icon.cyan { background: #ECFEFF; color: var(--info); }
.stat-card .stat-value {
    font-size: 32px; font-weight: 700; color: var(--text-primary);
    line-height: 1.2; margin-bottom: 4px; letter-spacing: -1px;
}
.stat-card .stat-label {
    font-size: 13px; color: var(--text-secondary); font-weight: 500;
}
.stat-card .stat-trend {
    font-size: 12px; margin-top: 8px; display: flex; align-items: center; gap: 4px;
}
.stat-card .stat-trend.up { color: var(--success); }
.stat-card .stat-trend.down { color: var(--danger); }

/* === Charts Grid === */
.charts-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
    gap: 20px; margin-bottom: 28px;
}
.chart-card {
    background: var(--bg-card); border-radius: var(--radius-lg);
    padding: 24px; box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
}
.chart-card .chart-title {
    font-size: 15px; font-weight: 600; color: var(--text-primary);
    margin-bottom: 16px; display: flex; align-items: center; gap: 8px;
}
.chart-card .chart-title::before {
    content: ''; width: 4px; height: 18px; background: var(--primary);
    border-radius: 2px;
}
.chart-card canvas { max-height: 300px; }

/* === Data Table === */
.table-card {
    background: var(--bg-card); border-radius: var(--radius-lg);
    box-shadow: var(--shadow); border: 1px solid var(--border-light);
    overflow: hidden;
}
.table-card .table-header {
    padding: 20px 24px; border-bottom: 1px solid var(--border-light);
    display: flex; align-items: center; justify-content: space-between;
}
.table-card .table-header h3 {
    font-size: 15px; font-weight: 600;
    display: flex; align-items: center; gap: 8px;
}
.table-card .table-header h3::before {
    content: ''; width: 4px; height: 18px; background: var(--primary);
    border-radius: 2px;
}
.table-card .table-body { padding: 0 24px 24px; }
.data-table {
    width: 100%; border-collapse: collapse;
}
.data-table th {
    padding: 14px 16px; text-align: left; font-size: 12px;
    font-weight: 600; color: var(--text-secondary); text-transform: uppercase;
    letter-spacing: 0.5px; border-bottom: 2px solid var(--border-light);
    background: #F8FAFC;
}
.data-table td {
    padding: 14px 16px; border-bottom: 1px solid var(--border-light);
    font-size: 13px; color: var(--text-regular);
}
.data-table tr:hover td { background: #F8FAFC; }
.data-table .empty-row td {
    text-align: center; padding: 60px 20px; color: var(--text-secondary);
}

/* === Status Badges === */
.badge {
    display: inline-flex; align-items: center; padding: 4px 12px;
    border-radius: 20px; font-size: 12px; font-weight: 500;
    letter-spacing: 0.3px;
}
.badge-primary { background: #EEF2FF; color: var(--primary); }
.badge-success { background: #ECFDF5; color: #16A34A; }
.badge-warning { background: #FFF7ED; color: #EA580C; }
.badge-danger { background: #FEF2F2; color: #DC2626; }
.badge-info { background: #ECFEFF; color: #0891B2; }
.badge-default { background: #F1F5F9; color: #64748B; }

/* === Action Buttons === */
.actions { display: flex; gap: 6px; }
.btn-action {
    padding: 4px 8px; border-radius: 4px; font-size: 12px;
    cursor: pointer; transition: var(--transition); border: none;
    background: transparent;
}
.btn-action.edit { color: var(--primary); }
.btn-action.edit:hover { background: var(--primary-bg); }
.btn-action.del { color: var(--danger); }
.btn-action.del:hover { background: #FEF2F2; }

/* === Filters Bar === */
.filters-bar {
    display: flex; gap: 12px; margin-bottom: 20px;
    flex-wrap: wrap; align-items: center;
}

/* === Pagination === */
.pagination-box {
    display: flex; justify-content: center; margin-top: 24px;
}

/* === Form Page === */
.form-card {
    background: var(--bg-card); border-radius: var(--radius-lg);
    box-shadow: var(--shadow); border: 1px solid var(--border-light);
    max-width: 800px; margin: 0 auto;
}
.form-card .form-header {
    padding: 24px 32px; border-bottom: 1px solid var(--border-light);
}
.form-card .form-header h2 {
    font-size: 18px; font-weight: 600;
    display: flex; align-items: center; gap: 8px;
}
.form-card .form-header h2::before {
    content: ''; width: 4px; height: 20px; background: var(--primary);
    border-radius: 2px;
}
.form-card .form-body { padding: 28px 32px; }
.form-card .form-footer {
    padding: 16px 32px; border-top: 1px solid var(--border-light);
    display: flex; justify-content: flex-end; gap: 12px;
}

/* === Quick Actions === */
.quick-actions {
    display: flex; gap: 12px; margin-bottom: 28px;
}
.quick-action-item {
    flex: 1; background: var(--bg-card); border-radius: var(--radius);
    padding: 20px; text-align: center; box-shadow: var(--shadow);
    border: 1px solid var(--border-light); cursor: pointer;
    transition: var(--transition);
}
.quick-action-item:hover {
    box-shadow: var(--shadow-md); transform: translateY(-2px);
    border-color: var(--primary-light);
}
.quick-action-item .qa-icon {
    width: 48px; height: 48px; border-radius: var(--radius);
    margin: 0 auto 12px; display: flex; align-items: center; justify-content: center;
    font-size: 22px;
}
.quick-action-item .qa-label { font-size: 13px; font-weight: 600; color: var(--text-primary); }

/* === Login Page === */
.login-page {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative; overflow: hidden;
}
.login-decor {
    position: absolute; border-radius: 50%; background: rgba(255,255,255,0.05);
}
.login-decor.decor-1 { width: 600px; height: 600px; top: -200px; right: -100px; }
.login-decor.decor-2 { width: 400px; height: 400px; bottom: -150px; left: -100px; background: rgba(255,255,255,0.03); }
.login-decor.decor-3 { width: 200px; height: 200px; top: 40%; left: 8%; background: rgba(255,255,255,0.04); }
.login-container {
    background: #fff; border-radius: var(--radius-xl);
    padding: 48px 40px; width: 420px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    position: relative; z-index: 1;
}
.login-header { text-align: center; margin-bottom: 24px; }
.login-logo {
    width: 60px; height: 60px; margin: 0 auto 16px;
    background: linear-gradient(135deg, #4F6EF7, #7B93FA);
    border-radius: 16px; display: flex; align-items: center; justify-content: center;
    font-size: 28px; box-shadow: 0 8px 20px rgba(79,110,247,0.35);
}
.login-container h2 {
    font-size: 22px; font-weight: 700; color: var(--text-primary);
    margin-bottom: 6px; letter-spacing: 1px;
}
.login-subtitle {
    color: var(--text-secondary); font-size: 13px;
}
.login-form { margin-top: 8px; }
.login-form .el-form-item { margin-bottom: 20px; }
.login-form .el-input__inner {
    height: 46px; line-height: 46px; border-radius: 8px;
    font-size: 14px; border: 1.5px solid #E2E8F0; padding-left: 40px;
    transition: all 0.25s ease;
}
.login-form .el-input__inner:focus {
    border-color: #4F6EF7; box-shadow: 0 0 0 3px rgba(79,110,247,0.1);
}
.login-form .el-input__prefix { left: 12px; line-height: 46px; }
.login-form .el-input__prefix .el-icon-user,
.login-form .el-input__prefix .el-icon-lock { font-size: 18px; color: #94A3B8; }
.login-btn-item { margin-top: 8px !important; }
.login-btn {
    width: 100%; height: 46px; font-size: 16px; letter-spacing: 4px;
    border-radius: 8px; font-weight: 600;
}
.login-links {
    text-align: center; color: #94A3B8; font-size: 13px; margin-top: 24px;
}
.login-links a { color: #4F6EF7; font-weight: 500; }
.login-links a:hover { color: #3B54D4; }
.login-links .link-home { color: #94A3B8; font-weight: 400; }
.login-links .link-home:hover { color: #64748B; }

/* === Register Page === */
.register-page {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #1E293B 0%, #334155 50%, #0F172A 100%);
    position: relative; overflow: hidden;
}
.register-page::before {
    content: ''; position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.register-container {
    background: #fff; border-radius: var(--radius-xl);
    padding: 40px 40px; width: 460px; max-height: 90vh; overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.35);
    position: relative; z-index: 1;
}
.register-header { text-align: center; margin-bottom: 20px; }
.register-logo {
    width: 56px; height: 56px; margin: 0 auto 14px;
    background: linear-gradient(135deg, #4F6EF7, #7B93FA);
    border-radius: 16px; display: flex; align-items: center; justify-content: center;
    font-size: 26px; box-shadow: 0 8px 20px rgba(79,110,247,0.35);
}
.register-container h2 {
    font-size: 22px; font-weight: 700; color: var(--text-primary);
    margin-bottom: 6px; letter-spacing: 1px;
}
.register-subtitle {
    color: var(--text-secondary); font-size: 13px;
}
.register-form { margin-top: 4px; }
.register-form .el-form-item { margin-bottom: 18px; }
.register-form .el-input__inner {
    height: 44px; line-height: 44px; border-radius: 8px;
    font-size: 14px; border: 1.5px solid #E2E8F0; padding-left: 40px;
    transition: all 0.25s ease;
}
.register-form .el-input__inner:focus {
    border-color: #4F6EF7; box-shadow: 0 0 0 3px rgba(79,110,247,0.1);
}
.register-form .el-input__prefix { left: 12px; line-height: 44px; }
.register-form .el-input__prefix i { font-size: 18px; color: #94A3B8; }
.register-btn-item { margin-top: 10px !important; }
.register-btn {
    width: 100%; height: 46px; font-size: 16px; letter-spacing: 4px;
    border-radius: 8px; font-weight: 600;
}
.register-links {
    text-align: center; color: #94A3B8; font-size: 13px; margin-top: 20px;
}
.register-links a { color: #4F6EF7; font-weight: 500; }
.register-links a:hover { color: #3B54D4; }

/* === Responsive === */
@media (max-width: 1024px) {
    .sidebar { width: 200px; }
    .main-content { margin-left: 200px; padding: 20px; }
    .charts-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .sidebar { transform: translateX(-100%); }
    .sidebar.mobile-open { transform: translateX(0); }
    .main-content { margin-left: 0; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .page-header { flex-direction: column; align-items: flex-start; gap: 12px; }
}
@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
    .login-container, .register-container { width: 90%; padding: 32px 24px; }
}

/* === Animations === */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeIn 0.5s ease-out; }
@keyframes slideIn {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}
.slide-in { animation: slideIn 0.4s ease-out; }
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}
.pulse { animation: pulse 2s infinite; }

/* === Element UI Overrides === */
.el-button--primary {
    background: linear-gradient(135deg, #4F6EF7 0%, #3B54D4 100%) !important;
    border-color: transparent !important;
    font-weight: 500 !important;
    letter-spacing: 0.5px;
}
.el-button--primary:hover {
    background: linear-gradient(135deg, #7B93FA 0%, #4F6EF7 100%) !important;
}
.el-input__inner:focus, .el-textarea__inner:focus {
    border-color: var(--primary) !important;
}
.el-pagination.is-background .el-pager li.active {
    background: var(--primary) !important;
}
.el-dialog { border-radius: var(--radius-lg) !important; }
.el-dialog__header { border-bottom: 1px solid var(--border-light); padding: 20px 24px !important; }
.el-dialog__title { font-size: 16px !important; font-weight: 600 !important; }
.el-tag { border-radius: 4px !important; font-weight: 500 !important; }

/* === Scrollbar === */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #CBD5E1; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #94A3B8; }

/* === Mobile Toggle === */
.mobile-toggle {
    display: none; position: fixed; top: 16px; left: 16px; z-index: 200;
    width: 40px; height: 40px; border-radius: var(--radius);
    background: var(--primary); color: #fff; border: none;
    font-size: 18px; cursor: pointer; box-shadow: var(--shadow-md);
}
@media (max-width: 768px) {
    .mobile-toggle { display: flex; align-items: center; justify-content: center; }
}

/* === Empty State === */
.empty-state {
    text-align: center; padding: 80px 20px;
}
.empty-state .empty-icon {
    font-size: 64px; color: #E2E8F0; margin-bottom: 16px;
}
.empty-state .empty-text {
    font-size: 15px; color: var(--text-secondary); margin-bottom: 20px;
}

/* ============================================
   房源列表页 - 高端大气精美设计
   ============================================ */

/* === 容器 === */
.fangyuan-container {
    padding: 0;
    animation: fadeIn 0.6s ease-out;
}

/* ========== 顶部横幅 ========== */
.hero-banner {
    position: relative;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 40%, #0f3460 70%, #1a1a2e 100%);
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 28px;
    box-shadow: 0 20px 60px rgba(15, 52, 96, 0.3);
}
.hero-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -30%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(79, 110, 247, 0.15) 0%, transparent 70%);
    pointer-events: none;
}
.hero-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(123, 147, 250, 0.1) 0%, transparent 70%);
    pointer-events: none;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}
.hero-content {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 44px;
    flex-wrap: wrap;
    gap: 28px;
    z-index: 1;
}
.hero-left {
    display: flex;
    align-items: center;
    gap: 20px;
}
.hero-icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}
.hero-banner:hover .hero-icon-wrap {
    transform: scale(1.05) rotate(-3deg);
}
.hero-left h1 {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 6px 0;
    line-height: 1.2;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.hero-left p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.3px;
}
.hero-stats {
    display: flex;
    gap: 40px;
}
.hero-stat-item {
    text-align: center;
    position: relative;
}
.hero-stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.12);
}
.hero-stat-num {
    font-size: 38px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    letter-spacing: -1px;
}
.hero-stat-num.online {
    color: #6EE7B7;
    text-shadow: 0 0 30px rgba(110, 231, 183, 0.4);
}
.hero-stat-num.pending {
    color: #FCD34D;
    text-shadow: 0 0 30px rgba(252, 211, 77, 0.4);
}
.hero-stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

/* ========== 工具栏 ========== */
.toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}
.toolbar-left {
    display: flex;
    align-items: center;
}
.filter-tabs {
    display: flex;
    background: #fff;
    border-radius: 14px;
    padding: 5px;
    gap: 3px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-light);
}
.filter-tab {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 10px 18px;
    border-radius: 11px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}
.filter-tab i {
    font-size: 15px;
}
.filter-tab:hover {
    color: var(--text-regular);
    background: var(--bg-page);
}
.filter-tab.active {
    background: linear-gradient(135deg, #4F6EF7 0%, #3B54D4 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(79, 110, 247, 0.35);
    font-weight: 600;
}
.tab-count {
    font-size: 11px;
    background: rgba(148, 163, 184, 0.15);
    color: var(--text-secondary);
    padding: 2px 9px;
    border-radius: 10px;
    font-weight: 700;
    min-width: 20px;
    text-align: center;
}
.filter-tab.active .tab-count {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}
.toolbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}
.search-box {
    position: relative;
    display: flex;
    align-items: center;
}
.search-box i {
    position: absolute;
    left: 16px;
    color: var(--text-secondary);
    font-size: 16px;
    z-index: 1;
    pointer-events: none;
}
.search-box input {
    width: 260px;
    height: 44px;
    padding: 0 18px 0 44px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 14px;
    color: var(--text-primary);
    outline: none;
    transition: all 0.3s ease;
    background: #fff;
}
.search-box input::placeholder {
    color: var(--text-placeholder);
}
.search-box input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(79, 110, 247, 0.08);
}

/* ========== 按钮 ========== */
.btn-add {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 24px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #4F6EF7 0%, #3B54D4 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(79, 110, 247, 0.35);
    white-space: nowrap;
    letter-spacing: 0.5px;
}
.btn-add:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 110, 247, 0.5);
}
.btn-add:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(79, 110, 247, 0.3);
}
.btn-add.large {
    height: 50px;
    padding: 0 32px;
    font-size: 15px;
    border-radius: 14px;
}
.btn-add i {
    font-size: 16px;
}
.btn-add.large i {
    font-size: 18px;
}

/* ========== 骨架屏 ========== */
.skeleton-card {
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.skeleton-img {
    height: 220px;
    background: linear-gradient(90deg, #F1F5F9 25%, #E2E8F0 50%, #F1F5F9 75%);
    background-size: 200% 100%;
    animation: shimmer 1.8s ease-in-out infinite;
}
.skeleton-body {
    padding: 24px;
}
.skeleton-line {
    height: 14px;
    background: linear-gradient(90deg, #F1F5F9 25%, #E2E8F0 50%, #F1F5F9 75%);
    background-size: 200% 100%;
    animation: shimmer 1.8s ease-in-out infinite;
    border-radius: 8px;
    margin-bottom: 12px;
}
.skeleton-line.w80 { width: 80%; }
.skeleton-line.w50 { width: 50%; }
.skeleton-line.w100 { width: 100%; }
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* ========== 空状态 ========== */
.empty-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 80px 20px;
    text-align: center;
}
.empty-illustration {
    margin-bottom: 28px;
    opacity: 0.7;
    transition: opacity 0.3s;
}
.empty-block:hover .empty-illustration {
    opacity: 1;
}
.empty-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}
.empty-desc {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 28px;
    max-width: 320px;
    line-height: 1.6;
}

/* ========== 房源网格 ========== */
.house-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 24px;
}

/* 房源卡片 */
.house-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 0 0 1px rgba(0, 0, 0, 0.02);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
}
.house-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(79, 110, 247, 0.08);
}

/* 卡片图片区域 */
.card-img-wrap {
    position: relative;
    height: 220px;
    background: linear-gradient(135deg, #F8FAFC 0%, #E2E8F0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.card-img-wrap::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
    z-index: 1;
    pointer-events: none;
}
.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.house-card:hover .card-img-wrap img {
    transform: scale(1.08);
}
.card-img-fallback {
    font-size: 64px;
    opacity: 0.25;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.house-card:hover .card-img-fallback {
    transform: scale(1.1);
}

/* 状态徽章 */
.card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    backdrop-filter: blur(12px);
    z-index: 2;
    text-transform: uppercase;
}
.card-badge.published {
    background: rgba(236, 253, 245, 0.92);
    color: #059669;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.15);
}
.card-badge.pending {
    background: rgba(255, 247, 237, 0.92);
    color: #EA580C;
    box-shadow: 0 2px 8px rgba(234, 88, 12, 0.15);
}
.card-badge.rejected {
    background: rgba(254, 242, 242, 0.92);
    color: #DC2626;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.15);
}

/* 热门标签 */
.card-hot {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    background: linear-gradient(135deg, rgba(254, 243, 199, 0.95), rgba(252, 211, 77, 0.9));
    color: #B45309;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(180, 83, 9, 0.2);
    animation: hotPulse 2s ease-in-out infinite;
}
@keyframes hotPulse {
    0%, 100% { box-shadow: 0 2px 8px rgba(180, 83, 9, 0.2); }
    50% { box-shadow: 0 2px 16px rgba(180, 83, 9, 0.35); }
}

/* 卡片内容区 */
.card-body {
    padding: 22px 24px 20px;
}
.card-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 10px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.3px;
    transition: color 0.3s;
}
.house-card:hover .card-title {
    color: var(--primary);
}
.card-addr {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.5;
}
.card-addr i {
    color: var(--text-secondary);
    margin-top: 2px;
    flex-shrink: 0;
    font-size: 14px;
}
.card-addr span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 卡片元信息 */
.card-meta {
    display: flex;
    gap: 18px;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border-light);
}
.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}
.meta-item i {
    font-size: 14px;
    color: var(--primary-light);
}
.meta-item.time {
    color: var(--text-placeholder);
    margin-left: auto;
}
.meta-item.time i {
    color: var(--text-placeholder);
}

/* 卡片操作按钮 */
.card-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}
.btn-card {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1.5px solid var(--border-color);
    background: #fff;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 15px;
    position: relative;
    overflow: hidden;
}
.btn-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: currentColor;
    opacity: 0;
    transition: opacity 0.25s;
}
.btn-card:hover {
    transform: translateY(-2px);
}
.btn-card:active {
    transform: translateY(0) scale(0.95);
}
.btn-edit:hover {
    background: var(--primary-bg);
    color: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(79, 110, 247, 0.2);
}
.btn-toggle:hover {
    background: #FFF7ED;
    color: #EA580C;
    border-color: #EA580C;
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.2);
}
.btn-toggle.off:hover {
    background: #FEF2F2;
    color: #DC2626;
    border-color: #DC2626;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2);
}
.btn-del:hover {
    background: #FEF2F2;
    color: #DC2626;
    border-color: #DC2626;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2);
}
.btn-roomtypes:hover {
    background: #F0FDF4;
    color: #16A34A;
    border-color: #16A34A;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.2);
}

/* ========== 分页 ========== */
.pagination-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 40px;
    padding: 12px 0;
}
.page-btn {
    min-width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    background: #fff;
    color: var(--text-regular);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.page-btn:hover:not(:disabled):not(.active) {
    border-color: var(--primary-light);
    color: var(--primary);
    background: var(--primary-bg);
}
.page-btn.active {
    background: linear-gradient(135deg, #4F6EF7 0%, #3B54D4 100%);
    color: #fff;
    border-color: transparent;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(79, 110, 247, 0.35);
}
.page-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: var(--bg-page);
}
.page-info {
    font-size: 13px;
    color: var(--text-secondary);
    margin-left: 12px;
    font-weight: 500;
}

/* ========== 响应式设计 ========== */
@media (max-width: 1024px) {
    .house-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 20px;
    }
    .hero-content {
        padding: 32px 28px;
    }
    .hero-stats {
        gap: 28px;
    }
    .hero-stat-item:not(:last-child)::after {
        right: -14px;
    }
}
@media (max-width: 768px) {
    .hero-content {
        padding: 24px 20px;
        flex-direction: column;
        align-items: flex-start;
    }
    .hero-left h1 {
        font-size: 22px;
    }
    .hero-icon-wrap {
        width: 56px;
        height: 56px;
    }
    .hero-stats {
        gap: 24px;
        width: 100%;
        justify-content: space-around;
    }
    .hero-stat-item:not(:last-child)::after {
        display: none;
    }
    .hero-stat-num {
        font-size: 28px;
    }
    .toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    .toolbar-right {
        flex-direction: column;
    }
    .search-box {
        width: 100%;
    }
    .search-box input {
        width: 100%;
    }
    .btn-add {
        width: 100%;
        justify-content: center;
    }
    .house-grid {
        grid-template-columns: 1fr;
    }
    .filter-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    .card-img-wrap {
        height: 200px;
    }
}
@media (max-width: 480px) {
    .hero-content {
        padding: 20px 16px;
    }
    .hero-stats {
        gap: 16px;
    }
    .hero-stat-num {
        font-size: 24px;
    }
    .house-grid {
        gap: 16px;
    }
    .card-body {
        padding: 16px 18px;
    }
}

/* ============================================
   房源添加/编辑页 - 表单样式
   ============================================ */

.fangyuan-form-page { padding: 0; }

/* === 顶部步骤条区域 === */
.form-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 28px 32px 24px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}
.form-hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23fff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.form-hero-left {
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
}
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.2s;
}
.back-link:hover { color: #fff; }
.form-hero-title {
    display: flex;
    align-items: center;
    gap: 14px;
}
.form-hero-icon {
    width: 48px; height: 48px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}
.form-hero-title h1 {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.2;
}
.form-hero-title p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin: 2px 0 0 0;
}

/* === 步骤条 === */
.form-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    position: relative;
    z-index: 1;
}
.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}
.step-dot {
    width: 36px; height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s;
}
.step-item.active .step-dot {
    background: #fff;
    color: #667eea;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.25);
}
.step-item.done .step-dot {
    background: rgba(167, 243, 208, 0.9);
    color: #059669;
}
.step-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    transition: color 0.3s;
}
.step-item.active .step-label { color: #fff; }
.step-item.done .step-label { color: rgba(255, 255, 255, 0.85); }
.step-line {
    width: 60px; height: 2px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 4px;
    margin-bottom: 22px;
    border-radius: 1px;
    transition: background 0.3s;
}
.step-line.active { background: rgba(255, 255, 255, 0.6); }

/* === 表单卡片 === */
.form-main-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}
.form-section { padding: 0; }
.section-header { padding: 28px 32px 0; }
.section-header h3 {
    font-size: 17px;
    font-weight: 600;
    color: #1E293B;
    margin: 0 0 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.section-header h3 i { color: #667eea; }
.section-header p {
    font-size: 13px;
    color: #94A3B8;
    margin: 0;
}
.section-body { padding: 24px 32px 32px; }
.section-title {
    padding: 24px 32px 0;
    font-size: 16px;
    font-weight: 600;
    color: #1E293B;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #F1F5F9;
    margin: 0 32px;
    padding-bottom: 14px;
}
.section-title i { color: #667eea; font-size: 18px; }
.section-title + .section-body { padding-top: 16px; }
/* Element UI 表单在卡片内的适配 */
.form-main-card .el-form { padding: 0; }
.form-main-card .el-form-item { margin-bottom: 18px; }
.form-main-card .el-form-item__label { color: #475569; font-weight: 600; }
.form-main-card .el-input__inner,
.form-main-card .el-textarea__inner { border-radius: 8px; }
.form-main-card .el-cascader { width: 100%; }
.form-main-card .el-checkbox-group { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.form-main-card .el-checkbox { margin-right: 0; }

/* === 表单行布局 === */
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}
.form-row.two-col > .form-group { flex: 1; }
.form-row.three-col > .form-group { flex: 1; }
.form-group { margin-bottom: 20px; }
.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 8px;
}
.form-label.required::after { content: ' *'; color: #EF4444; }

/* === 输入框 === */
.form-input {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    border: 2px solid #E2E8F0;
    border-radius: 10px;
    font-size: 14px;
    color: #334155;
    outline: none;
    transition: all 0.2s;
    background: #F8FAFC;
    box-sizing: border-box;
}
.form-input:focus {
    border-color: #667eea;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.08);
}
.form-input::placeholder { color: #CBD5E1; }

/* === 下拉选择 === */
.form-select {
    width: 100%;
    height: 44px;
    padding: 0 36px 0 14px;
    border: 2px solid #E2E8F0;
    border-radius: 10px;
    font-size: 14px;
    color: #334155;
    outline: none;
    background: #F8FAFC;
    appearance: none;
    cursor: pointer;
    transition: all 0.2s;
}
.form-select:focus {
    border-color: #667eea;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.08);
}
.select-wrap { position: relative; }
.select-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94A3B8;
    pointer-events: none;
    font-size: 12px;
}

/* === 数字输入 === */
.input-number-wrap {
    display: flex;
    align-items: center;
    gap: 0;
    border: 2px solid #E2E8F0;
    border-radius: 10px;
    overflow: hidden;
    background: #F8FAFC;
    width: fit-content;
}
.num-btn {
    width: 40px; height: 44px;
    border: none;
    background: transparent;
    color: #64748B;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.num-btn:hover { background: #EEF2FF; color: #667eea; }
.num-input {
    width: 56px; height: 44px;
    border: none;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: #334155;
    outline: none;
    background: transparent;
    -moz-appearance: textfield;
}
.num-input::-webkit-inner-spin-button,
.num-input::-webkit-outer-spin-button { -webkit-appearance: none; }
.num-suffix {
    font-size: 13px;
    color: #94A3B8;
    padding-right: 14px;
}

/* === 文本域 === */
.form-textarea {
    width: 100%;
    padding: 14px;
    border: 2px solid #E2E8F0;
    border-radius: 10px;
    font-size: 14px;
    color: #334155;
    outline: none;
    resize: vertical;
    background: #F8FAFC;
    box-sizing: border-box;
    font-family: inherit;
    line-height: 1.6;
    transition: all 0.2s;
}
.form-textarea:focus {
    border-color: #667eea;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.08);
}
.form-textarea.large { min-height: 180px; }
.textarea-counter {
    display: block;
    text-align: right;
    font-size: 12px;
    color: #CBD5E1;
    margin-top: 4px;
}

/* === 标签输入 === */
.tag-input-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 12px;
    border: 2px solid #E2E8F0;
    border-radius: 10px;
    background: #F8FAFC;
    min-height: 44px;
    align-items: center;
    transition: all 0.2s;
}
.tag-input-wrap:focus-within {
    border-color: #667eea;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.08);
}
.tag-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    background: #EEF2FF;
    color: #667eea;
    white-space: nowrap;
}
.tag-chip.accent { background: #FEF3C7; color: #D97706; }
.tag-chip i {
    font-size: 10px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
}
.tag-chip i:hover { opacity: 1; }
.tag-input {
    border: none;
    outline: none;
    font-size: 13px;
    color: #334155;
    background: transparent;
    flex: 1;
    min-width: 120px;
    padding: 4px 0;
}
.tag-input::placeholder { color: #CBD5E1; }

/* === 图片上传区 === */
.pic-upload-area {
    width: 100%;
    height: 180px;
    border: 2px dashed #E2E8F0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    background: #F8FAFC;
    transition: all 0.2s;
}
.pic-upload-area.filled { border-style: solid; border-color: #E2E8F0; }
.pic-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #CBD5E1;
}
.pic-placeholder i { font-size: 36px; }
.pic-placeholder span { font-size: 13px; }
.pic-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.pic-remove {
    position: absolute;
    top: 10px; right: 10px;
    width: 28px; height: 28px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: background 0.2s;
}
.pic-remove:hover { background: rgba(239, 68, 68, 0.8); }

/* === 表单底部操作栏 === */
.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 32px;
    border-top: 1px solid #F1F5F9;
    background: #FAFBFC;
}
.footer-right { display: flex; gap: 10px; }
.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 42px;
    padding: 0 20px;
    border: 2px solid #E2E8F0;
    border-radius: 10px;
    background: #fff;
    color: #64748B;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-outline:hover { border-color: #CBD5E1; color: #475569; }
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 42px;
    padding: 0 24px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}
.btn-primary:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }
.submit-btn { padding: 0 32px; }

/* === 表单响应式 === */
@media (max-width: 768px) {
    .form-hero { padding: 20px 16px; }
    .form-steps {
        gap: 0;
        overflow-x: auto;
        padding: 0 8px;
    }
    .step-line { width: 32px; }
    .form-row { flex-direction: column; gap: 0; }
    .section-body { padding: 20px 16px; }
    .form-footer {
        padding: 16px;
        flex-direction: column;
        gap: 12px;
    }
    .footer-left, .footer-right { width: 100%; }
    .footer-right { justify-content: flex-end; }
}
