/* 主体内容区 */
.main-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  gap: 20px;
  background-color: #fff;
  margin-bottom: -60px;
}

/* ==================== 左侧功能栏 ==================== */
.sidebar {
  width: 220px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1), 0 4px 20px rgba(0,0,0,0.08);
}

.sidebar-card {
  background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%);
  overflow: hidden;
  margin-bottom: 10px;
  position: relative;
  height: 120px;
}

.sidebar-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/templates/pc/images/left-3.png');
  background-size: cover;
}

.sidebar-card-title {
  position: relative;
  z-index: 1;
  padding: 30px 20px;
  color: var(--text-white);
  font-size: 22px;
  font-weight: bold;
}

.sidebar-menu {
  background: #fff;
  border-radius: 0px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.sidebar-menu-item {
  color: #414141;
  font-size: 16px;
  cursor: pointer;
  width: 220px;
  box-sizing: border-box;
  background-size: 100% 100%;
  text-align: center;
}

.sidebar-menu-item .top-menu {
  font-size: 21px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  color: #797979;
  border-top: solid 1px #ccc;
  padding: 5px 10px;
  margin-top: -1px;
  font-weight: 550;
}

.sidebar-menu-item .top-menu:last-child {
  border-bottom: solid 1px #ccc;
}

.sidebar-menu-item .top-menu .icon {
  width: 20px;
  height: 20px;
}

.sidebar-menu-item .top-menu .arrow {
  width: 10px;
  height: 10px;
}

.sidebar-menu-item .top-menu img {
  width: auto;
  height: 100%;
  vertical-align: top;
}

.sidebar-menu-item ul li {
  background-color: #E7E7E7;
  text-align: center;
  padding: 10px 0;
  margin-bottom: 2px;
  position: relative;
}

.sidebar-menu-item ul li.active {
  background: #BAE7FF;
}


.sidebar-menu-item ul li::after {
  content: ">";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #8d7b7b;
}

.sidebar-menu-item:last-child {
  border-bottom: none;
}

.sidebar-menu-item .arrow {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar-menu-item .arrow::after {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--text-white);
  border-right: 2px solid var(--text-white);
  transform: rotate(45deg);
}

/* ==================== 右侧内容区 ==================== */
.content-area {
  flex: 1;
  position: relative;
}

.content-area::before {
  position: absolute;
  left: -20px;
  top: 0;
  content: "";
  width: 20px;
  height: 100%;
  background-color: #EDEDEF;
}


/* 内容列表 */
.list-container {
  /* 列表容器 */
  min-height: 550px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1), 0 4px 20px rgba(0,0,0,0.08);
}

.list-container .content {
  padding: 20px 20px;
  font-size: 18px;

}

.detail-top {
  height: 120px;
  width: 100%;
  object-fit: cover;
}

.form-group {
  margin-bottom: 15px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 550px;
  gap: 10px;
}

.form-group label {
  font-size: 16px;
  width: 120px;
  display: inline-block;
  text-align: right;
  font-weight: 700;
}

.form-group input,
.form-group select {
  height: 36px;
  border-radius: 5px;
  border: 1px solid #CACACA;
  padding: 3px 15px;
  outline: none;
  flex: 1;
}

.form-group .btn {
  width: 70px;
  height: 39px;
  border: none;
  border-radius: 5px;
}

.form-group .btn.btn-blue {
  background: #3A76E4;
  color: #fff;
}

.form-group .djzp {
  width: 120px;
  height: 33px;
  font-family: PingFang SC;
  font-weight: 800;
  font-size: 18px;
  color: #000000;
  line-height: 3px;
  position: relative;
  padding-left: 20px;
  line-height: 33px;
  margin-top: 45px;
}

.form-group .djzp::after {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 5px;
  height: 20px;
  background-color: #3A76E4;
  display: inline-block;
}

.form-group .img {
  width: 230px;
  height: 230px;
}

.form-group .img img {
  width: 100%;
  height: 100%;
  display: block;
}

.member-table td {
  height: 35px;
}

.member-table td input,
.member-table td select {
  width: 100%;
  height: 100%;
  outline: none;
}

.member-table td .btn {
  width: 100%;
  height: 100%;
  outline: none;
  background: #3A76E4;
  color: #fff;
}

