/* 全局样式 - 复用原样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "微软雅黑", "PingFang SC", sans-serif;
}
body {
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.navbar {
    background-color: white;
    padding: 15px 0;
    border-bottom: 1px solid #eaeaea;
    margin-bottom: 40px;
}
.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #1e88e5;
    text-decoration: none;
}
.nav-links {
    display: flex;
    gap: 30px;
}
.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
    padding: 5px 0;
}
.nav-links a:hover {
    color: #1e88e5;
}
.nav-links a.active {
    color: #1e88e5;
    font-weight: 600;
}
.nav-links a.active:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #1e88e5;
    border-radius: 2px;
}
.section-header {
    text-align: center;
    margin: 50px 0 40px;
    padding: 0 20px;
}
.section-title {
    font-size: 2rem;
    color: #1e88e5;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}
.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #5e35b1, #1e88e5);
    border-radius: 2px;
}
.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}
.btn {
    display: inline-block;
    background: linear-gradient(135deg, #1e88e5 0%, #5e35b1 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(30, 136, 229, 0.3);
}
.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(30, 136, 229, 0.4);
}
.footer {
    text-align: center;
    padding: 40px 0 20px;
    color: #666;
    margin-top: 50px;
    background: white;
}
.footer-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 0.9rem;
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 10px 0;
}
.footer-links a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}
.footer-links a:hover {
    color: #1e88e5;
}

/* 首页专属样式 */
.hero {
    background: linear-gradient(135deg, #1e88e5 0%, #5e35b1 100%);
    color: white;
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 60px;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}
.hero:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    transform: rotate(30deg);
}
.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    position: relative;
    animation: fadeInDown 1s ease;
}
.hero p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 30px;
    opacity: 0.9;
    position: relative;
    animation: fadeInUp 1s ease 0.3s forwards;
    opacity: 0;
}
.hero .btn {
    position: relative;
    animation: fadeIn 1s ease 0.6s forwards;
    opacity: 0;
}
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 60px 0;
}
.feature-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    position: relative;
    z-index: 2;
}
.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(30, 136, 229, 0.15);
}
.feature-icon {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e88e5 0%, #5e35b1 100%);
    color: white;
    font-size: 2.5rem;
}
.feature-content {
    padding: 25px;
}
.feature-content h3 {
    color: #1e88e5;
    margin-bottom: 15px;
}
.feature-content p {
    color: #666;
    margin-bottom: 20px;
}
.competition-section {
    background: #f0f7ff;
    border-radius: 10px;
    padding: 40px;
    margin: 70px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}
.competition-section:before {
    content: '';
    position: absolute;
    top: -100px;
    right: -50px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(30, 136, 229, 0.1) 0%, rgba(94, 53, 177, 0.1) 100%);
    z-index: 1;
}
.competition-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    margin: 25px 0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 2;
}
.competition-card h3 {
    color: #5e35b1;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.competition-card h3 i {
    background: linear-gradient(135deg, #5e35b1 0%, #1e88e5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.competition-card ul {
    padding-left: 25px;
}
.competition-card ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}
.competition-card ul li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #1e88e5;
}
.regulations-section {
    margin: 60px 0;
}
.regulation-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
.regulation-card h3 {
    color: #5e35b1;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eaeaea;
}
.regulation-item {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}
.regulation-item:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #1e88e5;
    font-size: 1.4rem;
    top: -4px;
}
.regulation-item-title {
    font-weight: 600;
    color: #444;
    margin-bottom: 5px;
}
.contact-section {
    padding: 60px 0;
}
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}
.contact-info {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}
.contact-info:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(94, 53, 177, 0.1) 0%, rgba(30, 136, 229, 0.1) 100%);
    border-radius: 0 0 0 100px;
}
.contact-info h3 {
    color: #5e35b1;
    margin-bottom: 25px;
}
.contact-detail {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}
.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e88e5 0%, #5e35b1 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.contact-detail-text h4 {
    color: #444;
    margin-bottom: 5px;
}
.contact-detail-text p {
    color: #666;
    font-size: 0.95rem;
}
.contact-form {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #444;
    font-weight: 500;
}
.form-control {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}
.form-control:focus {
    border-color: #1e88e5;
    outline: none;
    box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.2);
}
textarea.form-control {
    min-height: 150px;
    resize: vertical;
}
.form-submit {
    background: linear-gradient(135deg, #1e88e5 0%, #5e35b1 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s;
}
.form-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(30, 136, 229, 0.4);
}
.map-container {
    margin-top: 40px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 400px;
    background: #e9ecef;
    position: relative;
}
.map-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #666;
}
.map-placeholder i {
    font-size: 3rem;
    color: #1e88e5;
    margin-bottom: 15px;
}
.active-page {
    display: block;
}
.inactive-page {
    display: none;
}

