/* 阿姨详情页样式 */

/* 详情头部 */
.aunt-detail {
    background: #f5f7fa;
    min-height: calc(100vh - 120px);
}

.detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #fff;
    border-radius: 4px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.detail-actions {
    display: flex;
    gap: 10px;
}

/* 头部信息卡 */
.header-card {
    display: flex;
    align-items: flex-start;
    padding: 25px;
    background: linear-gradient(135deg, #fff8f0 0%, #f7edff 56%, #eefaf2 100%);
    border-radius: 8px;
    color: #24352b;
    margin-bottom: 20px;
}

.aunt-detail .header-card,
.aunt-detail .header-card .basic-info,
.aunt-detail .header-card .info-row span,
.aunt-detail .header-card .info-row i {
    color: #24352b;
}

.aunt-detail .sensitive-phone {
    color: #8f5fca !important;
    cursor: pointer;
}

.aunt-detail .sensitive-phone em {
    margin-left: 6px;
    color: #8c6b45;
    font-size: 12px;
    font-style: normal;
}

.avatar-section {
    margin-right: 25px;
}

.large-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255,255,255,0.3);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.large-avatar-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    border: 4px solid rgba(255,255,255,0.3);
}

.basic-info h2 {
    margin: 0 0 15px 0;
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.basic-info h2 .el-tag {
    background: rgba(255,255,255,0.78);
    border-color: rgba(185, 135, 242, 0.28);
    color: #8f5fca;
}

.info-row {
    display: flex;
    gap: 20px;
    margin-bottom: 8px;
    font-size: 14px;
}

.info-row span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.info-row i {
    opacity: 0.7;
}

/* 详情标签页 */
.detail-tabs {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
}

.detail-tabs .el-tabs__header {
    margin-bottom: 20px;
}

/* 详情区块 */
.detail-section {
    padding: 0 10px;
}

.detail-section h3 {
    font-size: 16px;
    color: #333;
    margin: 25px 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-section h3:first-child {
    margin-top: 0;
}

.detail-section h3 i {
    color: #b987f2;
}

/* 信息项 */
.info-item {
    margin-bottom: 15px;
}

.info-item label {
    display: block;
    font-size: 12px;
    color: #999;
    margin-bottom: 5px;
}

.info-item span {
    font-size: 14px;
    color: #333;
}

/* 文本内容 */
.text-content {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.8;
    color: #555;
    white-space: pre-wrap;
}

.text-content.internal {
    background: #fff8e6;
    border-left: 3px solid #e6a23c;
}

/* 照片网格 */
.photo-group {
    margin-bottom: 25px;
}

.photo-group h3 {
    margin-bottom: 15px;
}

.photo-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.photo-item {
    width: 150px;
    height: 150px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.photo-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.single-photo {
    width: 300px;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.single-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.empty-photo {
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 4px;
    color: #999;
    font-size: 14px;
}

/* 图片预览弹窗 */
.preview-dialog .el-dialog__body {
    padding: 0;
}

.preview-dialog .el-dialog__header {
    padding: 10px 20px;
}

/* 详情卡片 */
.detail-card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.aunt-detail .detail-card.header-card {
    display: flex;
    align-items: flex-start;
    padding: 25px;
    background: linear-gradient(135deg, #fff8f0 0%, #f7edff 56%, #eefaf2 100%);
    color: #24352b;
    border-radius: 8px;
}

/* 响应式 */
@media (max-width: 768px) {
    .header-card {
        flex-direction: column;
        text-align: center;
    }
    
    .avatar-section {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .info-row {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .photo-grid {
        justify-content: center;
    }
}
/* ==================== 现住址表单样式 ==================== */
.address-form-item .el-form-item__content {
    line-height: normal;
}
.address-input-group {
    display: flex;
    align-items: center;
}
.coord-info {
    margin-top: 8px;
    font-size: 12px;
    color: #67c23a;
}
.coord-info .el-icon-check {
    margin-right: 5px;
}

/* ==================== 百度地图选址弹窗样式 ==================== */
.map-picker-container {
    height: 500px;
    display: flex;
    flex-direction: column;
}
.map-search-wrap {
    padding: 10px;
    background: #f5f5f5;
    border-radius: 4px;
    margin-bottom: 10px;
}
.map-content-wrap {
    flex: 1;
    display: flex;
    gap: 10px;
    min-height: 0;
}
.baidu-map {
    flex: 1;
    min-width: 0;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.map-info-panel {
    width: 280px;
    background: #fafafa;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}
.info-title {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}
.info-title i {
    margin-right: 5px;
    color: #b987f2;
}
.selected-address {
    background: #e8f4fd;
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 15px;
    font-size: 13px;
}
.selected-address.empty {
    background: #f5f5f5;
    color: #999;
    text-align: center;
}
.selected-address p {
    margin: 5px 0;
}
.search-results {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 15px;
}
.results-title {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
}
.result-item {
    padding: 10px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background 0.2s;
}
.result-item:hover {
    background: #e8f4fd;
}
.result-name {
    font-size: 13px;
    color: #333;
    font-weight: 500;
    margin-bottom: 3px;
}
.result-address {
    font-size: 12px;
    color: #999;
}
.operation-tip {
    font-size: 12px;
    color: #666;
    background: #fff9e6;
    padding: 10px;
    border-radius: 4px;
}
.operation-tip p {
    margin-bottom: 5px;
}
.operation-tip ul {
    margin: 0;
    padding-left: 20px;
}
.operation-tip li {
    margin: 3px 0;
    line-height: 1.5;
}
