body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background-color: #f3f4f6;
}

/* 顶部导航栏样式 - 与二手房页面保持一致 */
/* 自定义样式 */
.top-nav {
  background: linear-gradient(180deg, #cde8ff 0%, rgba(157, 214, 253, 0) 100%);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
}

.nav-col-logo {
  flex: 0 0 auto;
}

.nav-col-menu {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-col-login {
  flex: 0 0 auto;
  text-align: right;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 18px;
  font-weight: bold;
}

.custom-menu {
  display: flex;
  align-items: center;
  height: 60px;
  background: transparent;
}

.custom-menu-item {
  display: inline-block;
  padding: 0 30px;
  height: 60px;
  line-height: 60px;
  color: #606266;
  font-size: 16px;
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
  border-bottom: 2px solid transparent;
}

.custom-menu-item.active {
  color: #409eff;
  position: relative;
  border-bottom: none;
}

.custom-menu-item.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 4px;
  background-color: #fecb33;
}

.menu-text {
  display: inline-block;
  height: 24px;
  opacity: 1;
  font-family: "Source Han Sans", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", sans-serif;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: 0px;
  font-variation-settings: "opsz" auto;
  font-feature-settings: "kern" on;
  color: #000000;
  vertical-align: middle;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.login-button {
  color: #666666;
  background: none;
  border: none;
  font-size: 14px;
  cursor: pointer;
  padding: 8px 16px;
  min-width: 120px;
  text-align: center;
  white-space: nowrap;
  display: flex;
  align-items: center;
}

.login-button img {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-right: 5px;
}

.login-button:hover {
  color: #409eff;
}

/* 面包屑导航样式 */
.breadcrumb-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb-item {
  color: #606266;
  font-size: 14px;
}

.breadcrumb-item a {
  color: #409eff;
  text-decoration: none;
}

.breadcrumb-separator {
  color: #c0c4cc;
  margin: 0 4px;
}

.divider {
  margin: 20px 0;
  background-color: #dcdfe6;
  border: none;
  height: 1px;
}

/* 用户信息栏样式 - 移除阴影和背景，改为左右分布 */
.user-info-bar {
  max-width: 1200px;
  margin: 20px auto;
  padding: 0 20px;
  position: relative;
}

.user-container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.user-profile {
  display: flex;
  align-items: center;
}

.user-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
}

.user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-name {
  font-size: 18px;
  font-weight: bold;
}

.user-actions {
  display: flex;
  gap: 30px;
  justify-content: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  min-width: 400px;
}

.user-action-link {
  display: flex;
  flex-direction: row;
  align-items: center;
  text-decoration: none;
  color: #606266;
}

.action-icon {
  width: 24px;
  height: 24px;
  margin-right: 8px;
}

.action-icon img {
  width: 100%;
  height: 100%;
}

.action-text {
  font-size: 14px;
}

/* 主包装容器 - 包含面包屑、侧边栏和主内容 */
.main-wrapper {
  max-width: 1200px;
  margin: 10px auto;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
}

/* 面包屑导航容器 */
.breadcrumb-container {
  padding: 15px 20px 0;
}

/* 内容区域样式 */
.content-container {
  display: flex;
  padding: 0;
}

/* 侧边栏样式 */
.sidebar {
  flex: 0 0 200px;
  padding: 20px 0;
}

.sidebar-menu {
  display: flex;
  flex-direction: column;
}

.sidebar-item {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  color: #606266;
  margin: 10px;
  text-decoration: none;
  transition: all 0.3s;
}

.sidebar-item:hover {
  background-color: #f5f7fa;
  color: #409eff;
}

.sidebar-item.active {
  background-color: #ecf5ff;
  color: #409eff;
  margin: 10px;
  border-radius: 10px;
  /* border-left: 4px solid #409eff; */
}

.sidebar-icon {
  margin-right: 10px;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

/* 主内容区域样式 - 添加左侧边框作为分割线 */
.main-content {
  flex: 1;
  padding: 20px;
  border-left: 1px solid #dcdfe6;
  position: relative;
  min-height: 600px;
  display: flex;
  flex-direction: column;
}

/* 预约看房列表样式 */
.appointment-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}

.appointment-item {
  display: flex;
  /* border: 1px solid #e4e7ed; */
  padding: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.05);
}

