/* Tutor Portal student-facing hardening and responsive avatar fixes. */
.tpc-curriculum-lock-badge{
    display:inline-flex!important;align-items:center!important;gap:5px!important;
    flex:0 0 auto!important;margin-inline-start:10px!important;padding:4px 9px!important;
    border:1px solid #fecaca!important;border-radius:999px!important;background:#fff1f2!important;
    color:#be123c!important;font-family:'Hind Siliguri',sans-serif!important;font-size:12px!important;
    font-weight:700!important;line-height:1.2!important;white-space:nowrap!important;vertical-align:middle!important;
}
.tpc-curriculum-lock-badge .tpc-lock-glyph{font-size:12px!important;line-height:1!important}
.tpc-lesson-is-locked{position:relative!important}
.tpc-lesson-is-locked a[data-tpc-locked="1"]{color:#64748b!important}

/* Prevent Tutor/theme CSS from stretching uploaded student avatars. */
.tutor-dashboard-header-avatar,
.tutor-dashboard .tutor-dashboard-header-avatar,
.tutor-wrap .tutor-dashboard-header-avatar{
    width:96px!important;height:96px!important;min-width:96px!important;max-width:96px!important;
    min-height:96px!important;max-height:96px!important;margin:0!important;padding:0!important;
    position:relative!important;inset:auto!important;transform:none!important;overflow:hidden!important;
    border-radius:50%!important;display:block!important;line-height:0!important;
}
.tutor-dashboard-header-avatar img,
.tutor-dashboard .tutor-dashboard-header-avatar img,
.tutor-wrap .tutor-dashboard-header-avatar img,
.tutor-avatar img,
.tutor-user-public-profile .tutor-avatar img{
    display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;
    margin:0!important;padding:0!important;position:static!important;inset:auto!important;transform:none!important;
    object-fit:cover!important;object-position:center!important;border-radius:inherit!important;vertical-align:middle!important;
}
.tutor-avatar-sm{width:40px!important;height:40px!important;min-width:40px!important}
.tutor-avatar-md{width:64px!important;height:64px!important;min-width:64px!important}
.tutor-avatar-lg{width:96px!important;height:96px!important;min-width:96px!important}
.tutor-avatar-xl{width:120px!important;height:120px!important;min-width:120px!important}

@media(max-width:767px){
    .tpc-curriculum-lock-badge{margin-inline-start:6px!important;padding:3px 7px!important;font-size:11px!important}
    .tutor-dashboard-header-avatar,.tutor-dashboard .tutor-dashboard-header-avatar,.tutor-wrap .tutor-dashboard-header-avatar{
        width:76px!important;height:76px!important;min-width:76px!important;max-width:76px!important;min-height:76px!important;max-height:76px!important;
    }
}

/* v2.5.0 Tutor LMS dashboard and profile-image stabilization */
.tutor-wrap,
.tutor-dashboard,
.tutor-dashboard-content,
.tutor-dashboard-content-inner{box-sizing:border-box;max-width:100%}
.tutor-dashboard .tutor-avatar,
.tutor-wrap .tutor-avatar,
.tutor-dashboard .tutor-avatar-xl,
.tutor-dashboard .tutor-avatar-lg,
.tutor-dashboard .tutor-avatar-md,
.tutor-dashboard .tutor-avatar-sm{
    position:relative!important;inset:auto!important;transform:none!important;overflow:hidden!important;
    padding:0!important;margin-left:0!important;margin-right:0!important;border-radius:999px!important;line-height:0!important;
}
.tutor-dashboard img.avatar,
.tutor-wrap img.avatar,
.tutor-dashboard .tutor-avatar img,
.tutor-wrap .tutor-avatar img,
.tutor-dashboard-header-avatar img{
    display:block!important;position:static!important;inset:auto!important;transform:none!important;
    width:100%!important;height:100%!important;min-width:100%!important;max-width:100%!important;
    min-height:100%!important;max-height:100%!important;margin:0!important;padding:0!important;
    border-radius:inherit!important;object-fit:cover!important;object-position:center!important;
}
.tutor-dashboard .tutor-dashboard-left-menu,
.tutor-dashboard .tutor-dashboard-content{min-width:0!important}
@media(max-width:991px){
    .tutor-dashboard{width:100%!important;max-width:100%!important;padding-left:14px!important;padding-right:14px!important}
    .tutor-dashboard .tutor-dashboard-content{width:100%!important;max-width:100%!important}
}
@media(max-width:575px){
    .tutor-dashboard-header-avatar,.tutor-dashboard .tutor-dashboard-header-avatar,.tutor-wrap .tutor-dashboard-header-avatar{
        width:68px!important;height:68px!important;min-width:68px!important;max-width:68px!important;min-height:68px!important;max-height:68px!important;
    }
}