@media (max-width: 768px) {
    .hero {
        padding: 60px 20px;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero p {
        font-size: 1.1rem;
    }
    .navbar-container {
        flex-direction: column;
        gap: 15px;
    }
    .section-title {
        font-size: 1.7rem;
    }
    .competition-section {
        padding: 25px;
    }
    .regulation-card {
        padding: 20px;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

@media (max-width: 768px) {
    .list-header {
        padding: 30px 15px;
    }

    .list-header h1 {
        font-size: 1.8rem;
    }

    .search-box {
        flex-direction: column;
    }

    .filter-btn {
        justify-content: center;
    }

    .job-list {
        grid-template-columns: 1fr;
    }

    .filter-container {
        top: 180px;
    }

    .navbar-container {
        flex-direction: column;
        gap: 15px;
    }
}


/* 列表页头部 */
.list-header {
    background: linear-gradient(135deg, #1e88e5 0%, #5e35b1 100%);
    color: white;
    padding: 50px 30px;
    text-align: center;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.list-header h1 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.list-header p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

/* 搜索区域 */
.search-section {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    position: relative;
}

.search-box {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.search-input {
    flex: 1;
    position: relative;
}

.search-input input {
    width: 100%;
    padding: 14px 50px 14px 20px;
    border: 1px solid #ddd;
    border-radius: 30px;
    font-size: 1rem;
}

.search-input i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
}

.filter-btn {
    background-color: #f0f7ff;
    color: #1e88e5;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s;
}

.filter-btn:hover {
    background-color: #e0f0ff;
}

.filter-container {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: none;
    position: absolute;
    top: 100px;
    left: 0;
    right: 0;
    z-index: 100;
}

.filter-container.active {
    display: block;
}

.filter-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 15px;
}

.filter-group {
    margin-bottom: 15px;
}

.filter-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;
}

.filter-select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.95rem;
}

.filter-range {
    display: flex;
    gap: 10px;
    align-items: center;
}

.filter-range input {
    width: 45%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.filter-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 10px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.filter-action-btn {
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
}

.filter-reset {
    background-color: #f8f9fa;
    color: #666;
    border: 1px solid #ddd;
}

.filter-apply {
    background-color: #1e88e5;
    color: white;
    border: none;
}

/* 职位列表 */
.job-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.job-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(30, 136, 229, 0.2);
}

.job-card-header {
    background: linear-gradient(to right, #5e35b1, #1e88e5);
    color: white;
    padding: 20px;
}

.job-card-title {
    font-size: 1.3rem;
    margin-bottom: 5px;
    display: flex;
    justify-content: space-between;
}

.job-card-title a {
    color: white;
    text-decoration: none;
}

.job-card-company {
    font-size: 0.95rem;
    opacity: 0.9;
}

.job-card-body {
    padding: 20px;
    flex-grow: 1;
}

.job-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #eee;
}

.job-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #555;
    font-size: 0.9rem;
}

.job-meta-item i {
    color: #1e88e5;
}

.job-card-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
    height: 80px;
    overflow: hidden;
}

.job-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.job-tag {
    background-color: #f0f7ff;
    color: #1e88e5;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
}

.job-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-top: 1px solid #f0f0f0;
    background-color: #fafcff;
}

.job-salary {
    color: #ff5722;
    font-weight: 600;
    font-size: 1.1rem;
}

.job-apply-btn {
    background-color: #1e88e5;
    color: white;
    border: none;
    padding: 8px 25px;
    border-radius: 20px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}

.job-apply-btn:hover {
    background-color: #1565c0;
}

/* 分页控件 */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 10px;
}

.pagination-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 5px;
    background-color: white;
    border: 1px solid #ddd;
    color: #555;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
}

.pagination-btn:hover, .pagination-btn.active {
    background-color: #1e88e5;
    color: white;
    border-color: #1e88e5;
}
@media (max-width: 768px) {
    .list-header {
        padding: 30px 15px;
    }

    .list-header h1 {
        font-size: 1.8rem;
    }

    .search-box {
        flex-direction: column;
    }

    .filter-btn {
        justify-content: center;
    }

    .job-list {
        grid-template-columns: 1fr;
    }

    .filter-container {
        top: 180px;
    }

    .navbar-container {
        flex-direction: column;
        gap: 15px;
    }
}