@charset "UTF-8";

/* ---------- 我是分割线 ---------- */

.main-content-wrapper {
  width: 1200px;
  margin: 0 auto;
}

/* top tab */
.top-tab-wrapper {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}
.top-tab-container {
  display: flex;
}
.top-tab-item {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 150px;
  height: 40px;
  background: #e7e6e6;
  font-size: 14px;
  cursor: pointer;
  position: relative;
}
.top-tab-item::before {
  content: '';
  position: absolute;
  right: 0;
  width: 1px;
  height: 20px;
  background: var(--color-primary);
}
.top-tab-item:last-child::before {
  width: 0;
}
.top-tab-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  height: 2px;
  width: 50px;
}
.top-tab-item.active {
  background: transparent;
  color: var(--color-primary);
}
.top-tab-item:hover {
  color: var(--color-primary);
}
.top-tab-item.active::after {
  background: var(--color-primary);
}
.top-tab-wrapper .release-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 120px;
  height: 40px;
  background: var(--color-primary);
  font-size: 14px;
  border: none;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
}
.top-tab-wrapper .release-button:focus,
.top-tab-wrapper .release-button:hover {
  box-shadow: 0px 0px 4px 1px rgba(5, 109, 232, 0.4);
}
.top-tab-wrapper .release-button .send-icon {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}

/* ---------- 我是分割线 ---------- */

/* filter */
.filter-wrapper {
  width: 1200px;
  background: #fff;
  border-radius: 4px;
  padding: 20px 20px 10px;
  font-size: 12px;
  box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.1);
  margin-top: 20px;
}
.filter-row {
  display: flex;
}
.filter-label {
  width: 60px;
  margin-right: 10px;
  line-height: 24px;
}
.filter-container {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
}
.filter-item {
  line-height: 24px;
  padding: 0 12px;
  border-radius: 4px;
  color: #666;
  margin: 0 6px 20px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.filter-item:not(.active):hover {
  color: var(--color-primary);
  cursor: pointer;
}
.filter-item.active {
  color: #fff;
  background: var(--color-primary);
}
.filter-more {
  color: var(--color-primary);
  line-height: 24px;
}
.filter-more:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

/* ---------- 我是分割线 ---------- */

.data-list-wrapper {
  margin-top: 20px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.1);
}

/* sub tab */
.sub-tab-container {
  border-bottom: 2px solid var(--color-primary);
  display: flex;
}
.sub-tab-item {
  width: 160px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  font-size: 14px;
}
.sub-tab-item.active {
  background: var(--color-primary);
  color: #fff;
}
.sub-tab-item:not(.active):hover {
  color: var(--color-primary);
  cursor: pointer;
}
.sub-tab-item:nth-child(1) {
  border-radius: 4px 0px 0px 0px;
}

.data-list-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 0 20px;
  min-height: 180px;
}
.data-list-item {
  width: 570px;
  height: 162px;
  border-radius: 4px;
  box-shadow: 0px 0px 2px 2px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  display: flex;
  padding: 20px;
  margin-top: 20px;
}
.data-list-item:hover {
  background: rgba(5, 109, 232, 0.1);
  box-shadow: 0px 0px 2px 1px rgba(32, 129, 235, 0.8);
}
.data-list-item .lease-img {
  width: 102px;
  height: 120px;
  border-radius: 4px;
  margin-right: 20px;
}
.data-list-item .info-wrapper {
  flex: 1;
}
.data-list-item .info-title {
  line-height: 21px;
}
.data-list-item .info-date-wrapper {
  display: flex;
  align-items: center;
  font-size: 14px;
  line-height: 18px;
  color: #999;
  margin-top: 10px;
}
.data-list-item .info-date-wrapper > div + div {
  margin-left: 30px;
}
.data-list-item .info-date-wrapper .label {
  color: #333;
}
.data-list-item .info-date-wrapper .cate-wrapper {
  max-width: 420px;
}
.data-list-item .address-wrapper {
  display: flex;
  align-items: center;
}
.data-list-item .address {
  width: 93px;
}
.data-list-item .address-icon {
  margin-right: 6px;
}
.data-list-item .extract-method {
  width: 56px;
}
.data-list-item .info-price-wrapper {
  color: #f51111;
  font-size: 12px;
  height: 24px;
  margin-top: 10px;
  display: flex;
  align-items: baseline;
}
.data-list-item .negotiable {
  font-size: 14px;
}
.data-list-item .negotiable .label {
  color: #999;
}
.data-list-item .info-price {
  font-size: 18px;
}
.data-list-item .info-auth-wrapper {
  margin-top: 12px;
  display: flex;
  align-items: center;
}
.data-list-item .avatar-name-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  font-size: 14px;
  line-height: 18px;
  color: #999;
}
.data-list-item .auth-avatar {
  width: 24px;
  height: 24px;
  border-radius: 999em;
  margin-right: 10px;
  flex-shrink: 0;
}
.data-list-item .badge-wrapper {
  margin: 0 10px;
  display: flex;
}
.data-list-item .badge-wrapper .badge + .badge {
  margin-left: 6px;
}
.data-list-item .detail-link {
  width: 62px;
  height: 22px;
  color: var(--color-primary);
  border: 1px solid;
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  background: #fff;
}

