* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Microsoft YaHei','PingFang SC','Helvetica Neue',Arial,sans-serif; background: #f5f6f7; color: #333; line-height: 1.6; font-size: 14px; }
a { color: #1890ff; text-decoration: none; }
a:hover { color: #40a9ff; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.header { background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,0.08); position: sticky; top: 0; z-index: 100; }
.header-content { display: flex; align-items: center; height: 64px; gap: 30px; }
.logo { font-size: 24px; font-weight: bold; color: #1890ff; white-space: nowrap; }
.logo:hover { color: #40a9ff; }
.nav { display: flex; gap: 24px; }
.nav a { color: #333; font-size: 15px; padding: 4px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a.active { color: #1890ff; border-bottom-color: #1890ff; }
.header-search { flex: 1; max-width: 400px; display: flex; }
.header-search input { flex: 1; padding: 8px 16px; border: 1px solid #d9d9d9; border-right: none; border-radius: 4px 0 0 4px; outline: none; font-size: 14px; }
.header-search input:focus { border-color: #1890ff; }
.header-search button { padding: 8px 20px; background: #1890ff; color: #fff; border: none; border-radius: 0 4px 4px 0; cursor: pointer; font-size: 14px; }
.header-search button:hover { background: #40a9ff; }
.user-menu { display: flex; align-items: center; gap: 16px; white-space: nowrap; }
.user-menu .avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.btn { display: inline-block; padding: 8px 20px; border-radius: 4px; cursor: pointer; border: none; font-size: 14px; transition: all 0.2s; }
.btn-primary { background: #1890ff; color: #fff; }
.btn-primary:hover { background: #40a9ff; }
.btn-outline { background: #fff; color: #1890ff; border: 1px solid #1890ff; }
.btn-outline:hover { background: #e6f7ff; }
.btn-danger { background: #ff4d4f; color: #fff; }
.btn-danger:hover { background: #ff7875; }
.btn-lg { padding: 12px 32px; font-size: 16px; }

.hero { background: linear-gradient(135deg, #1890ff 0%, #36cfc9 100%); padding: 60px 0; text-align: center; color: #fff; }
.hero h1 { font-size: 36px; margin-bottom: 10px; }
.hero p { font-size: 16px; opacity: 0.9; margin-bottom: 30px; }
.hero-search { display: flex; max-width: 700px; margin: 0 auto; background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.hero-search input { flex: 1; padding: 16px 24px; border: none; outline: none; font-size: 16px; }
.hero-search select { padding: 16px; border: none; border-right: 1px solid #f0f0f0; outline: none; font-size: 14px; background: #fff; }
.hero-search button { padding: 16px 40px; background: #1890ff; color: #fff; border: none; cursor: pointer; font-size: 16px; }
.hero-search button:hover { background: #40a9ff; }
.hero-tags { margin-top: 16px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-tags a { color: rgba(255,255,255,0.85); font-size: 13px; padding: 4px 12px; background: rgba(255,255,255,0.15); border-radius: 12px; }
.hero-tags a:hover { background: rgba(255,255,255,0.25); color: #fff; }

.section { padding: 30px 0; }
.section-title { font-size: 22px; font-weight: bold; margin-bottom: 20px; display: flex; align-items: center; justify-content: space-between; }
.section-title .more { font-size: 14px; font-weight: normal; }

.card { background: #fff; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); transition: box-shadow 0.2s; }
.card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.12); }

.job-card { background: #fff; border-radius: 8px; padding: 20px; margin-bottom: 16px; box-shadow: 0 1px 4px rgba(0,0,0,0.06); transition: all 0.2s; cursor: pointer; }
.job-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.12); transform: translateY(-2px); }
.job-card .job-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.job-card .job-title { font-size: 18px; font-weight: bold; color: #333; }
.job-card .job-title:hover { color: #1890ff; }
.job-card .job-salary { font-size: 16px; color: #ff6b00; font-weight: bold; white-space: nowrap; }
.job-card .job-meta { display: flex; gap: 12px; color: #999; font-size: 13px; margin-bottom: 12px; flex-wrap: wrap; }
.job-card .job-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.job-card .job-tag { padding: 2px 10px; background: #f5f5f5; border-radius: 10px; font-size: 12px; color: #666; }
.job-card .job-company { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px solid #f0f0f0; }
.job-card .company-logo { width: 36px; height: 36px; border-radius: 6px; object-fit: cover; background: #f0f0f0; }
.job-card .company-name { font-size: 14px; color: #666; }
.job-card .company-info { font-size: 12px; color: #999; }
.job-card .urgent-badge { display: inline-block; padding: 1px 6px; background: #ff4d4f; color: #fff; font-size: 11px; border-radius: 2px; margin-left: 6px; }

.company-card { background: #fff; border-radius: 8px; padding: 20px; text-align: center; box-shadow: 0 1px 4px rgba(0,0,0,0.06); transition: all 0.2s; }
.company-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.12); transform: translateY(-2px); }
.company-card img { width: 64px; height: 64px; border-radius: 12px; margin-bottom: 10px; object-fit: cover; }
.company-card .name { font-size: 15px; font-weight: bold; margin-bottom: 6px; }
.company-card .info { font-size: 12px; color: #999; margin-bottom: 8px; }
.company-card .jobs-count { font-size: 13px; color: #1890ff; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }

.sidebar { background: #fff; border-radius: 8px; padding: 20px; box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
.filter-group { margin-bottom: 20px; }
.filter-group:last-child { margin-bottom: 0; }
.filter-title { font-size: 14px; font-weight: bold; margin-bottom: 10px; color: #333; }
.filter-options { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-option { padding: 4px 12px; background: #f5f5f5; border-radius: 4px; font-size: 13px; color: #666; cursor: pointer; transition: all 0.2s; }
.filter-option:hover { background: #e6f7ff; color: #1890ff; }
.filter-option.active { background: #1890ff; color: #fff; }

.job-layout { display: grid; grid-template-columns: 220px 1fr; gap: 20px; }
.main-content { min-height: 600px; }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 30px; flex-wrap: wrap; }
.pagination a, .pagination span { padding: 8px 14px; border: 1px solid #d9d9d9; border-radius: 4px; font-size: 14px; color: #333; text-decoration: none; display: inline-block; }
.pagination a:hover { border-color: #1890ff; color: #1890ff; }
.pagination .current, .pagination .active { background: #1890ff; color: #fff; border-color: #1890ff; }
.pagination .disabled { color: #ccc; cursor: not-allowed; background: #f5f5f5; }
.pagination .ellipsis { border: none; padding: 8px 6px; }
.admin-content .pagination { gap: 6px; margin-top: 20px; }
.admin-content .pagination a, .admin-content .pagination span { padding: 6px 12px; font-size: 13px; }
.admin-content .pagination .ellipsis { padding: 6px 4px; }

.footer { background: #1f2937; color: #999; padding: 40px 0; margin-top: 40px; }
.footer-content { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.footer h4 { color: #fff; margin-bottom: 12px; font-size: 15px; }
.footer a { color: #999; display: block; margin-bottom: 8px; font-size: 13px; }
.footer a:hover { color: #fff; }
.footer p { color: #999; font-size: 13px; line-height: 1.6; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 16px; padding-top: 20px; margin-top: 20px; border-top: 1px solid #374151; font-size: 13px; }
.footer-bottom a { display: inline; margin-bottom: 0; }

.form-group { margin-bottom: 20px; }
.form-label { display: block; margin-bottom: 6px; font-size: 14px; color: #333; font-weight: 500; }
.form-input, .form-select, .form-textarea { width: 100%; padding: 10px 14px; border: 1px solid #d9d9d9; border-radius: 4px; font-size: 14px; outline: none; transition: border-color 0.2s; }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: #1890ff; box-shadow: 0 0 0 2px rgba(24,144,255,0.1); }
.form-textarea { resize: vertical; min-height: 100px; }
.form-row { display: flex; gap: 16px; }
.form-row .form-group { flex: 1; }
.form-error { color: #ff4d4f; font-size: 13px; margin-top: 4px; }
.form-hint { color: #999; font-size: 12px; margin-top: 4px; }

.auth-page { max-width: 420px; margin: 40px auto; }
.auth-tabs { display: flex; border-bottom: 1px solid #f0f0f0; margin-bottom: 24px; }
.auth-tab { flex: 1; text-align: center; padding: 12px; cursor: pointer; font-size: 16px; color: #666; border-bottom: 2px solid transparent; }
.auth-tab.active { color: #1890ff; border-bottom-color: #1890ff; font-weight: bold; }

.alert { padding: 10px 16px; border-radius: 4px; margin-bottom: 20px; font-size: 14px; }
.alert-success { background: #f6ffed; border: 1px solid #b7eb8f; color: #52c41a; }
.alert-error { background: #fff2f0; border: 1px solid #ffccc7; color: #ff4d4f; }
.alert-info { background: #e6f7ff; border: 1px solid #91d5ff; color: #1890ff; }

.badge { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 12px; }
.badge-success { background: #f6ffed; color: #52c41a; }
.badge-warning { background: #fffbe6; color: #faad14; }
.badge-error { background: #fff2f0; color: #ff4d4f; }
.badge-info { background: #e6f7ff; color: #1890ff; }

.empty-state { text-align: center; padding: 60px 20px; color: #999; }
.empty-state .icon { font-size: 48px; margin-bottom: 16px; }
.empty-state .title { font-size: 18px; margin-bottom: 8px; }

.user-center { display: grid; grid-template-columns: 200px 1fr; gap: 20px; }
.user-sidebar { background: #fff; border-radius: 8px; padding: 20px 0; box-shadow: 0 1px 4px rgba(0,0,0,0.06); height: fit-content; }
.user-sidebar a { display: block; padding: 10px 20px; color: #333; font-size: 14px; }
.user-sidebar a:hover, .user-sidebar a.active { background: #e6f7ff; color: #1890ff; border-right: 3px solid #1890ff; }
.user-sidebar .user-info { padding: 0 20px 20px; border-bottom: 1px solid #f0f0f0; margin-bottom: 10px; text-align: center; }
.user-sidebar .user-info img { width: 60px; height: 60px; border-radius: 50%; margin-bottom: 8px; }
.user-sidebar .user-info .name { font-size: 15px; font-weight: bold; }

.chat-layout { display: grid; grid-template-columns: 280px 1fr; gap: 0; height: 600px; background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.chat-list { border-right: 1px solid #f0f0f0; overflow-y: auto; }
.chat-list-item { padding: 14px 16px; border-bottom: 1px solid #f5f5f5; cursor: pointer; display: flex; gap: 10px; align-items: center; }
.chat-list-item:hover, .chat-list-item.active { background: #f5f5f5; }
.chat-list-item img { width: 40px; height: 40px; border-radius: 50%; }
.chat-list-item .info { flex: 1; overflow: hidden; }
.chat-list-item .name { font-size: 14px; font-weight: 500; }
.chat-list-item .last-msg { font-size: 12px; color: #999; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-list-item .unread { background: #ff4d4f; color: #fff; border-radius: 10px; padding: 0 6px; font-size: 11px; min-width: 18px; text-align: center; }
.chat-window { display: flex; flex-direction: column; }
.chat-messages { flex: 1; overflow-y: auto; padding: 16px; }
.chat-msg { margin-bottom: 12px; max-width: 70%; }
.chat-msg.other { margin-right: auto; }
.chat-msg.self { margin-left: auto; }
.chat-msg .bubble { padding: 10px 14px; border-radius: 8px; font-size: 14px; }
.chat-msg.other .bubble { background: #f5f5f5; }
.chat-msg.self .bubble { background: #1890ff; color: #fff; }
.chat-msg .time { font-size: 11px; color: #ccc; margin-top: 4px; }
.chat-input { padding: 12px 16px; border-top: 1px solid #f0f0f0; display: flex; gap: 10px; }
.chat-input input { flex: 1; padding: 8px 14px; border: 1px solid #d9d9d9; border-radius: 4px; outline: none; }
.chat-input button { padding: 8px 20px; background: #1890ff; color: #fff; border: none; border-radius: 4px; cursor: pointer; }

@media (max-width: 768px) {
    .nav { display: none; }
    .header-search { display: none; }
    .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
    .job-layout { grid-template-columns: 1fr; }
    .user-center { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr 1fr; }
    .hero h1 { font-size: 24px; }
    .hero-search { flex-direction: column; }
    .admin-main { margin-left: 0 !important; }
    .admin-sidebar { display: none !important; }
}

.logo-img { height: 40px; max-width: 160px; object-fit: contain; }

.admin-layout { min-height: 100vh; }
.admin-sidebar { background: #001529; color: #fff; padding-top: 20px; position: fixed; width: 200px; height: 100vh; overflow-y: auto; }
.admin-sidebar .admin-logo { padding: 0 20px 20px; font-size: 18px; font-weight: bold; color: #fff; border-bottom: 1px solid #003a6c; margin-bottom: 10px; }
.admin-sidebar a { display: block; padding: 12px 20px; color: rgba(255,255,255,0.85); font-size: 14px; transition: all 0.2s; }
.admin-sidebar a:hover, .admin-sidebar a.active { background: #1890ff; color: #fff; }
.admin-sidebar a .icon { display: inline-block; width: 20px; margin-right: 8px; }
.admin-main { margin-left: 200px; padding: 20px 30px; background: #f0f2f5; min-height: 100vh; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; background: #fff; padding: 12px 24px; border-radius: 8px; box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
.admin-topbar h2 { font-size: 18px; }
.admin-content { background: #fff; padding: 24px; border-radius: 8px; box-shadow: 0 1px 4px rgba(0,0,0,0.06); }

.stat-card { background: #fff; padding: 20px; border-radius: 8px; box-shadow: 0 1px 4px rgba(0,0,0,0.06); text-align: center; }
.stat-card .stat-icon { font-size: 32px; margin-bottom: 8px; }
.stat-card .stat-value { font-size: 28px; font-weight: bold; color: #1890ff; }
.stat-card .stat-label { font-size: 14px; color: #999; margin-top: 4px; }

.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid #f0f0f0; font-size: 14px; }
.admin-table th { background: #fafafa; font-weight: 500; color: #666; }
.admin-table tr:hover { background: #f5f5f5; }
.admin-table .actions a { margin-right: 8px; }

.admin-pagination { display: flex; justify-content: center; gap: 6px; margin-top: 20px; }
.admin-pagination a, .admin-pagination span { padding: 6px 12px; border: 1px solid #d9d9d9; border-radius: 4px; font-size: 13px; }
.admin-pagination a:hover { border-color: #1890ff; color: #1890ff; }
.admin-pagination .current { background: #1890ff; color: #fff; border-color: #1890ff; }

.toggle-switch { position: relative; display: inline-block; width: 40px; height: 20px; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background: #ccc; border-radius: 20px; transition: 0.3s; }
.toggle-slider:before { position: absolute; content: ""; height: 16px; width: 16px; left: 2px; bottom: 2px; background: #fff; border-radius: 50%; transition: 0.3s; }
.toggle-switch input:checked + .toggle-slider { background: #1890ff; }
.toggle-switch input:checked + .toggle-slider:before { transform: translateX(20px); }

.nav-buy-btn { display: inline-block; padding: 8px 20px; background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%); color: #fff !important; border-radius: 25px; font-size: 14px; font-weight: bold; text-decoration: none; box-shadow: 0 3px 12px rgba(238,90,36,0.4); transition: all 0.3s; animation: pulse-glow 2s infinite; }
.nav-buy-btn:hover { transform: scale(1.05); box-shadow: 0 5px 20px rgba(238,90,36,0.6); color: #fff !important; }
@keyframes pulse-glow { 0%,100% { box-shadow: 0 3px 12px rgba(238,90,36,0.4); } 50% { box-shadow: 0 3px 20px rgba(238,90,36,0.7); } }

.buy-section { padding: 80px 20px; text-align: center; }
.buy-section .buy-inner { max-width: 900px; margin: 0 auto; }
.buy-section h2 { font-size: 36px; margin-bottom: 12px; font-weight: bold; }
.buy-section h3 { font-size: 20px; margin-bottom: 30px; opacity: 0.85; font-weight: normal; }
.buy-section .buy-content { font-size: 16px; line-height: 2; text-align: left; white-space: pre-wrap; }
.buy-section .buy-content-centered { text-align: center; }
.buy-hero { padding: 120px 20px; }
.buy-hero h1 { font-size: 48px; margin-bottom: 16px; font-weight: bold; }
.buy-hero .buy-tagline { font-size: 24px; margin-bottom: 12px; opacity: 0.95; }
.buy-hero .buy-desc { font-size: 18px; opacity: 0.8; }
.buy-hero .buy-cta { margin-top: 40px; }
.buy-hero .buy-cta a { display: inline-block; padding: 16px 48px; background: #fff; color: #667eea; border-radius: 50px; font-size: 18px; font-weight: bold; text-decoration: none; box-shadow: 0 8px 24px rgba(0,0,0,0.2); transition: all 0.3s; }
.buy-hero .buy-cta a:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.3); }

.buy-stats { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.buy-stat-item { text-align: center; }
.buy-stat-item .num { font-size: 48px; font-weight: bold; color: #1890ff; }
.buy-stat-item .label { font-size: 16px; color: #666; margin-top: 8px; }

.buy-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 30px; }
.buy-feature-card { background: rgba(255,255,255,0.1); border-radius: 12px; padding: 24px; text-align: left; transition: all 0.3s; }
.buy-feature-card:hover { transform: translateY(-5px); background: rgba(255,255,255,0.15); }
.buy-feature-card .icon { font-size: 32px; margin-bottom: 12px; }
.buy-feature-card .title { font-size: 18px; font-weight: bold; margin-bottom: 8px; }
.buy-feature-card .desc { font-size: 14px; line-height: 1.6; opacity: 0.85; white-space: pre-wrap; }

.buy-contact-box { background: rgba(255,255,255,0.1); border-radius: 16px; padding: 40px; margin-top: 30px; display: inline-block; }
.buy-contact-box a { color: #fff; text-decoration: underline; }

@media (max-width: 768px) {
    .buy-section { padding: 50px 16px; }
    .buy-section h2 { font-size: 26px; }
    .buy-hero { padding: 80px 16px; }
    .buy-hero h1 { font-size: 32px; }
    .buy-hero .buy-tagline { font-size: 18px; }
    .buy-stats { gap: 20px; }
    .buy-stat-item .num { font-size: 32px; }
    .buy-features { grid-template-columns: 1fr; }
}
.job-detail { max-width: 900px; margin: 0 auto; padding: 30px 20px; }
.job-detail-header { background: #fff; border-radius: 12px; padding: 30px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); margin-bottom: 20px; }
.job-detail-header h1 { font-size: 26px; margin-bottom: 12px; }
.job-section { background: #fff; border-radius: 12px; padding: 24px 30px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); margin-bottom: 16px; }
.job-section h3 { font-size: 18px; font-weight: bold; color: #333; border-left: 4px solid #1890ff; padding-left: 12px; margin-bottom: 16px; }
.job-content { font-size: 15px; line-height: 1.8; color: #555; white-space: pre-wrap; word-break: break-word; }
.job-meta span { display: inline-block; margin-right: 16px; color: #666; font-size: 14px; }
.job-meta span::before { content: '·'; margin-right: 6px; color: #ccc; }
.job-meta span:first-child::before { content: ''; margin-right: 0; }