/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

a {
    color: #2196F3;
    text-decoration: none;
}

a:hover {
    color: #0D47A1;
    text-decoration: underline;
}

.container {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    padding: 15px;
}

.clear {
    clear: both;
}

/* 头部样式 */
.header {
    background-color: #2196F3;
    color: #fff;
    padding: 15px 0;
}

.header h1 {
    margin: 0;
    font-size: 24px;
    text-align: center;
}

.header .notice {
    background-color: #E3F2FD;
    color: #333;
    padding: 8px;
    margin-top: 10px;
    border-radius: 4px;
    text-align: center;
}

/* 导航样式 */
.nav {
    background-color: #1976D2;
    margin-bottom: 15px;
}

.nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
}

.nav ul li {
    position: relative;
}

.nav ul li a {
    display: block;
    color: #fff;
    padding: 12px 20px;
    transition: background-color 0.3s;
}

.nav ul li a:hover, .nav ul li.active a {
    background-color: #0D47A1;
    text-decoration: none;
}

/* 内容区域样式 */
.content {
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
}

/* 筛选和搜索区域样式 */
.filter-container {
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background-color: #f9f9f9;
    padding: 15px;
}

.filter-search {
    margin-bottom: 10px;
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.filter-row:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.filter-item {
    flex: 1;
    min-width: 250px;
    margin-bottom: 5px;
}

.filter-label {
    font-weight: bold;
    color: #666;
    margin-right: 5px;
    display: inline-block;
    width: auto;
}

.filter-options {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
}

.filter-options a {
    display: inline-block;
    padding: 2px 8px;
    margin-right: 5px;
    margin-bottom: 5px;
    border: 1px solid #e0e0e0;
    border-radius: 15px;
    background-color: #fff;
    color: #666;
    font-size: 13px;
    transition: all 0.3s ease;
}

.filter-options a:hover {
    border-color: #2196F3;
    color: #2196F3;
    text-decoration: none;
}

.filter-options a.active {
    background-color: #2196F3;
    color: #fff;
    border-color: #2196F3;
}

.search-form {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.search-box {
    display: flex;
    width: 100%;
}

.search-box input[type="text"] {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
}

.search-box input[type="text"]:focus {
    border-color: #2196F3;
    outline: none;
}

.search-btn {
    padding: 10px 20px;
    background-color: #2196F3;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background-color 0.3s;
}

.search-btn:hover {
    background-color: #1976D2;
}

/* 表单样式 */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-control {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.form-control:focus {
    border-color: #2196F3;
    outline: none;
}

textarea.form-control {
    height: 120px;
}

.btn {
    display: inline-block;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    background-color: #2196F3;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #1976D2;
}

.btn-danger {
    background-color: #F44336;
}

.btn-danger:hover {
    background-color: #D32F2F;
}

.btn-success {
    background-color: #4CAF50;
}

.btn-success:hover {
    background-color: #388E3C;
}

/* 表格样式 */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.table th, .table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}

.table th {
    background-color: #f5f5f5;
    font-weight: bold;
}

.table tr:hover {
    background-color: #f9f9f9;
}

/* 兼职列表 */
.job-list {
    margin-bottom: 20px;
}

.job-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 15px;
    transition: box-shadow 0.3s;
}

.job-item:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.job-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.job-title {
    font-size: 18px;
    margin: 0;
    flex: 1;
    padding-right: 15px;
}

.job-title a {
    color: #333;
    text-decoration: none;
}

.job-title a:hover {
    color: #2196F3;
}

.job-salary-highlight {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    min-width: 120px;
    text-align: right;
}

.salary-settlement-inline {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.job-salary {
    font-size: 20px;
    font-weight: bold;
    color: #F44336;
    white-space: nowrap;
    margin-right: 8px;
}

.job-settlement {
    display: inline-block;
    background-color: #E3F2FD;
    color: #1976D2;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 13px;
}

.job-meta {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.job-meta span {
    margin-right: 15px;
    display: inline-flex;
    align-items: center;
}

.job-meta span i {
    margin-right: 5px;
    color: #2196F3;
}

.job-summary {
    margin-top: 10px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 10px;
}

.job-location-time {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px dashed #eee;
    padding-top: 10px;
    margin-top: 5px;
    color: #666;
    font-size: 14px;
}

.job-location-time span {
    display: inline-flex;
    align-items: center;
}

.job-location-time span i {
    margin-right: 5px;
    color: #2196F3;
}

.read-more {
    display: inline-block;
    margin-left: 5px;
    color: #2196F3;
}

@media (max-width: 576px) {
    .job-item-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .job-salary-highlight {
        align-items: flex-start;
        margin-top: 8px;
        width: 100%;
    }

    .salary-settlement-inline {
        justify-content: flex-start;
    }
}

/* 分页样式 */
.pagination {
    text-align: center;
    margin: 20px 0;
}

.pagination a, .pagination span {
    display: inline-block;
    padding: 5px 10px;
    margin: 0 3px;
    border: 1px solid #ddd;
    border-radius: 3px;
    background-color: #fff;
}

.pagination span.current {
    background-color: #2196F3;
    color: #fff;
    border-color: #2196F3;
}

.pagination a:hover {
    background-color: #f5f5f5;
    text-decoration: none;
}

/* 底部样式 */
.footer {
    text-align: center;
    padding: 15px 0;
    color: #666;
    font-size: 14px;
    border-top: 1px solid #ddd;
    margin-top: 20px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .container {
        width: 100%;
        padding: 10px;
    }
    
    .nav ul {
        flex-direction: column;
    }
    
    .nav ul li a {
        padding: 10px;
    }
}

/* 区域列表样式 */
.area-list {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.area-item {
    margin: 5px;
}

.area-item a {
    display: block;
    padding: 5px 15px;
    background-color: #E3F2FD;
    border-radius: 20px;
    transition: background-color 0.3s;
}

.area-item a:hover, .area-item.active a {
    background-color: #2196F3;
    color: #fff;
    text-decoration: none;
}

/* 详情页样式 */
.job-detail-container {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    padding: 25px;
    margin-bottom: 20px;
}

.breadcrumb {
    margin-bottom: 20px;
    color: #666;
    font-size: 14px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.breadcrumb a {
    color: #2196F3;
}

.breadcrumb .current-page {
    color: #666;
    font-weight: 500;
}

.job-detail .job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.job-detail .job-title {
    font-size: 26px;
    margin: 0;
    color: #333;
    flex: 1;
    padding: 0;
    border: none;
}

.job-publish-time {
    color: #999;
    font-size: 14px;
    margin-top: 5px;
}

.job-highlight {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 25px;
    background-color: #f7f9fc;
    border-radius: 8px;
    overflow: hidden;
}

.highlight-item {
    flex: 1;
    min-width: 150px;
    padding: 20px 15px;
    text-align: center;
    border-right: 1px dashed #e0e0e0;
}

.highlight-item:last-child {
    border-right: none;
}

.highlight-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.highlight-value {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.highlight-item.salary .highlight-value {
    color: #F44336;
}

.job-info-panel {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 25px;
}

.info-section {
    display: flex;
    flex-wrap: wrap;
}

.info-section .meta-item {
    width: 50%;
    padding: 8px 0;
    font-size: 15px;
}

.info-section .meta-item strong {
    color: #555;
    margin-right: 5px;
}

.info-section .meta-item strong i {
    margin-right: 8px;
    color: #2196F3;
}

.job-section {
    margin-bottom: 30px;
}

.section-title {
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
    color: #333;
    position: relative;
}

.section-title i {
    margin-right: 8px;
    color: #2196F3;
}

.section-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 50px;
    height: 2px;
    background-color: #2196F3;
}

.job-description-panel {
    background-color: #fff;
    border-radius: 8px;
    padding: 0;
}

.job-description {
    line-height: 1.8;
    color: #333;
    font-size: 15px;
    padding: 0 5px;
}

.contact-section {
    background-color: #f8faff;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #e3f2fd;
}

.contact-info {
    margin-bottom: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #e0e0e0;
}

.contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-item span {
    flex: 1;
    font-size: 15px;
}

.contact-item strong {
    color: #555;
    font-weight: 600;
    min-width: 80px;
    display: inline-block;
}

.contact-tips {
    padding-top: 15px;
    border-top: 1px dashed #ddd;
    color: #F44336;
    font-size: 14px;
}

.contact-tips i {
    margin-right: 5px;
}

.copy-btn {
    background-color: #2196F3;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
}

.copy-btn i {
    margin-right: 5px;
}

.copy-btn:hover {
    background-color: #1976D2;
}

.job-action-btns {
    display: flex;
    justify-content: space-between;
    margin: 30px 0;
}

.job-action-btns a {
    flex: 1;
    margin: 0 10px;
    padding: 12px 20px;
    text-align: center;
    border-radius: 4px;
    color: #fff;
    font-size: 15px;
    transition: all 0.3s;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.job-action-btns a i {
    margin-right: 8px;
}

.job-action-btns a:first-child {
    margin-left: 0;
}

.job-action-btns a:last-child {
    margin-right: 0;
}

.btn-back {
    background-color: #757575;
}

.btn-back:hover {
    background-color: #616161;
}

.btn-home {
    background-color: #2196F3;
}

.btn-home:hover {
    background-color: #1976D2;
}

.btn-report {
    background-color: #FF9800;
}

.btn-report:hover {
    background-color: #F57C00;
}

.related-jobs-section {
    padding: 30px 0 10px;
    margin-top: 20px;
    border-top: 1px solid #eee;
}

.related-jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.related-job-item {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
}

.related-job-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}

.related-job-item .job-link {
    display: block;
    padding: 15px;
    color: #333;
    text-decoration: none;
}

.related-job-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.related-job-info {
    display: flex;
    justify-content: space-between;
    color: #666;
    font-size: 13px;
    margin-bottom: 10px;
}

.related-job-area, .related-job-category {
    background-color: #f5f5f5;
    padding: 3px 8px;
    border-radius: 3px;
    max-width: 45%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.related-job-salary {
    font-weight: bold;
    color: #F44336;
    font-size: 15px;
}

@media (max-width: 768px) {
    .job-highlight {
        flex-direction: column;
    }
    
    .highlight-item {
        border-right: none;
        border-bottom: 1px dashed #e0e0e0;
    }
    
    .highlight-item:last-child {
        border-bottom: none;
    }
    
    .info-section .meta-item {
        width: 100%;
    }
    
    .job-action-btns {
        flex-direction: column;
    }
    
    .job-action-btns a {
        margin: 5px 0;
    }
    
    .related-jobs-grid {
        grid-template-columns: 1fr;
    }
}

/* 浮动二维码样式 */
.floating-qrcode {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
}

.qrcode-container {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
    padding: 10px;
    text-align: center;
    width: 150px;
    transition: all 0.3s ease;
}

.qrcode-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.qrcode-container img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 8px;
}

.qrcode-container p {
    font-size: 12px;
    color: #555;
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .floating-qrcode {
        right: 10px;
        bottom: 10px;
    }
    
    .qrcode-container {
        width: 120px;
    }
} 