.appointment-image {
  flex: 0 0 220px;
  height: 150px;
  overflow: hidden;
  padding: 5px;
  border-radius: 12px;
}

.appointment-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.appointment-details {
  flex: 1;
  padding: 15px;
  display: flex;
  flex-direction: column;
}

.appointment-title {
  margin: 0 0 10px 0;
  font-family: "Source Han Sans", sans-serif;
  font-size: 22px;
  font-weight: normal;
  line-height: 26px;
  letter-spacing: 0px;
  font-variation-settings: "opsz" auto;
  font-feature-settings: "kern" on;
  color: #000000;
}

.appointment-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 14px;
  color: #606266;
}

.broker-info-row {
  display: flex;
  margin-bottom: 5px;
}

.appointment-details-row {
  display: flex;
  gap: 20px;
}

.broker-info {
  display: flex;
  align-items: center;
}

.broker-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  margin-right: 8px;
}

.broker-name {
  font-family: "Source Han Sans", sans-serif;
  font-size: 16px;
  font-weight: normal;
  line-height: 20px;
  letter-spacing: 0px;
  font-variation-settings: "opsz" auto;
  font-feature-settings: "kern" on;
  color: #999999;
}

.appointment-time,
.appointment-contact {
  display: flex;
  align-items: center;
  font-family: "Source Han Sans", sans-serif;
  font-size: 16px;
  font-weight: normal;
  line-height: 20px;
  letter-spacing: 0px;
  font-variation-settings: "opsz" auto;
  font-feature-settings: "kern" on;
  color: #999999;
}

.appointment-actions {
  display: flex;
  align-items: center;
  margin-top: auto;
}

.action-button {
  padding: 6px 12px;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  font-size: 14px;
  color: #606266;
  background-color: #fff;
  cursor: pointer;
  margin-right: 10px;
  text-decoration: none;
  transition: all 0.3s;
}

.action-button:hover {
  color: #409eff;
  border-color: #c6e2ff;
  background-color: #ecf5ff;
}

.action-button.delete {
  color: #f56c6c;
}

.action-button.delete:hover {
  color: #f56c6c;
  border-color: #fbc4c4;
  background-color: #fef0f0;
}

.appointment-status {
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  display: inline-block;
  margin-left: auto;
}

.appointment-status.pending {
  background-color: #e6f7ff;
  color: #1890ff;
}

.appointment-status.completed {
  background-color: #f6ffed;
  color: #52c41a;
}

/* 预约状态样式 */
.appointment-status-badge.visited {
  background-color: #28a745;
  color: white;
}

.appointment-status-badge.cancelled {
  background-color: #dc3545;
  color: white;
}

/* 版权信息 */
/* 版权信息样式 */
.copyright-footer {
  background: #e7e7e7;
  padding: 30px 0;
  margin-top: 40px;
  text-align: center;
}

.copyright-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  color: #666666;
  font-size: 14px;
  line-height: 1.6;
}

.copyright-links {
  margin-bottom: 15px;
}

.copyright-links a {
  color: #666666;
  text-decoration: none;
  margin: 0 10px;
}

.copyright-links a:hover {
  color: #409eff;
}

.copyright-text {
  margin-bottom: 10px;
}

/* 响应式适配 */
@media (max-width: 768px) {
  .user-container {
    flex-direction: column;
    align-items: center;
    gap: 80px;
  }

  .user-profile {
    margin-bottom: 0;
  }

  .user-actions {
    position: static;
    transform: none;
    margin-top: 20px;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
  }

  .content-container {
    flex-direction: column;
  }

  .sidebar {
    flex: 0 0 auto;
  }

  .main-content {
    border-left: none;
    border-top: 1px solid #dcdfe6;
  }

  .appointment-item {
    flex-direction: column;
  }

  .appointment-image {
    flex: 0 0 auto;
    height: 180px;
  }

  .appointment-actions {
    flex-wrap: wrap;
  }

  .action-button {
    margin-bottom: 10px;
  }
}

