@charset "gb2312";
/* ==================== DOCTOR PROFILE ==================== */
.profile-layout { display: grid; grid-template-columns: 340px 1fr; gap: 48px; align-items: start; }

.profile-sidebar {
    background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--border);
    box-shadow: var(--shadow-lg); overflow: hidden; position: sticky; top: 96px;
}
.profile-avatar-area {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 40px 24px; text-align: center; position: relative;
}
.profile-avatar-area::after {
    content: ''; position: absolute; bottom: -30px; right: -30px;
    width: 120px; height: 120px; border-radius: 50%; background: rgba(255,255,255,0.06);
}
.profile-avatar {
    width: 120px; height: 120px; border-radius: 50%; margin: 0 auto 16px;
    background: rgba(255,255,255,0.15); display: flex; align-items: center;
    justify-content: center; border: 4px solid rgba(255,255,255,0.3); overflow: hidden;
}
.profile-avatar-img {
    width: 100%; height: 100%; border-radius: 50%; object-fit: cover;
}
.profile-avatar-name { color: #fff; font-size: 24px; font-weight: 700; }
.profile-avatar-title { color: rgba(255,255,255,0.8); font-size: 14px; margin-top: 4px; }
.profile-sidebar-info { padding: 24px; }
.profile-info-item { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--border); }
.profile-info-item:last-child { border-bottom: none; }
.profile-info-icon { width: 36px; height: 36px; background: var(--primary-lighter); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.profile-info-label { font-size: 12px; color: var(--text-lighter); margin-bottom: 2px; }
.profile-info-value { font-size: 14px; font-weight: 600; color: var(--text); }

.profile-sidebar-btn {
    display: block; width: calc(100% - 48px); margin: 0 24px 24px;
    padding: 14px; background: var(--primary); color: #fff; border: none;
    border-radius: 10px; font-size: 16px; font-weight: 600; cursor: pointer;
    font-family: inherit; transition: var(--transition); text-align: center; text-decoration: none;
}
.profile-sidebar-btn:hover { background: var(--primary-dark); transform: translateY(-1px); }

.profile-content h2 { font-size: 24px; font-weight: 700; margin-bottom: 20px; padding-left: 16px; border-left: 4px solid var(--primary); }
.profile-content p { color: var(--text-light); line-height: 1.9; margin-bottom: 16px; font-size: 15px; }

.profile-section { margin-bottom: 48px; }
.profile-section-card {
    background: #fff; border-radius: var(--radius); border: 1px solid var(--border);
    padding: 28px; transition: var(--transition);
}
.profile-section-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.06); }

.tag-list { display: flex; gap: 10px; flex-wrap: wrap; }
.tag-item { padding: 8px 20px; background: var(--primary-lighter); color: var(--primary); border-radius: 8px; font-size: 14px; font-weight: 500; }

.schedule-table { width: 100%; border-collapse: collapse; }
.schedule-table th, .schedule-table td { padding: 14px 20px; text-align: center; border-bottom: 1px solid var(--border); font-size: 14px; }
.schedule-table th { background: var(--primary-lighter); color: var(--primary); font-weight: 600; }
.schedule-table td.available { color: var(--success); font-weight: 600; }
.schedule-table td.unavailable { color: var(--text-lighter); }

.edu-item { display: flex; gap: 16px; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.edu-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.edu-dot { width: 12px; height: 12px; background: var(--primary); border-radius: 50%; margin-top: 6px; flex-shrink: 0; }
.edu-content h4 { font-size: 15px; font-weight: 600; margin-bottom: 2px; }
.edu-content p { font-size: 13px; color: var(--text-light); margin: 0; }

.social-title-list { list-style: none; margin-top: 16px; }
.social-title-list li { padding: 8px 0; font-size: 14px; color: var(--text-light); padding-left: 20px; position: relative; }
.social-title-list li::before { content: '.'; position: absolute; left: 0; color: var(--primary); font-weight: bold; }

.not-found { text-align: center; padding: 100px 24px; }
.not-found h2 { font-size: 28px; margin-bottom: 16px; }
.not-found p { color: var(--text-light); margin-bottom: 24px; }

@media (max-width: 900px) {
    .profile-layout { grid-template-columns: 1fr; }
    .profile-sidebar { position: static; }
}
