* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Microsoft Yahei", "PingFang SC", sans-serif;
  background-color: #f5f7fa;
  color: #303133;
}
.navbar {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 999;
}

.nav-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  margin-left: 0;
}

.nav-menu {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-item {
  color: #303133;
  font-size: 16px;
  text-decoration: none;
  padding: 10px 0;
  position: relative;
  transition: all 0.3s ease;
}

.nav-item:hover {
  color: #9ED3DC;
  border-bottom: 2px solid #9ED3DC;
}

.nav-item.active {
  color: #9ED3DC;
  border-bottom: 2px solid #9ED3DC;
}
.banner-wrapper {
  width: 100%;
  margin-bottom: 20px;
}
.banner-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}
.container {
  width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}
.sidebar {
  width: 240px;
  flex-shrink: 0;
}
.cat-list {
  padding: 10px 0;
}
.cat-item {
  padding: 12px 16px;
  cursor: pointer;
  transition: all 0.2s;
  border-radius: 4px;
  margin-bottom: 8px;
}
.cat-item:hover {
  background-color: #e8f4ff;
}
.cat-item.active {
  background-color: #1989fa;
  color: #fff;
}
.content {
  flex: 1;
}
.search-bar {
  background-color: #fff;
  padding: 16px;
  border-radius: 4px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
}
.job-card {
  background-color: #fff;
  padding: 20px;
  border-radius: 4px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s;
}
.job-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}
.job-main {
  flex: 1;
}
.job-name {
  font-size: 18px;
  font-weight: bold;
  color: #1989fa;
  margin-bottom: 12px;
}
.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 8px;
}
.tag {
  font-size: 14px;
  color: #606266;
}
.publish-date {
  font-size: 12px;
  color: #909399;
}
.job-side {
  flex-shrink: 0;
}
.job-detail {
  line-height: 1.8;
}
.resume-form {
  padding: 10px 0;
}
.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.form-col {
  flex: 1;
  min-width: 200px;
}
/* 页脚样式 */
.footer {
  background-color: #E1FFFF;
  color: #000000;
  padding: 20px 0 10px;
  margin-top: 30px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 0 20px;
}

.footer-col {
  flex: 1;
  min-width: 150px;
  margin-bottom: 30px;
  margin-right: 30px;
}

.footer-col h4 {
  font-size: 16px;
  margin-bottom: 20px;
  font-weight: 600;
  color: #3a3e4a;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background-color: #1989fa;
}

