/* 职位页面样式 */

.jobs-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.jobs-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.jobs-hero .subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 20px;
}

.job-filters {
    padding: 30px 0;
    background: #f8f9fa;
}

.filter-group {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 15px 15px 0;
}

.filter-group label {
    font-weight: 600;
    color: #666;
}

.filter-group select {
    padding: 8px 15px;
    border: 2px solid #ddd;
    border-radius: 6px;
    background: white;
    cursor: pointer;
}

.filter-group select:focus {
    outline: none;
    border-color: #667eea;
}

.job-list {
    padding: 40px 0;
}

.job-list h2 {
    margin-bottom: 30px;
    color: #667eea;
}

.job-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.job-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.job-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
}

.job-header h3 {
    margin: 0;
    color: #333;
}

.urgency-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.urgency-1 {
    background: #e0f3ff;
    color: #2d7dd2;
}

.urgency-2 {
    background: #fff3cd;
    color: #856404;
}

.urgency-3 {
    background: #f8d7da;
    color: #721c24;
}

.job-body {
    padding: 20px;
}

.job-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.meta-item {
    color: #666;
    font-size: 14px;
}

.job-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
}

.job-contact {
    color: #999;
    font-size: 13px;
    margin-bottom: 0;
}

.job-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
}

.smart-match {
    padding: 60px 0;
    background: #f8f9fa;
}

.smart-match h2 {
    text-align: center;
    margin-bottom: 10px;
    color: #667eea;
}

.match-hint {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
}

.match-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.match-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.match-card h4 {
    margin-bottom: 15px;
    color: #667eea;
}

.match-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.match-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 4px;
}

.school-name {
    font-weight: 600;
    color: #333;
}

.match-count {
    color: #667eea;
    font-weight: 600;
}

/* 弹窗样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.modal-header h3 {
    margin: 0;
    color: #333;
}

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
}

.close-btn:hover {
    color: #333;
}

.modal-body {
    padding: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.btn-full {
    width: 100%;
}