.sidebar-menu-item ul {
  display: block;
}

.sidebar-menu-item.active ul {
  display: block;
}

.content .join-1 {
  width: 300px;
  height: auto;
  display: block;
  margin: 0 auto;
  margin-top: 40px;
  cursor: pointer;
}

.content .join-2 {
  width: 300px;
  height: auto;
  display: block;
  margin: 0 auto;
  margin-top: 60px;
  cursor: pointer;
}

.content .join-3 {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  margin-top: 60px;
}

/* ==================== 双创大赛报名表单样式 ==================== */

/* 表单行布局 */
#baseinfo {
  padding: 10px 30px 30px;
}

#baseinfo .form-row {
  display: flex;
  align-items: flex-start;
  margin-bottom: 22px;
  gap: 12px;
  width: 100%;
}

/* 表单标签 */
#baseinfo .form-label {
  font-size: 15px;
  color: #333;
  font-weight: 600;
  line-height: 36px;
  min-width: 130px;
  text-align: right;
  flex-shrink: 0;
}

#baseinfo .form-label.required::before {
  content: '*';
  color: #f56c6c;
  margin-right: 4px;
  font-weight: bold;
}

/* 表单字段容器 */
#baseinfo .form-field {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* 输入框 */
#baseinfo .form-input {
  height: 36px;
  border: 1px solid #4C4B4B;
  padding: 0 12px;
  font-size: 14px;
  color: #333;
  width: 100%;
  transition: border-color 0.2s;
  outline: none;
}

#baseinfo .form-input:focus {
  border-color: #1e88e5;
  box-shadow: 0 0 0 2px rgba(30, 136, 229, 0.1);
}

#baseinfo .form-input::placeholder {
  color: #c0c4cc;
}

/* 多行文本框 */
#baseinfo .form-textarea {
  border: 1px solid #4C4B4B;
  padding: 10px 12px;
  font-size: 14px;
  color: #333;
  width: 100%;
  resize: none;
  font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
  line-height: 1.6;
  outline: none;
  transition: border-color 0.2s;
}

#baseinfo .form-textarea:focus {
  border-color: #1e88e5;
  box-shadow: 0 0 0 2px rgba(30, 136, 229, 0.1);
}

#baseinfo .form-textarea::placeholder {
  color: #c0c4cc;
}

/* 下拉选择框 */
#baseinfo .form-select {
  height: 36px;
  border: 1px solid #4C4B4B;
  padding: 0 12px;
  font-size: 14px;
  color: #333;
  width: 100%;
  background-color: #fff;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s;
}

#baseinfo .form-select:focus {
  border-color: #1e88e5;
}

/* 双列布局 */
#baseinfo .form-row-half {
  display: flex;
  align-items: flex-start;
}

#baseinfo .form-row-half .form-col {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

#baseinfo .form-row-half .form-col .form-label {
  min-width: 100px;
}

#baseinfo .form-row-half .form-col .form-field {
  flex: 1;
}

/* 复选框组 */
#baseinfo .checkbox-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 36px;
}

#baseinfo .checkbox-item {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 14px;
  color: #333;
  user-select: none;
}

#baseinfo .checkbox-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: #1e88e5;
  margin: 0;
}

/* 标签按钮 */
#baseinfo .btn-tag {
  height: 28px;
  padding: 0 10px;
  border: 1px solid #1e88e5;
  border-radius: 4px;
  background-color: #fff;
  color: #1e88e5;
  font-size: 12px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

#baseinfo .btn-tag:hover {
  background-color: #f0f7ff;
}

#baseinfo .btn-tag.blue {
  border-color: #409eff;
  color: #fff;
  background-color: #2796FF;
}

/* 内联输入框 */
#baseinfo .form-input-inline {
  height: 28px;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  padding: 0 8px;
  font-size: 13px;
  color: #333;
  outline: none;
  transition: border-color 0.2s;
  min-width: 100px;
}

#baseinfo .form-input-inline:focus {
  border-color: #1e88e5;
}

#baseinfo .form-input-inline.wide {
  min-width: 200px;
}

/* 详情标签文字 */
#baseinfo .detail-label {
  font-size: 14px;
  color: #333;
  white-space: nowrap;
}

