html,body {
  height: 100%;
}

/* 隐藏滚动条但保持可滚动 */
::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

/* Firefox */
* {
  scrollbar-width: none;
}

/* IE */
* {
  -ms-overflow-style: none;
}

body {
  margin: 0;
  background: #f5f8fc;
  font-family: "微软雅黑", Arial, sans-serif;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.main-container {
  max-width: 1200px;
  margin: 0 auto;
  flex:1;
}

.header {
  background: #2fa8f6;
  color: #fff;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header .container {
  width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header .logo {
  display: flex;
  align-items: center;
}
.header .logo img {
  border-radius: 100%;
  height: 60px;
  margin-right: 10px;
}
.header .title {
  font-size: 32px;
  font-weight: normal;
}
.header .user a {
  color: #fff;
  text-decoration: none;
  margin: 0 5px;
}
.header .user {
  display: flex; /* 默认（PC端）显示为flex布局 */
  align-items: center;
}
.nav {
  background: #40b3f8;
  border-bottom: 3px solid #65c2f9;
}
.nav .container {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
}

.nav a {
  color: #fff;
  text-decoration: none;
  padding: 18px 28px;
  font-size: 20px;
  transition: background 0.2s;
}
.nav a.active,
.nav a:hover {
  border-bottom: 2px solid #fff;
  font-weight: bold;
}
.banner {
  position: relative;
  text-align: center;
  background: #7ed0ff;
}
.banner img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  opacity: 0.95;
}
.banner-content {
  position: absolute;
  top: 20%;
  left: 0;
  width: 100%;
  color: #fff;
}
.banner-title {
  font-size: 44px;
  margin-bottom: 30px;
  text-shadow: 2px 2px 8px #eee;
}
.search-box {
  margin-bottom: 20px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}
.search-box input {
  width: 35%;
  display: inline-block;
  height: 60px;
  font-size: 18px;
  box-sizing: border-box;
  padding: 0 15px;
  border: none;
  border-radius: 10px 0 0 10px;
  outline: none;
}
.search-box button {
  height: 60px;
  display: inline-block;
  font-size: 18px;
  box-sizing: border-box;
  background: #ff7f32;
  color: #fff;
  margin-left: -5px;
  border: none;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  padding: 0 25px;
}

.search-box button::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 26px;
  position: relative;
  top: 6px;
  background-image: url(../images/search.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
}

.hot-search {
  margin-top: 10px;
  font-size: 16px;
}
.hot-item {
  background: #e0eaf6;
  color: #3b97e0;
  border-radius: 12px;
  padding: 3px 12px;
  margin: 0 5px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.hot-item:hover {
  background: #3b97e0;
  color: #fff;
}
.notice-bar {
  padding: 12px 40px;
  display: flex;
  align-items: center;
  font-size: 16px;
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width:1200px;
  margin-top: 30px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.notice-title {
  color: #ff7f32;
  font-weight: bold;
  width: 130px;
  margin-right: 16px;
  flex-shrink: 0;
}
.notice-title::before {
  content: "";
  display: inline-block;
  width: 26px;
  margin-right: 10px;
  height: 23px;
  position: relative;
  top: 3px;
  background-image: url(../images/gg.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
}

.notice-list-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
}
.notice-list {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 0 40px;
  background: none;
  padding: 0;
  margin: 0;
  list-style: none;
  font-size: 16px;
  animation: notice-scroll 25s linear infinite;
  will-change: transform;
  min-width: 100%;
}
@keyframes notice-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.notice-list li {
  display: inline-block;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  margin-right: 40px;
}
.notice-list a {
  display: inline-block;
  color: #222;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.2s;
}
.notice-list a:hover {
  color: #2086ee;
}
.notice-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: url(../images/gg-dian.png) no-repeat center center;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
  box-shadow: 0 0 2px #2086ee44;
}
.notice-date {
  color: #888;
  font-size: 15px;
  margin-left: 18px;
  margin-right: 0;
}
.notice-more {
  flex: none;
  margin-left: 20px;
  background: url(../images/gg-more.png) no-repeat center center;
  color: #2086ee;
  line-height: 5000;
  overflow: hidden;
  height: 22px;
  width: 50px;
  border-radius: 12px;
  font-size: 15px;
  padding: 0;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.notice-more:hover {
  opacity: 0.8;
}
.notice-bar .more {
  color: #41a6f7;
  text-decoration: none;
  margin-left: 16px;
}
.quick-service {
  background: #fff;
  padding: 32px 0;
  margin-top: 10px;
  margin-left: auto;
  margin-right: auto;
}

.quick-service .container {
  display: flex;
  justify-content: center;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-item {
  position: relative;
  width: 300px;
  height: 160px;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background-size: cover;
  background-position: center;
  box-shadow: 0 2px 12px 0 rgba(32, 134, 238, 0.06);
  transition: box-shadow 0.3s, transform 0.3s;
  cursor: pointer;
}
.service-mask {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: rgba(24, 38, 56, 0.68);
  z-index: 1;
  transition: background 0.3s;
}

.service-item:hover {
  box-shadow: 0 8px 32px 0 rgba(32, 134, 238, 0.13);
  transform: translateY(-4px) scale(1.03);
}
.service-item:hover .service-mask {
  background: #2086ee;
  opacity: 0.92;
}
.service-icon {
  position: relative;
  z-index: 2;
  margin-bottom: 12px;
}
.service-icon img {
  width: 48px;
  height: 48px;
}
.service-title {
  position: relative;
  z-index: 2;
  color: #fff;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 2px;
  text-shadow: 0 2px 8px #0003;
}
.guide-section {
  background: #f3f8fe;
  padding: 40px 0 20px 0;
  text-align: center;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.guide-title {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 40px 0 24px 0;
  font-size: 24px;
  font-weight: bold;
  color: #2086ee;
  background: #f5f8fc;
  padding: 0;
}
.guide-title .line {
  display: inline-block;
  width: 60px;
  height: 3px;
  background: #2086ee;
  border-radius: 2px;
  margin: 0 18px;
}
.guide-title .text {
  color: #2086ee;
  font-size: 30px;
  font-weight: bold;
  letter-spacing: 2px;
}
.guide-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 32px;
}
.guide-item {
  background: #fff;
  box-shadow: 0 4px 18px 0 rgba(32, 134, 238, 0.06);
  overflow: hidden;
  text-align: center;
  font-size: 18px;
  color: #222;
  cursor: pointer;
  text-decoration: none;
  transition: box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.guide-item img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.guide-item .title {
  padding: 18px 0 20px 0;
  font-size: 18px;
  font-weight: 500;
  color: #222;
  letter-spacing: 1px;
}
.guide-item:hover {
  box-shadow: 0 8px 32px 0 rgba(32, 134, 238, 0.13);
  background: #f6faff;
}
.guide-item:hover img {
  transform: scale(1.08);
}
.guide-item:hover div {
  color: #2086ee;
}
.guide-img {
  width: 100%;
  height: 130px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.guide-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.guide-section .guide-more-btn {
  display: none;
}
.public-section {
  background: #fff;
  margin-top: 20px;
  margin-bottom: 0;
  padding: 30px 40px 40px 40px;
}
.public-title.guide-title {
  background: #fff;
  margin-bottom: 0;
  padding-bottom: 0;
}
.public-tabs-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start; /* 始终左对齐，避免最后一行只有两个元素时分散对齐 */
  align-items: center;
  gap: 0 36px;
  max-width: 1200px;
  margin: 24px auto 18px auto;
}
.public-tabs-menu .tab {
  white-space: nowrap;
  font-size: 18px;
  color: #333;
  background: none;
  border: none;
  outline: none;
  padding: 10px 15px;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
}
.public-tabs-menu .tab.active {
  background: #2086ee;
  color: #fff;
  box-shadow: 0 2px 8px #e0eaf6;
}
.public-tabs-menu .tab:not(.active):hover {
  background: #f3f8fe;
  color: #2086ee;
}
.public-list {
  max-width: 1200px;
  margin: 0 auto;
}
.tab-content {
  display: none;
}

.tab-content thead {
  display: none;
}

.tab-content.active {
  display: block;
}
.tab-content table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 0;
}
.tab-content th,
.tab-content td {
  font-size: 16px;
  font-weight: 400;
  color: #666;
  padding: 10px 8px;
  text-align: left;
  border: none;
}

.tab-content th,
.tab-content td:last-child {
  text-align: right;
}

.tab-content th {
  background: none;
  color: #2086ee;
  font-weight: 500;
  border-bottom: 1.5px solid #e0eaf6;
}
.tab-content td {
  border-bottom: 1px dashed #e0eaf6;
  background: none;
}
.tab-content tr:last-child td {
  border-bottom: none;
}
.tab-content td:first-child {
  /* padding-left: 18px; */
  position: relative;
}
.tab-content td:first-child::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #d3d3d3;
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
}
.more-btn {
  display: block;
  width: 150px;
  margin: 32px auto 0 auto;
  padding: 8px 48px;
  background: #fff;
  color: #bcbcbc;
  border: 1px solid #e0eaf6;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border 0.2s;
  font-weight: 400;
  letter-spacing: 1px;
  text-align: center;
  text-decoration: none;
  box-shadow: none;
}
.more-btn:hover {
  background: #2086ee;
  color: #fff;
  border: 1px solid #2086ee;
}
.footer {
  background: #f5f8fc;
  padding: 0;
  margin-top: 0;
}
.footer-main {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  border-top: 1px solid #e0eaf6;
  padding: 40px 0 20px 0;
}
.footer-col {
  flex: 1;
  min-width: 0;
  padding: 0 24px;
  box-sizing: border-box;
}
.footer-col-left {
  max-width: 260px;
}
.footer-col-center {
  text-align: center;
  max-width: 520px;
}
.footer-col-right {
  text-align: right;
  position: relative;
}

.footer-col-right .footer-list {
  width: 200px;
  float: left;
  text-align: left;
}

.footer-title {
  font-size: 20px;
  text-align: left;
  color: #222;
  margin-bottom: 18px;
}
.footer-list {
  color: #555;
  font-size: 12px;
  border-right: 1px solid #eee;
  line-height: 2.1;
}
.footer-list a {
  color: #555;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-list a:hover {
  color: #2da7f5;
}
.footer-desc {
  color: #555;
  font-size: 12px;
  text-align: left;
  line-height: 2.1;
  margin-top: 8px;
}
.footer-desc a {
  color: #555;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-desc a:hover {
  color: #2da7f5;
}
.footer-qr-block {
  margin-top: 12px;
  margin-top: -40px;
  display: inline-block;
  text-align: center;
}
.footer-qr-block img {
  width: 90px;
  height: 90px;
  display: block;
  margin: 0 auto 6px auto;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e0eaf6;
}
.footer-qr-block div {
  font-size: 13px;
  color: #888;
  margin-top: 2px;
  line-height: 1.5;
}
.footer-qr-block a {
  color: #888;
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-qr-block a:hover {
  color: #ff7f32;
}
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 0 18px 0;
  color: #888;
  font-size: 12px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  align-items: center;
  letter-spacing: 0.5px;
}
.footer-bottom a {
  color: #555;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-bottom a:hover {
  color: #2da7f5;
}
.user-icon {
  width: 36px;
  height: 36px;
}
.desktop-guides {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 32px;
}
.mobile-guides {
  display: none;
}
@media (max-width: 900px) {
  .footer-main {
    flex-direction: column;
    align-items: stretch;
    padding: 24px 0 10px 0;
  }
  .footer-col {
    text-align: left !important;
    max-width: 100% !important;
    padding: 0 10px;
    margin-bottom: 18px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    padding: 10px 10px 12px 10px;
    text-align: center;
  }
}
@media (max-width: 1200px) {
  .guide-item {
    flex: 0 0 48%;
    max-width: 48%;
    min-width: 180px;
  }
  .guide-list {
    gap: 24px 4%;
  }
}
@media (max-width: 800px) {
  .guide-item {
    flex: 0 0 100%;
    max-width: 100%;
    min-width: 120px;
  }
  .guide-list {
    gap: 18px 10px;
    padding: 0 12px;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  }
  .public-section,
  .public-title.guide-title {
    padding-top: 0;
    margin-top: 10px;
  }
  .footer-col-right,
  .footer-col-left {
    display: none;
  }
}
@media (max-width: 1100px) {
  .quick-service {
    flex-wrap: wrap;
    gap: 24px;
  }
  .service-item {
    width: 46vw;
    min-width: 220px;
    max-width: 100%;
  }
}
@media (max-width: 700px) {
  .quick-service {
    flex-direction: column;
    gap: 18px;
    padding: 18px 0;
  }
  .service-item {
    width: 96vw;
    min-width: 0;
    height: 120px;
  }
  .service-title {
    font-size: 18px;
  }
}
.fixed-toolbar {
  position: fixed;
  top: 50%;
  right: 24px;
  z-index: 100;
  display: flex;
  flex-direction: column;
}
.toolbar-item {
  width: 90px;
  height: 80px;
  background: #f7f7f7;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  margin-bottom: 0;
  transition: background 0.2s, box-shadow 0.2s;
}
.toolbar-item img {
  width: 36px;
  height: 36px;
  margin-bottom: 6px;
  display: block;
}
.toolbar-title {
  color: #222;
  font-size: 13px;
  text-align: center;
  font-weight: 400;
  letter-spacing: 1px;
}
.toolbar-item:hover {
  background: #eaf4ff;
}
@media (max-width: 900px) {
  .fixed-toolbar {
    right: 6px;
    top: unset;
    /* bottom: 60px; */
  }
  .toolbar-item {
    width: 75px;
    height: 70px;
  }
  .toolbar-title {
    font-size: 13px;
  }
  .toolbar-item img {
    width: 28px;
    height: 28px;
  }
}
@media (max-width: 900px) {
  .notice-bar {
    padding: 8px 8px;
    font-size: 14px;
    min-width:0;
    width:100%

  }
  .notice-title {
    width: 90px;
    font-size: 14px;
    margin-right: 8px;
  }
  .notice-list-wrapper {
    min-width: 0;
  }
  .notice-list {
    gap: 0 18px;
    font-size: 14px;
  }
  .notice-list li {
    margin-right: 18px;
  }
  .notice-date {
    font-size: 13px;
    margin-left: 8px;
  }
  .notice-more {
    margin-left: 2px;
  }
  .footer-title {
    text-align: center;
  }

  .guide-section {
    padding-top: 0;
  }
}
@media (max-width: 600px) {
  .notice-bar {
    padding: 6px 2vw;
  }
  .notice-title {
    margin-bottom: 4px;
    width: auto;
  }
  .notice-list-wrapper {
    width: 100%;
  }
  .notice-list {
    gap: 0 10px;
    font-size: 12px;
  }
  .notice-list li {
    margin-right: 10px;
  }
  .notice-date {
    font-size: 12px;
    margin-left: 4px;
  }
  .notice-more {
  }
}

/* 移动端适配 */
@media (max-width: 768px) {
  .register,.login {
    font-size: 12px;
  }
  .user-icon {
    display: block;
    width: 18px;
    height: 18px;
  }
  /* 头部适配 */
  .header {
    display: none; /* 手机端隐藏整个头部 */
  }
  .desktop-guides {
    display: none;
  }
  .mobile-guides {
    display: grid;
    gap: 18px 10px;
    padding: 0 12px;
    grid-template-columns: 1fr 1fr;
  }
  .guide-section .guide-more-btn {
    display: block;
  }
  /*
  如果之前有其他关于 .header 的样式在手机端适配，现在它们会被 display: none 覆盖。
  例如之前可能有的：
  .header {
    padding: 0 15px;
    height: auto;
    min-height: 60px;
  }
  这些现在都不需要了，因为整个 header 都隐藏了。
  */

  /* 导航栏适配 */
  .nav {
    display: none; /* 手机端隐藏PC导航栏 */
  }
  .nav .container {
    flex-wrap: wrap;
    justify-content: center;
  }
  .nav a {
    padding: 10px 12px;
    font-size: 14px;
  }

  /* Banner区域适配 */
  .banner-content {
    top: 15%;
  }
  .banner-title {
    font-size: 24px;
    margin-bottom: 20px;
  }
  .search-box {
    width: 70%;
    position: relative;
    margin: 0 auto;
  }
  .search-box input {
    width: 100%;
    height: 45px;
    font-size: 16px;
    border-radius: 10px;
    margin-bottom: 10px;
  }
  .search-box button {
    width: 70px;
    position: absolute;
    right: 0;
    top: 0;
    height: 45px;
    padding: 0;
    line-height: 40px;
    font-size: 16px;
    border-radius: 10px;
    margin-left: 0;
  }
  .search-box button::before {
    width: 20px;
    height: 20px;
  }
  .hot-search {
    font-size: 14px;
    margin-top: 15px;
  }
  .hot-item {
    padding: 2px 8px;
    margin: 0 3px;
    font-size: 14px;
  }

  /* 通知公告栏适配 */
  .notice-bar {
    padding: 8px 15px;
  }
  .notice-title {
    width: auto;
    margin-bottom: 8px;
  }
  .notice-list {
    font-size: 14px;
  }
  .notice-list li {
    margin-right: 15px;
  }
  .notice-date {
    font-size: 12px;
    margin-left: 8px;
  }

  /* 快捷服务区域适配 */
  .quick-service .container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
    padding: 0 15px;
  }
  .service-item {
    width: calc(50% - 8px);
    height: 120px;
    min-width: 0;
  }
  .service-icon img {
    width: 36px;
    height: 36px;
  }
  .service-title {
    font-size: 18px;
  }

  /* 公共事项发布区域适配 */
  .public-section {
    padding: 20px 15px;
  }
  .public-tabs-menu {
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
  }
  .public-tabs-menu::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
  }
  .public-tabs-menu .tab {
    font-size: 14px;
    padding: 8px 12px;
  }
  .card-list {
    margin-top: 0;
  }
  .tab-content td {
    font-size: 14px;
    padding: 8px 5px;
  }
  .more-btn {
    width: 120px;
    padding: 6px 30px;
    font-size: 14px;
  }
  
  /* 手机端隐藏头部中的登录信息（此规则可以保留，但因为整个header已隐藏，实际不会再起作用，为了清晰起见，我将它从更具体的.header .user中移除，因为整个.header都被隐藏了） */
  /* .header .user {
    display: none;
  } */

  /* 手机端显示悬浮按钮和侧边栏 */
  .menu-toggle {
    display: block;
  }
  .sidebar {
    display: block;
  }


  /* 侧边栏中的用户登录信息样式：在手机端显示 */
  .sidebar-header .user-info-mobile {
    display: flex; /* 手机端显示 */
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    color: #FFF; /* 文本颜色 */
    font-size: 16px; /* 字体大小 */
  }

  .sidebar-header .user-info-mobile .user-icon {
    width: 28px; /* 调整图标大小 */
    height: 28px;
    margin-right: 10px; /* 图标与文字间距 */
  }

  .sidebar-header .user-info-mobile a {
    color: #fff; /* 链接文本颜色 */
    text-decoration: none;
    font-size: 16px; /* 链接字体大小 */
    margin: 0 5px; /* 保持链接间距 */
    border-bottom: none; /* 移除可能的底部边框 */
  }
  /* 为el-popconfirm内的a标签调整样式 */
  .sidebar-header .user-info-mobile .el-popconfirm a {
      margin: 0; /* 移除el-popconfirm内a标签的额外边距 */
  }
}

/* 超小屏幕适配 */
@media (max-width: 480px) {
  .header .title {
    font-size: 15px;
  }
  .nav a {
    padding: 10px 12px;
    font-size: 14px;
  }

  .banner-title {
    font-size: 20px;
  }
  .search-box input,
  .search-box button {
    height: 40px;
    font-size: 14px;
  }
  .hot-search {
    display: none;
  }
  .notice-list {
    font-size: 12px;
  }
  .service-item {
    height: 100px;
  }
  .service-title {
    font-size: 18px;
  }
  .public-tabs-menu .tab {
    font-size: 20px;
    padding: 6px 10px;
  }
}

/* el-form label 响应式宽度适配 */
.el-form .el-form-item__label {
  width: 170px;
  min-width: 80px;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .el-form .el-form-item__label {
    width: 100px !important;
    min-width: 60px;
    font-size: 13px;
    padding-right: 6px;
  }
}
@media (max-width: 480px) {
  .el-form .el-form-item__label {
    width: 100px !important;
    min-width: 50px;
    font-size: 16px;
    padding-right: 4px;
  }
}

/* 侧边栏样式 */
.sidebar {
  position: fixed;
  top: 0;
  left: -280px;
  width: 280px;
  height: 100%;
  background: #fff;
  z-index: 1000;
  transition: left 0.3s ease;
  box-shadow: 2px 0 8px rgba(0,0,0,0.1);
}

.sidebar.active {
  left: 0;
}

.sidebar-header {
  padding: 20px;
  background: #00B4B5;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sidebar-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  padding: 0;
}

.sidebar-menu {
  /* padding: 20px 0; */
}

.sidebar-menu a {
  display: block;
  padding: 15px 20px;
  color: #333;
  text-decoration: none;
  font-size: 1.6rem;
  border-bottom: 1px solid #eee;
  transition: background 0.3s;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
  background: #f5f8fc;
  color: #2fa8f6;
}

/* 悬浮按钮样式 */
.menu-toggle {
  display: none;
  position: fixed;
  top: 10px;
  right: 15px;
  width: 30px;
  height: 30px;
  background: #00B4B5;
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.menu-toggle span {
  display: block;
  width: 12px;
  height: 2px;
  background: #fff;
  margin: 2px auto;
  transition: all 0.3s;
}

/* 遮罩层 */
.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 999;
}

.sidebar-overlay.active {
  display: block;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  .nav {
    display: none;
  }
  
  .sidebar {
    display: block;
  }
}

/* 侧边栏中的用户登录信息：默认隐藏（PC端） */
.sidebar-menu .user-info-mobile {
  display: none;
}
