/* ========================================
   宝宝资料页面样式
   ======================================== */

/* 资料卡片 */
.profile-card {
    background: white;
    border-radius: var(--card-radius);
    padding: 24px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 16px;
}

/* 宝宝头像区域 */
.profile-header {
    text-align: center;
    padding-bottom: 24px;
    border-bottom: 1px solid #F5F0F2;
    margin-bottom: 24px;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--pink-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    margin: 0 auto 16px;
    overflow: hidden;
}

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

.profile-name {
    font-size: 24px;
    font-weight: 700;
    background: var(--pink-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.profile-age {
    color: var(--text-muted);
    font-size: 14px;
}

/* 信息分组 */
.info-group {
    margin-bottom: 20px;
}

.info-group-title {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.info-group-title .section-emoji {
    margin-right: 8px;
}

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

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--bg-main);
    border-radius: 16px;
}

.info-label {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 14px;
}

.info-value {
    font-weight: 600;
    color: var(--text-main);
    font-size: 14px;
    text-align: right;
    word-break: break-word;
    max-width: 60%;
}

.info-value.empty {
    color: #ccc;
    font-style: italic;
}

/* 成长数据卡片 */
.growth-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.growth-stat-card {
    background: white;
    border-radius: var(--card-radius);
    padding: 16px;
    text-align: center;
    box-shadow: var(--shadow-soft);
}

.growth-stat-icon {
    font-size: 28px;
    margin-bottom: 8px;
}

.growth-stat-value {
    font-size: 20px;
    font-weight: 700;
    background: var(--pink-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.growth-stat-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* 编辑按钮 */
.edit-profile-btn {
    width: 100%;
    background: var(--pink-grad);
    border: none;
    border-radius: var(--btn-radius);
    padding: 16px;
    font-weight: 600;
    font-size: 16px;
    color: white;
    box-shadow: var(--shadow-soft);
    transition: all 0.2s;
}

.edit-profile-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 154, 158, 0.3);
}

.edit-profile-btn:active {
    transform: translateY(0);
}

/* 联系卡片 */
.contact-card {
    background: linear-gradient(135deg, #E8F4FD 0%, #FFE5E7 100%);
    border-radius: var(--card-radius);
    padding: 20px;
    margin-bottom: 16px;
}

.contact-title {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

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

.contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.contact-info {
    flex: 1;
}

.contact-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.contact-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
}

/* 性别选择 */
.gender-selector {
    display: flex;
    gap: 12px;
}

.gender-option {
    flex: 1;
    padding: 16px;
    border: 2px solid #F0E6E9;
    border-radius: 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    background: white;
}

.gender-option:hover {
    border-color: var(--pink);
}

.gender-option.selected {
    border-color: var(--pink);
    background: var(--pink-light);
}

.gender-option .gender-emoji {
    font-size: 32px;
    margin-bottom: 8px;
}

.gender-option .gender-text {
    font-weight: 500;
    font-size: 14px;
}

/* 桌面端适配 */
@media (min-width: 768px) {
    .profile-card {
        padding: 32px;
    }

    .growth-stats-grid {
        gap: 16px;
    }
}