/* 专利详情区域 */
#baseinfo .patent-detail {
  background-color: #f5f7fa;
  padding: 8px 12px;
  border-radius: 4px;
  margin-top: 4px;
}

/* 创新成果详情 */
#baseinfo .innovation-detail {
  background-color: #f5f7fa;
  padding: 8px 12px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

/* 添加按钮 */
#baseinfo .btn-del-patent {
  background-color: #2796FF;
  border: none;
  padding: 2px 5px;
  border-radius: 10px;
  cursor: pointer;
}

#baseinfo .btn-del-patent:hover {
  background-color: #1e88e5;
  color: #fff;
}

/* 上传区域 */
#baseinfo .upload-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

#baseinfo .btn-upload {
  height: 34px;
  padding: 0 10px;
  background-color: #2796FF;
  border: 1px solid #1e88e5;
  border-radius: 4px;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
  display: flex;
  align-items: center;
}

#baseinfo .btn-upload::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background: url(../images/up-icon.png) no-repeat center;
  background-size: contain;
}

#baseinfo .btn-upload:hover {
  background-color: #1e88e5;
  color: #fff;
}

#baseinfo .upload-tip {
  font-size: 12px;
  color: #909399;
}

/* 参赛需求区域 */
#baseinfo .need-group {
  border-radius: 4px;
  padding: 10px 12px 10px 0;
}

#baseinfo .form-sub-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 8px;
}

#baseinfo .form-sub-label {
  font-size: 14px;
  color: #666;
  line-height: 36px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* 项目情况区域 */
#baseinfo .project-situation {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#baseinfo .situation-item {
  border-radius: 6px;
  padding: 0;
  transition: border-color 0.2s;
  color: #4C4B4B;
}

#baseinfo .situation-item:hover {
  border-color: #c0c4cc;
}

#baseinfo .situation-title {
  font-size: 14px;
  font-weight: 600;
  color: #4C4B4B;
  margin-bottom: 10px;
  line-height: 1.5;
}

/* 底部按钮 */
#baseinfo .form-btns {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  padding-top: 20px;
}

#baseinfo .btn-draft {
  width: 120px;
  height: 40px;
  background-color: #fff;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  color: #606266;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s;
}

#baseinfo .btn-draft:hover {
  border-color: #c0c4cc;
  color: #409eff;
}

#baseinfo .btn-next {
  width: 120px;
  height: 40px;
  background-color: #1e88e5;
  border: 1px solid #1e88e5;
  border-radius: 4px;
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s;
}

#baseinfo .btn-next:hover {
  background-color: #1976d2;
  border-color: #1976d2;
}

/* 响应式 */
@media screen and (max-width: 768px) {
  #baseinfo {
    padding: 10px 15px 30px;
  }

  #baseinfo .form-row {
    flex-direction: column;
    gap: 6px;
  }

  #baseinfo .form-label {
    text-align: left;
    min-width: unset;
    line-height: 1.4;
  }

  #baseinfo .form-row-half {
    flex-direction: column;
    gap: 12px;
  }

  #baseinfo .form-row-half .form-col {
    flex-direction: column;
    gap: 6px;
  }

  #baseinfo .form-row-half .form-col .form-label {
    min-width: unset;
  }
}

/* ==================== 省市县三级联动 ==================== */

/* 三个下拉框的容器 */
#baseinfo .area-cascader {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* 每个联动下拉框 */
#baseinfo .area-select {
  flex: 1;
  min-width: 120px;
  height: 36px;
  border: 1px solid #4C4B4B;
  padding: 0 8px;
  font-size: 14px;
  color: #333;
  background-color: #fff;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s, background-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23999'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 10px 6px;
  padding-right: 28px;
}

#baseinfo .area-select:focus {
  border-color: #1e88e5;
}

/* 禁用状态 */
#baseinfo .area-select:disabled {
  background-color: #f5f7fa;
  color: #c0c4cc;
  border-color: #e4e7ed;
  cursor: not-allowed;
}

/* 响应式：小屏堆叠 */
@media screen and (max-width: 600px) {
  #baseinfo .area-cascader {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  #baseinfo .area-select {
    max-width: 100%;
    width: 100%;
  }
}