.footer-col p,
.footer-col a {
  margin-bottom: 12px;
  color: #4a4e5a;
  font-size: 14px;
  transition: color 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

.footer-col p:hover,
.footer-col a:hover {
  color: #1989fa;
}

.footer-right {
  flex: 1;
  min-width: 200px;
  text-align: right;
}

.company-name {
  margin-top: 16px !important;
  font-size: 14px !important;
  color: #4a4e5a !important;
  cursor: default !important;
}

.icp-info {
  font-size: 12px !important;
  color: #95a5a6 !important;
  margin-top: 8px !important;
  cursor: default !important;
}

.icp-info a {
  color: #95a5a6;
  text-decoration: none;
  transition: color 0.3s ease;
}

.icp-info a:hover {
  color: #1989fa;
  text-decoration: underline;
}

.footer-bottom {
  max-width: 1200px;
  margin: 20px auto 0;
  padding: 10px 20px 0;
  border-top: 1px solid #34495e;
  text-align: center;
}

.footer-bottom p {
  font-size: 12px;
  color: #95a5a6;
}

/* 触控优化 */
.navbar, .nav-item, .job-card, .cat-item, button, .el-button {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* 响应式适配 */
/* 平板设备 */
@media (max-width: 1200px) {
  .container {
    width: 100%;
    padding: 0 15px;
  }
  
  .nav-content {
    padding: 0 15px;
  }
}

@media (max-width: 992px) {
  .nav-content {
    padding: 0 15px;
  }
  
  .logo {
    margin-left: 0;
  }
  
  .nav-menu {
    gap: 20px;
  }
  
  .nav-item {
    font-size: 14px;
  }

  .container {
    flex-direction: column;
    gap: 15px;
  }

  .sidebar {
    width: 100%;
  }
  
  .cat-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
  }
  
  .cat-item {
    flex: 1;
    min-width: 100px;
    text-align: center;
    margin-bottom: 0;
  }

  .banner-img {
    height: 280px;
  }

  .form-col {
    min-width: 100%;
  }
}

/* 手机设备 */
@media (max-width: 768px) {
  html {
    font-size: 14px;
  }

  .nav-content {
    flex-direction: column;
    height: auto;
    padding: 12px 15px;
  }

  .logo {
    margin-left: 0;
    margin-bottom: 12px;
    width: 100%;
    justify-content: center;
  }

  .logo p {
    display: none;
  }

  .nav-menu {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-item {
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 8px;
  }

  .nav-item:hover,
  .nav-item.active {
    border-bottom: none;
    background: rgba(158, 211, 220, 0.2);
  }

  .banner-img {
    height: 180px;
  }

  .container {
    width: 100%;
    padding: 0 12px;
    gap: 12px;
  }

  .sidebar {
    width: 100%;
  }

  .cat-list {
    gap: 8px;
  }

  .cat-item {
    min-width: 80px;
    padding: 10px 12px;
    font-size: 13px;
  }

  .search-bar {
    padding: 12px;
  }

  .job-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    gap: 12px;
  }

  .job-card:hover {
    transform: none;
  }

  .job-name {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .job-tags {
    gap: 8px;
  }

  .tag {
    font-size: 13px;
  }

  .job-side {
    width: 100%;
    text-align: right;
  }

  .el-button {
    width: 100%;
  }

  .form-row {
    flex-direction: column;
    gap: 12px;
  }

  .form-col {
    min-width: 100%;
  }

  .footer-content {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 0 15px;
  }

  .footer-col {
    margin-right: 0;
    margin-bottom: 15px;
    text-align: center;
    flex: none;
    width: calc(33.33% - 10px);
    max-width: 120px;
  }

  .footer-col h4 {
    font-size: 13px;
    margin-bottom: 8px;
    padding-bottom: 6px;
  }

  .footer-col h4::after {
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
  }

  .footer-col p {
    font-size: 12px;
    margin-bottom: 6px;
  }

  .footer-right {
    text-align: center;
    width: 100%;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: 10px;
    order: 10;
  }

  .company-name {
    font-size: 12px !important;
    margin-top: 10px !important;
  }

  .icp-info {
    font-size: 11px !important;
    margin-top: 6px !important;
  }

  .footer-bottom {
    padding: 15px 15px 0;
    margin-top: 15px;
  }

  .footer-bottom p {
    font-size: 11px;
  }
}

/* 小屏手机 */
@media (max-width: 480px) {
  .nav-content {
    padding: 10px 10px;
  }

  .nav-menu {
    gap: 8px;
  }

  .nav-item {
    font-size: 13px;
    padding: 6px 10px;
  }

  .banner-img {
    height: 150px;
  }

  .container {
    padding: 0 10px;
  }

  .cat-item {
    min-width: 70px;
    padding: 8px 10px;
    font-size: 12px;
  }

  .job-card {
    padding: 14px;
  }

  .job-name {
    font-size: 15px;
  }

  .footer-content {
    gap: 10px;
    padding: 0 10px;
  }

  .footer-col {
    width: calc(33.33% - 7px);
    max-width: 100px;
  }

  .footer-col h4 {
    font-size: 12px;
  }

  .footer-col p {
    font-size: 11px;
  }
}

/* 移动端点击效果 */
@media (hover: none) {
  .job-card:active {
    transform: scale(0.98);
  }

  .cat-item:active {
    transform: scale(0.95);
  }

  .nav-item:active {
    background: rgba(158, 211, 220, 0.3);
  }
}
