/* 详情页样式 */
.detail-container {
    display: flex;
    margin-top: 20px;
    gap: 20px;
    background: #fff;
    padding: 20px;
    border: 1px solid #e5e5e5;
}

/* 左侧图片 */
.detail-image {
    width: 300px;
    height: 250px;
    overflow: hidden;
}

.detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 中间信息 */
.detail-info {
    flex: 1;
    padding: 0 20px;
}

.info-item {
    margin-bottom: 15px;
}

.info-item .label {
    color: #999;
    margin-right: 10px;
}

.info-item .value {
    color: #333;
}

.contact-buttons {
    display: flex;
    gap: 15px;
    margin: 20px 0;
}

.btn-view-phone,
.btn-view-chat,
.btn-report {
    padding: 10px 30px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 16px;
}

.btn-view-phone {
    background: #2B61B3;
    color: #fff;
}

.btn-view-phone:hover {
    background: #1e4c8f;
}

.btn-view-chat {
    background: #ff6b6b;
    color: #fff;
}

.btn-view-chat:hover {
    background: #ff5252;
}

.btn-report {
    background: #f5f5f5;
    color: #666;
}

.btn-report:hover {
    background: #e5e5e5;
}

.safety-tips {
    margin-top: 20px;
    padding: 15px;
    background: #f8f8f8;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
}

.safety-tips p {
    color: #666;
    line-height: 1.6;
}

/* 右侧用户信息 */
.user-profile {
    width: 200px;
    text-align: center;
    padding: 20px;
    border-left: 1px solid #e5e5e5;
    margin: 0 auto;
}

.user-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 15px;
}

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

.user-info .user-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.user-info .user-auth {
    display: inline-block;
    padding: 3px 10px;
    background: #e8f3ff;
    color: #2B61B3;
    border-radius: 12px;
    font-size: 12px;
}

/* 详细内容区域 */
.content-section {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

/* 左侧详细内容 */
.content-main {
    flex: 7;
}

.content-box {
    background: #fff;
    padding: 20px;
    border: 1px solid #e5e5e5;
}

.section-title {
    font-size: 18px;
    font-weight: bold;
    padding-bottom: 15px;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 15px;
}

.content-text {
    color: #333;
    line-height: 1.8;
}

.content-text p {
    margin-bottom: 10px;
}

/* 右侧相关推荐 */
.content-side {
    flex: 3;
}

.related-box {
    background: #fff;
    padding: 20px;
    border: 1px solid #e5e5e5;
}

.side-title {
    font-size: 16px;
    font-weight: bold;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 15px;
}

.related-item {
    display: flex;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
}

.related-item:last-child {
    border-bottom: none;
}

.related-item img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    margin-right: 10px;
}

.related-info .title {
    font-size: 14px;
    margin-bottom: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.related-info .desc {
    color: #666;
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 猜你喜欢 */
.guess-like {
    margin-top: 20px;
    background: #fff;
    padding: 20px;
    border: 1px solid #e5e5e5;
}

.guess-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.guess-item {
    border: 1px solid #e5e5e5;
    transition: all 0.3s;
}

.guess-item:hover {
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.guess-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.guess-info {
    padding: 10px;
}

.guess-info .title {
    font-size: 14px;
    margin-bottom: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.guess-info .area {
    color: #666;
    font-size: 12px;
}

/* 弹窗样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    width: 400px;
    text-align: center;
}

.modal-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.modal-content p {
    color: #666;
    margin-bottom: 20px;
}

.modal-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.btn-login,
.btn-recharge {
    padding: 8px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-login {
    background: #2B61B3;
    color: #fff;
}

.btn-login:hover {
    background: #1e4c8f;
}

.btn-recharge {
    background: #ff6b6b;
    color: #fff;
}

.btn-recharge:hover {
    background: #ff5252;
}

.recharge-guide {
    border-top: 1px solid #e5e5e5;
    padding-top: 15px;
}

.recharge-guide a {
    color: #2B61B3;
    text-decoration: underline;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    color: #999;
    cursor: pointer;
}

.modal-close:hover {
    color: #666;
}

/* 标题区域 */
.detail-header {
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 20px;
}

.detail-header .title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.detail-header .meta {
    color: #999;
    font-size: 14px;
}

.meta span {
    margin-right: 20px;
}

/* 房源信息 */
.house-info {
    margin-bottom: 30px;
}

.house-info .price {
    margin-bottom: 20px;
}

.price .number {
    font-size: 36px;
    color: #ff6b6b;
    font-weight: bold;
}

.price .unit {
    font-size: 16px;
    color: #666;
    margin-left: 5px;
}

.info-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

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

/* 房源描述 */
.house-desc {
    margin-bottom: 30px;
}

.house-desc .content {
    line-height: 1.8;
    color: #666;
}

.house-desc p {
    margin-bottom: 10px;
}

/* 右侧信息 */
.detail-side {
    width: 300px;
}

/* 发布者信息 */
.publisher-info {
    background: #fff;
    padding: 20px;
    border: 1px solid #e5e5e5;
    margin-bottom: 20px;
}

.publisher-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

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

.publisher-meta .name {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
}

.publisher-meta .auth {
    color: #2B61B3;
    font-size: 12px;
}

.contact {
    text-align: center;
}

.phone {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
}

.contact-btn {
    width: 100%;
    height: 40px;
    background: #2B61B3;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.contact-btn:hover {
    background: #1e4c8f;
}

/* 相关推荐 */
.related-list {
    background: #fff;
    padding: 20px;
    border: 1px solid #e5e5e5;
}

.related-item {
    display: flex;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
}

.related-item:last-child {
    border-bottom: none;
}

.related-item img {
    width: 100px;
    height: 75px;
    object-fit: cover;
    margin-right: 10px;
}

.related-info .title {
    font-size: 14px;
    margin-bottom: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.related-info .price {
    color: #ff6b6b;
    font-weight: bold;
}

/* 付费发布按钮样式 */
.publish-btn1 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    background: #2B61B3;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 16px;
    height: 40px;
}

.publish-btn1::before {
    content: '+';
    font-size: 20px;
    font-weight: bold;
    line-height: 1;
}

.publish-btn1:hover {
    background: #1e4c8f;
} 


/* 用户类型标签样式 */
.corner-tag {
    display: inline-block;
    margin-bottom: 13px;
    transition: all 0.3s ease;
}

.corner-tag a {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 14px;
    color: #fff;
    text-decoration: none;
    background-color: #FF9800;
}

/* 悬浮效果 */
.corner-tag a:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(255, 152, 0, 0.3);
    background-color: #F57C00;
}

/* 认证状态链接样式 */
.user-auth a {
    color: inherit;
    text-decoration: none;
}

.user-auth a:hover {
    color: #FF9800;
}