/* 基础重置 */

/* 悬浮信息块容器 - 改为自然高度 */
.floating-block {
    width: 180px;
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: center;
    /* ✅ 移除了 height: 100% */
    /* 高度由内容自然撑开 */
}

/* 标题部分 */
.block-header {
    padding: 12px 10px;
    border-bottom: none;
}

.block-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 3px;
    letter-spacing: 0.5px;
}

.block-subtitle {
    font-size: 11px;
    opacity: 0.9;
}

/* 内容区域 - 允许自然流式布局 */
.block-content {
    padding: 15px 12px;
    /* ✅ 移除了固定高度和内部滚动 */
    /* 内容多时由父页面整体滚动，而非 iframe 内部滚动 */
}

/* 联系信息项 */
.contact-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #eee;
}

.contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.item-title {
    font-weight: bold;
    color: #307bd5;
    font-size: 14px;
    margin-bottom: 8px;
    line-height: 1.2;
}

.item-content {
    font-size: 13px;
    color: #333;
    line-height: 1.4;
    word-wrap: break-word;
    text-align: center;
}

/* 二维码区域 */
.qrcode-area {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #eee;
}

.qrcode-title {
    font-weight: bold;
    color: #307bd5;
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 1.2;
}

.qrcode-container {
    background-color: #f9f9f9;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.qrcode-image {
    width: 100%;
    height: 150px;
    margin: 0 auto;
    background-color: #fff;
    border: 1px solid #eaeaea;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 12px;
    line-height: 1.3;
    padding: 10px;
}

.qrcode-note {
    font-size: 12px;
    color: #666;
    margin-top: 8px;
    line-height: 1.3;
}