/* MentorUs profile page styles. Loaded only on the User Profile page. */
.ms-profile {
    color: #202938;
    font-family: inherit;
}
header.ms-profile__header {
    position: relative;
    top: 0;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #f8fafc;
    margin-bottom: 20px;
    width: 100%;
}
.ms-profile__photo-wrap { flex: 0 0 112px; }
.ms-profile__photo {
    display: block;
    width: 112px;
    height: 112px;
    border-radius: 50%;
    object-fit: cover;
    background: #e2e8f0;
}
.ms-profile__photo--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    font-size: 2.5rem;
    font-weight: 600;
}
.ms-profile__eyebrow { margin: 0 0 .35rem; color: #64748b; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
.ms-profile__identity h1 { margin: 0 0 .65rem; }
.ms-profile__role { display: inline-block; padding: .3rem .7rem; border-radius: 999px; background: #dbeafe; color: #1e40af; font-size: .9rem; font-weight: 600; }
.ms-profile__section { margin-top: 1.5rem; padding: 1.5rem; border: 1px solid #e2e8f0; border-radius: 16px; }
.ms-profile__section h2 { margin-top: 0; }
.ms-profile__details { margin: 0; }
.ms-profile__details > div { display: grid; grid-template-columns: minmax(150px, 1fr) 2fr; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid #edf2f7; }
.ms-profile__details > div:last-child { border-bottom: 0; }
.ms-profile__details dt { color: #64748b; font-weight: 600; }
.ms-profile__details dd { margin: 0; overflow-wrap: anywhere; }
.ms-profile__muted, .ms-profile__hint, .ms-profile__help { color: #64748b; }
.ms-profile__hint { margin-top: .25rem; }
.ms-profile__form { display: grid; gap: 1.25rem; }
.ms-profile__field { display: grid; gap: .45rem; }
.ms-profile__field label { font-weight: 600; }
.ms-profile__field input[type="text"], .ms-profile__field input[type="file"], .ms-profile__field select, .ms-profile__field textarea {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    padding: .75rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #fff;
    color: #202938;
    font: inherit;
    line-height: 14px;
}
.ms-profile__field textarea { resize: vertical; }
.ms-profile__help { margin: 0; font-size: .9rem; }
.ms-profile__save { justify-self: start; padding: .75rem 1.25rem; border: 0; border-radius: 8px; background: #1d4ed8; color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.ms-profile__save:hover { background: #1e40af; }
.ms-profile__notice { padding: .85rem 1rem; border-radius: 8px; background: #eff6ff; color: #1e40af; }
@media (max-width: 600px) {
    .ms-profile__header { align-items: flex-start; gap: 1rem; padding: 1rem; }
    .ms-profile__photo-wrap { flex-basis: 76px; }
    .ms-profile__photo { width: 76px; height: 76px; }
    .ms-profile__section { padding: 1rem; }
    .ms-profile__details > div { grid-template-columns: 1fr; gap: .3rem; }
}
