/**
 * 导游个人资料页面专用样式
 * 文件: assets/css/profile.css
 */

.guide-profile-wrapper * {
    box-sizing: border-box;
}

.guide-profile-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* ===== 顶部区域 ===== */
.guide-profile-header {
    display: grid;
    grid-template-columns: 200px auto;
    gap: 48px;
    padding: 20px 0 40px 0;
    border-bottom: 0px solid #f0f0f0;
    margin: 0 auto 30px auto;
    width: fit-content;
}

.guide-profile-avatar {
    text-align: center;
}

.guide-profile-avatar img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #ffffff;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    background: #f5f5f5;
}

.guide-profile-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.guide-profile-name {
    margin: 0 0 8px 0;
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.5px;
}

/* ===== 标签 ===== */
.guide-profile-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 8px 0 12px 0;
}

.guide-profile-tags-label {
    font-size: 14px;
    font-weight: 500;
    color: #555;
    margin-right: 2px;
}

.guide-profile-tags span {
    background: #f0f2f5;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 13px;
    color: #555;
}

/* ===== 简介区域 ===== */
.guide-profile-bio {
    padding: 0 0 20px 0;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 30px;
}

.guide-profile-bio h2 {
    margin: 0 0 16px 0;
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    letter-spacing: 0.5px;
}

.guide-profile-bio-content {
    font-size: 15px;
    line-height: 1.9;
    color: #444;
}

.guide-profile-bio-content p {
    margin: 0 0 12px 0;
}

.guide-profile-bio-content p:last-child {
    margin-bottom: 0;
}

/* ===== 底部区域 ===== */
.guide-profile-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding-top: 10px;
}

.guide-profile-footer h2 {
    margin: 0 0 20px 0;
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    letter-spacing: 0.5px;
}

/* ===== 信息列表 ===== */
.guide-profile-info-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.guide-profile-info-item {
    display: flex;
    align-items: baseline;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
}

.guide-profile-info-item .label {
    width: 110px;
    font-size: 14px;
    color: #999;
    flex-shrink: 0;
}

.guide-profile-info-item .value {
    word-break: break-all;
    color: #333;
    font-size: 15px;
}

.guide-profile-info-item .value a {
    color: #354574;
    text-decoration: none;
}

.guide-profile-info-item .value a:hover {
    text-decoration: underline;
}

/* ===== 占位符 ===== */
.guide-profile-placeholder {
    color: #bbb;
    font-style: italic;
}

/* ===== 旅游线路按钮 ===== */
.guide-profile-routes {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    border: 1px dashed #dde0e4;
}

.guide-profile-routes .btn-routes {
    display: inline-block;
    padding: 10px 32px;
    background: #354574;
    color: #ffffff;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s ease;
}

.guide-profile-routes .btn-routes:hover {
    background: #2a3a60;
}

/* ===== 响应式 ===== */
@media screen and (max-width: 768px) {
    .guide-profile-header {
        grid-template-columns: 1fr;
        gap: 24px;
        padding-bottom: 28px;
        margin: 0 0 28px 0;
        width: 100%;
    }
    
    .guide-profile-avatar {
        text-align: center;
        display: flex;
        justify-content: center;
        width: 100%;
    }
    
    .guide-profile-avatar img {
        width: 140px;
        height: 140px;
        display: block;
        margin: 0 auto;
    }
    
    .guide-profile-info {
        text-align: center;
        align-items: center;
    }
    
    .guide-profile-tags {
        justify-content: center;
    }
    
    .guide-profile-footer {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .guide-profile-info-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 8px 0;
        gap: 2px;
    }
    
    .guide-profile-info-item .label {
        width: auto;
        font-size: 13px;
    }
    
    .guide-profile-routes {
        padding: 24px 16px;
    }
}

@media screen and (max-width: 480px) {
    .guide-profile-avatar img {
        width: 110px;
        height: 110px;
    }
    
    .guide-profile-name {
        font-size: 24px;
    }
    
    .guide-profile-routes .btn-routes {
        padding: 10px 24px;
        font-size: 13px;
    }
}