/* 暂时注释暗黑模式样式
body.dark-mode {
  background-color: #1a1a1a;
  color: #e0e0e0;
}

body.dark-mode .top-nav {
  background: linear-gradient(180deg, #1a3a5f 0%, rgba(26, 58, 95, 0) 100%);
}

body.dark-mode .custom-menu-item {
  color: #b0b0b0;
}

body.dark-mode .custom-menu-item:hover {
  color: #67c2ff;
  background: #2c2c2c;
}

body.dark-mode .custom-menu-item.active {
  color: #67c2ff;
  border-bottom: 2px solid #67c2ff;
  background: #2c2c2c;
}

body.dark-mode .menu-text {
  color: #e0e0e0;
}

body.dark-mode .login-button {
  color: #b0b0b0;
}

body.dark-mode .login-button:hover {
  color: #67c2ff;
}

body.dark-mode .breadcrumb-item {
  color: #b0b0b0;
}

body.dark-mode .breadcrumb-item a {
  color: #67c2ff;
}

body.dark-mode .breadcrumb-separator {
  color: #606060;
}

body.dark-mode .divider {
  background-color: #3a3a3a;
}

body.dark-mode .user-action-link {
  color: #b0b0b0;
}

body.dark-mode .main-wrapper {
  background-color: #2c2c2c;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.3);
}

body.dark-mode .sidebar-item {
  color: #b0b0b0;
}

body.dark-mode .sidebar-item:hover {
  background-color: #3a3a3a;
  color: #67c2ff;
}

body.dark-mode .sidebar-item.active {
  background-color: #3a3a3a;
  color: #67c2ff;
  border-left: 4px solid #67c2ff;
}

body.dark-mode .main-content {
  border-left-color: #3a3a3a;
}

body.dark-mode .appointment-item {
  border: 1px solid #3a3a3a;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.2);
}

body.dark-mode .appointment-title {
  color: #e0e0e0;
}

body.dark-mode .appointment-info {
  color: #b0b0b0;
}

body.dark-mode .broker-name {
  color: #b0b0b0;
}

body.dark-mode .action-button {
  border: 1px solid #3a3a3a;
  color: #b0b0b0;
  background-color: #2c2c2c;
}

body.dark-mode .action-button:hover {
  color: #67c2ff;
  border-color: #3a5a7a;
  background-color: #3a3a3a;
}

body.dark-mode .action-button.delete {
  color: #ff8080;
}

body.dark-mode .action-button.delete:hover {
  color: #ff8080;
  border-color: #5a3a3a;
  background-color: #3a3a3a;
}

body.dark-mode .appointment-status.pending {
  background-color: #1a3a5f;
  color: #67c2ff;
}

body.dark-mode .appointment-status.completed {
  background-color: #1a5f1a;
  color: #67ff67;
}

body.dark-mode .copyright-footer {
  background-color: #1a1a1a;
}

body.dark-mode .copyright-links a {
  color: #b0b0b0;
}

body.dark-mode .copyright-links a:hover {
  color: #67c2ff;
}

body.dark-mode .copyright-text {
  color: #707070;
}
*/

/* 分页栏样式 */
.pagination-container {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  margin-bottom: 20px;
  position: sticky;
  bottom: 0;
  background-color: white;
  padding: 15px 0;
  border-top: 1px solid #f0f0f0;
}

.pagination {
  display: flex;
  align-items: center;
  gap: 5px;
}

.pagination-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  color: #606266;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s;
  border: 1px solid #dcdfe6;
  background-color: #fff;
}

.pagination-item:hover {
  color: #409eff;
  border-color: #c6e2ff;
  background-color: #ecf5ff;
}