/* 分页 */
.pagination-wrapper {
  padding: 30px 0;
}
/* ---------- 我是分割线 ---------- */

/* 数据为空 */
.data-empty {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 362px;
}
.data-empty .empty-img {
  width: 200px;
  height: 200px;
}
.data-empty .empty-text {
  margin-top: 38px;
}

/* ---------- 我是分割线 ---------- */

/* 发布租赁表单 */
.release-lease-form {
}
.dialog-main {
}
.release-lease-form .dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 42px;
  padding: 0 10px;
  border-radius: 4px;
  background: #f3f1f1;
}
.release-lease-form .dialog-header .close-icon {
  width: 20px;
  height: 20px;
  cursor: pointer;
}
.release-lease-form .dialog-header .close-icon-placeholder {
  width: 20px;
  height: 20px;
}

.release-lease-form .dialog-body {
  font-size: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.release-lease-form .form-container {
  width: 376px;
  /* line-height: 48px; */
  margin-top: 40px;
}
.release-lease-form .form-item {
  display: flex;
}
.release-lease-form .form-item + .form-item {
  margin-top: 20px;
}
.release-lease-form .form-label {
  width: 70px;
  margin-right: 10px;
  line-height: 32px;
  text-align: right;
}
.release-lease-form .form-content {
  width: 296px;
}
.release-lease-form .form-content.radio {
  line-height: 32px;
  display: flex;
}
.release-lease-form .form-content.radio > label {
  margin-right: 44px;
  display: flex;
  align-items: center;
}
.release-lease-form .form-content.radio .radio-input {
  width: 16px;
  height: 16px;
  margin-right: 10px;
}
.release-lease-form .form-content.radio > label div {
  min-width: 3em;
}
.release-lease-form .form-content.input .input {
  width: 100%;
  height: 32px;
  padding: 0 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.release-lease-form .form-content.select {
  display: flex;
}
.release-lease-form .form-content.select .select {
  width: 92px;
  height: 32px;
  padding: 0 0 0 6px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.release-lease-form .form-content.select .select + .select {
  margin-left: 10px;
}
.release-lease-form .form-content.price {
  display: flex;
  justify-content: space-between;
}
.release-lease-form .form-content.price .input {
  width: 194px;
  height: 32px;
  padding: 0 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.release-lease-form .form-content.price .select {
  width: 92px;
  height: 32px;
  padding: 0 0 0 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.release-lease-form .form-content.upload-image {
}
.release-lease-form .upload-image-container {
  display: flex;
  flex-wrap: wrap;
  margin-right: -5px;
}
.release-lease-form .upload-image-item {
  width: 50px;
  height: 50px;
  position: relative;
  margin-bottom: 10px;
  margin-right: 5px;
}
.release-lease-form .upload-image-item .upload-img {
  width: 100%;
  height: 100%;
  border-radius: 4px;
}
.release-lease-form .upload-image-item .delete-icon {
  cursor: pointer;
  position: absolute;
  top: 2px;
  right: 2px;
}
.release-lease-form .upload-image-handle {
  width: 50px;
  height: 50px;
  cursor: pointer;
  margin-bottom: 10px;
}
.release-lease-form .upload-image-handle img {
  width: 100%;
  height: 100%;
}
.release-lease-form .form-content.upload-image .tip-text {
  font-size: 12px;
  line-height: 16px;
  color: #f51111;
}

.release-lease-form .dialog-footer {
  padding: 40px 0;
  text-align: center;
}
.release-lease-form .submit-button {
  background: var(--color-primary);
  color: #fff;
  width: 120px;
  height: 32px;
  border: none;
  border-radius: 4px;
  margin-top: 20px;
  font-size: 14px;
  cursor: pointer;
}
.release-lease-form .submit-button:hover {
  box-shadow: 0px 0px 4px 1px rgba(5, 109, 232, 0.4);
}
.release-lease-form .reset-button-hidden {
  display: none;
}
