* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #f5f5f5;
}

/* 前台样式 */
.frontend-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 广告轮播 */
.swiper-container {
    width: 100%;
    height: 200px;
    margin-bottom: 10px;
    border-radius: 12px;
    overflow: hidden;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-slide a {
    display: block;
    width: 100%;
    height: 100%;
}

/* 搜索框 */
.search-box {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.search-box input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
}

.search-box button {
    padding: 12px 24px;
    background: #409eff;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
}

/* 招聘卡片 */
.jobs-list {
    display: grid;
    gap: 20px;
}

.job-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.job-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.job-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
}

.expire-badge {
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 4px;
    background: #f0f0f0;
    color: #666;
}

.expire-badge.urgent {
    background: #ff6b6b;
    color: white;
}

.job-content {
    color: #666;
    margin-bottom: 12px;
    line-height: 1.5;
}

.job-salary {
    color: #ff6b6b;
    font-weight: 600;
    margin-bottom: 8px;
}

.job-phone {
    color: #409eff;
    margin-bottom: 8px;
}

.job-time {
    color: #999;
    font-size: 12px;
}

/* 后台样式 */
.admin-container {
    padding: 20px;
}

.login-container {
    max-width: 400px;
    margin: 100px auto;
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.login-title {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #666;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}

.btn-primary {
    background: #409eff;
    color: white;
}

.btn-danger {
    background: #ff6b6b;
    color: white;
}

.btn-warning {
    background: #e6a23c;
    color: white;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th, .table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.table th {
    background: #f5f5f5;
    font-weight: 600;
}

.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

.tab {
    padding: 10px 20px;
    cursor: pointer;
    border: none;
    background: none;
    font-size: 16px;
}

.tab.active {
    color: #409eff;
    border-bottom: 2px solid #409eff;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    border-radius: 12px;
    padding: 24px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
}

/* tel */
.phone-link {
    color: #2d8cf0;
    text-decoration: none;
    font-weight: 500;
}
.phone-link:hover {
    text-decoration: underline;
}
/* 移动端点击反馈 */
.phone-link:active {
    opacity: 0.7;
}