.pagination-item.active {
  color: #fff;
  background-color: #409eff;
  border-color: #409eff;
}

.pagination-prev,
.pagination-next {
  width: 32px;
  height: 32px;
}

.pagination-ellipsis {
  display: inline-block;
  margin: 0 5px;
  color: #606266;
}

/* 登录状态样式 */
.login-state {
  display: block;
}

/* 登录下拉菜单样式 */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  background-color: #fff;
  min-width: 120px;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
  z-index: 100;
  border-radius: 4px;
  overflow: hidden;
}

.dropdown-content a {
  color: #606266;
  padding: 10px 15px;
  text-decoration: none;
  display: block;
  font-size: 14px;
  transition: all 0.3s;
}

.dropdown-content a:hover {
  background-color: #f5f7fa;
  color: #409eff;
}

.show {
  display: block;
}

/* 关于我们页面样式 */
.about-description {
  font-family: "Source Han Sans", sans-serif;
  font-size: 18px;
  font-weight: normal;
  line-height: 36px;
  letter-spacing: 0px;
  color: #666666;
  margin-bottom: 30px;
}

.feature-cards {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
}

.feature-card {
  flex: 1;
  background-color: #ffffff;
  border: 1px solid #b9cae4;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin-right: 15px;
  flex-shrink: 0;
}

.feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.feature-content {
  flex: 1;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #303133;
  margin: 0 0 8px 0;
}

.feature-card p {
  color: #606266;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

/* 响应式适配 */
@media (max-width: 768px) {
  .feature-cards {
    flex-direction: column;
  }

  .feature-card {
    width: 100%;
  }
}

/* 预约详情页面样式 */
.appointment-detail-container {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.appointment-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
}

.appointment-detail-header h2 {
    font-size: 22px;
    color: #333;
    margin: 0;
}

.appointment-status-badge {
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
}

.appointment-status-badge.pending {
    background-color: #f0ad4e;
    color: white;
}

.appointment-detail-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.property-info-section {
    display: flex;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 80px;
}

.property-image {
    flex: 0 0 250px;
    padding: 20px; 
}

.property-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
}

.property-details h3 {
    margin: 0 0 10px;
    font-size: 18px;
    color: #333;
}

.property-meta {
    color: #666;
    font-size: 14px;
}

.property-meta span {
    margin-right: 8px;
}

.appointment-info-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 20px;
}

.info-row {
    display: flex;
    align-items: center;
}

.info-label {
    flex: 0 0 100px;
    color: #666;
    font-size: 14px;
}

.info-value {
    color: #333;
    font-size: 16px;
}

.broker-info-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 20px;
}

.broker-profile {
    display: flex;
    align-items: center;
    gap: 15px;
}

.broker-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.broker-details .broker-name {
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
}

.broker-details .broker-contact {
    color: #666;
    font-size: 14px;
}

.call-broker-btn {
    background-color: #409eff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
}

.appointment-progress-section {
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 20px;
}

.progress-title {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
}

.progress-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.progress-item {
    display: flex;
    align-items: center;
    flex: 1;
    position: relative;
    padding-bottom: 50px; /* 增加底部间距，让文字在横线上方 */
}

.progress-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 12px;
    right: 0;
    width: 100%;
    height: 2px;
    background-color: #e0e0e0;
    z-index: 1;
}

.progress-item.active:not(:last-child)::after {
    background-color: #409eff;
}

.progress-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #e0e0e0;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    z-index: 2;
    position: relative;
}

.progress-item.active .progress-icon {
    background-color: #409eff;
}

.progress-details {
    display: flex;
    flex-direction: column;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    text-align: start;
    width: 100%;
}

.progress-name {
    font-size: 14px;
    color: #666;
}

.progress-time {
    font-size: 12px;
    color: #999;
}

.appointment-actions-section {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.primary-action-btn {
    background-color: #409eff;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
}

.secondary-action-btn {
    background-color: #f56c6c;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
}
