@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;700;800&family=Space+Grotesk:wght@500;700&display=swap');

:root {
    --rb-bg: #f5f7fb;
    --rb-surface: #ffffff;
    --rb-text: #18213a;
    --rb-muted: #5f6a81;
    --rb-primary: #2b63ff;
    --rb-primary-dark: #1948d4;
    --rb-secondary: #f5a524;
}


/* Student workspace */
body.rb-student-shell {
    --rb-student-sidebar: 232px;
    min-height: 100vh;
    margin-bottom: 0;
    padding: 0;
    background: radial-gradient(circle at 88% 6%, rgba(83,165,231,.12), transparent 22%), #f2f7fa;
}
body.rb-student-shell > .rb-navbar,
body.rb-student-shell > .rb-footer { display: none !important; }
body.rb-student-shell .rb-student-container { min-height: 100vh; padding: 0; }
body.rb-student-shell .rb-student-container > .row { margin: 0; }
body.rb-student-shell .container > .row > .col-md-4 { position: static; width: 0; min-height: 0; padding: 0; }

.rb-student-sidebar {
    position: fixed; z-index: 1040; inset: 0 auto 0 0;
    display: flex; flex-direction: column; width: var(--rb-student-sidebar);
    color: #a8bfd1; background: #031f30; box-shadow: 1px 0 0 rgba(255,255,255,.05);
}
.rb-student-brand {
    display: flex; align-items: center; height: 66px; padding: 13px 20px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.rb-student-brand img { display: block; width: auto; max-width: 180px; max-height: 39px; }
.rb-student-sidebar-scroll {
    flex: 1 1 auto; min-height: 0; padding: 14px 10px 18px;
    overflow-y: auto; scrollbar-width: none;
}
.rb-student-sidebar-scroll::-webkit-scrollbar { display: none; }
.rb-student-nav-section + .rb-student-nav-section { margin-top: 12px; }
.rb-student-nav-title {
    margin: 9px 10px 7px; color: #6f9ab8; font-size: 10px; font-weight: 700;
    letter-spacing: .11em; text-transform: uppercase;
}
.rb-student-nav { display: grid; gap: 3px; }
.rb-student-nav > a,
.rb-student-nav > .is-locked {
    display: flex; align-items: center; gap: 10px; min-height: 39px; padding: 8px 10px;
    color: #aac1d4; border-radius: 8px; font-size: 13px; line-height: 1.3; text-decoration: none;
}
.rb-student-nav > a:hover,
.rb-student-nav > a:focus,
.rb-student-nav > a.active { color: #fff; background: #123a58; text-decoration: none; }
.rb-student-nav > a.active { box-shadow: inset 3px 0 0 #409fff; }
.rb-student-nav .fa { width: 16px; color: #82b8e8; text-align: center; }
.rb-student-nav .is-locked { opacity: .52; }
.rb-lesson-number {
    display: inline-flex; align-items: center; justify-content: center; flex: 0 0 22px;
    width: 22px; height: 22px; color: #83bce9; background: rgba(126,184,232,.1);
    border-radius: 6px; font-size: 11px;
}
.rb-student-back {
    display: inline-flex; align-items: center; gap: 7px; margin: 0 8px 13px;
    color: #76a8cc; font-size: 12px;
}
.rb-student-back:hover { color: #fff; text-decoration: none; }
.rb-student-school-heading {
    display: flex; align-items: center; gap: 10px; padding: 0 8px 10px;
    color: #fff; font-size: 14px; line-height: 1.35;
}
.rb-student-school-mark {
    display: inline-flex; align-items: center; justify-content: center; flex: 0 0 32px;
    width: 32px; height: 32px; color: #82c5ff; background: #0d344e; border-radius: 9px;
}
.rb-student-course-heading {
    padding: 0 9px 10px; color: #fff; font-family: 'Space Grotesk','Manrope',sans-serif;
    font-size: 16px; font-weight: 700; line-height: 1.3;
}
.rb-materials-title { margin-top: 18px; }
.rb-student-profile {
    display: flex; align-items: center; gap: 9px; margin: 8px 10px 10px; padding: 9px;
    color: #fff; background: #0b2b3f; border: 1px solid rgba(149,195,228,.16);
    border-radius: 11px; text-decoration: none;
}
.rb-student-profile:hover,.rb-student-profile:focus {
    color: #fff; background: #113a54; text-decoration: none;
}
.rb-student-profile img { width: 36px; height: 36px; object-fit: cover; border-radius: 50%; }
.rb-student-profile > span:nth-child(2) { min-width: 0; flex: 1 1 auto; }
.rb-student-profile strong,.rb-student-profile small {
    display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.rb-student-profile strong { font-size: 12px; }
.rb-student-profile small { margin-top: 2px; color: #73b7e8; font-size: 10px; }

body.rb-student-shell .container > .row > .col-md-8,
body.rb-student-shell .rb-student-main {
    width: auto; min-height: 100vh; margin-left: var(--rb-student-sidebar);
    padding: 34px 38px 48px; float: none;
}
.rb-student-page-header { margin: 0 0 20px; }
.rb-student-page-header .rb-student-eyebrow {
    display: block; margin-bottom: 5px; color: #2689d4; font-size: 11px;
    font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
}
.rb-student-page-header h1 { margin: 0; color: #10283d; font-size: 28px; line-height: 1.2; }
.rb-student-page-header p { margin: 6px 0 0; color: #708294; font-size: 14px; }
.rb-course-grid {
    display: grid; grid-template-columns: repeat(auto-fill,minmax(220px,1fr));
    gap: 16px; max-width: 1180px;
}
.rb-course-card {
    display: flex; flex-direction: column; min-width: 0; overflow: hidden; color: #10283d;
    background: #fff; border: 1px solid #e1ebf2; border-radius: 14px;
    box-shadow: 0 8px 24px rgba(35,76,108,.07); text-decoration: none;
    transition: transform .16s ease,box-shadow .16s ease;
}
.rb-course-card:hover,.rb-course-card:focus {
    color: #10283d; box-shadow: 0 13px 32px rgba(35,76,108,.13);
    transform: translateY(-2px); text-decoration: none;
}
.rb-course-cover { display: block; height: 170px; overflow: hidden; background: #e7eef3; }
.rb-course-cover img { width: 100%; height: 100%; object-fit: cover; }
.rb-course-info { display: flex; flex: 1 1 auto; flex-direction: column; padding: 14px 15px 15px; }
.rb-course-info small { color: #70879a; font-size: 10px; letter-spacing: .05em; text-transform: uppercase; }
.rb-course-info strong { margin: 5px 0 14px; font-size: 15px; line-height: 1.35; }
.rb-course-info > span { margin-top: auto; color: #2589d5; font-size: 12px; font-weight: 700; }
.rb-course-info .fa { margin-left: 4px; }

.rb-student-content-card,
body.rb-student-shell .card.mb-4 {
    max-width: 1050px; padding: 24px 26px; background: #fff; border: 1px solid #e1ebf2;
    border-radius: 14px; box-shadow: 0 8px 24px rgba(35,76,108,.07);
}
body.rb-student-shell #page-front-content,
body.rb-student-shell ul#page-master-blocks,
body.rb-student-shell ul#page-lesson-homeworks > li,
body.rb-student-shell div#hm-edit-comment,
body.rb-student-shell div.pm-message {
    max-width: none; min-height: 0; margin: 0; padding: 0; border: 0; box-shadow: none;
}
body.rb-student-shell ul#page-master-blocks { padding: 0; }
.rb-student-empty {
    max-width: 560px; padding: 46px 30px; color: #728495; background: #fff;
    border: 1px solid #e1ebf2; border-radius: 14px; text-align: center;
}
.rb-student-empty > .fa { color: #4c9dde; font-size: 30px; }
.rb-student-empty h2 { margin: 12px 0 5px; color: #183249; font-size: 20px; }

@media (max-width: 760px) {
    body.rb-student-shell { --rb-student-sidebar: 100%; padding-top: 64px; }
    .rb-student-sidebar {
        bottom: auto; width: 100%; height: 64px; flex-direction: row; overflow: visible;
    }
    .rb-student-brand { width: 156px; height: 64px; padding: 12px 15px; border-bottom: 0; }
    .rb-student-sidebar-scroll { display: none; }
    .rb-student-profile { margin: 8px 10px 8px auto; padding: 5px; border: 0; }
    .rb-student-profile > span,.rb-student-profile > .fa { display: none; }
    body.rb-student-shell .container > .row > .col-md-8,
    body.rb-student-shell .rb-student-main {
        min-height: calc(100vh - 64px); margin-left: 0; padding: 22px 16px 36px;
    }
    .rb-course-grid { grid-template-columns: 1fr; }
    .rb-course-card { flex-direction: row; }
    .rb-course-cover { flex: 0 0 112px; width: 112px; height: 132px; }
    .rb-student-content-card,body.rb-student-shell .card.mb-4 { padding: 18px; }
}


.navbar {
    margin-bottom: 0;
}

.navbar-brand {
    height: 52px;
}

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--rb-text);
    background: linear-gradient(180deg, #f8fbff 0%, var(--rb-bg) 100%);
    margin: 0 !important;
    padding-top: 74px;
}

.container {
    width: 100%;
}

h1,
h2,
h3,
.navbar-brand,
.brand-name {
    font-family: 'Space Grotesk', 'Manrope', sans-serif;
}

.rb-navbar {
    background: rgba(14, 24, 52, 0.92);
    border: 0;
    box-shadow: 0 8px 24px rgba(10, 22, 54, 0.2);
    backdrop-filter: blur(6px);
}

.rb-nav-wrap {
    max-width: 1220px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 8px 18px;
}

.rb-navbar .navbar-nav > li > a {
    color: #fff;
    font-weight: 500;
    transition: all 0.2s ease;
}

.rb-navbar .navbar-nav > li > a:hover,
.rb-navbar .navbar-nav > .open > a,
.rb-navbar .navbar-nav > .active > a {
    color: #dce7ff;
}

.rb-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    margin-top: 0;
    padding: 6px 10px !important;
}

.rb-brand img {
    max-height: 34px;
    width: auto;
}

.rb-brand .brand-name {
    color: #fff;
    font-size: 20px;
    letter-spacing: 0.2px;
}

.rb-nav-cta {
    display: inline-block;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 8px 14px;
    border-radius: 999px;
    margin-left: 15px;
    margin-top: 10px;
    margin-bottom: 8px;
    transition: all 0.2s ease;
}

.rb-nav-cta:hover {
    background: var(--rb-secondary);
    border-color: var(--rb-secondary);
    text-decoration: none;
}

.rb-hero {
    min-height: calc(100vh - 74px);
    display: flex;
    align-items: center;
    background-image:
        radial-gradient(65% 45% at 8% 10%, rgba(255,255,255,0.22), transparent 60%),
        linear-gradient(135deg, #0d2047 0%, #2c3f6a 55%, #1b3e85 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.rb-hero::after {
    content: "";
    position: absolute;
    right: -140px;
    top: 18%;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 165, 36, 0.26), transparent 70%);
}

.rb-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 760px;
    padding: 58px 0;
}

.rb-hero .rb-hero-content h1 {
    margin: 10px 0 16px;
    font-size: clamp(34px, 5.4vw, 56px);
    line-height: 1.1;
}

.rb-kicker {
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #d7e3ff;
    margin: 0;
}

.rb-hero p {
    color: #c8d5f0;
    font-size: 18px;
    max-width: 640px;
}

.rb-hero-stats {
    display: flex;
    gap: 28px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.rb-hero-stats div {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    padding: 12px 16px;
    backdrop-filter: blur(3px);
}

.rb-hero-stats span {
    display: block;
    font-size: 26px;
    font-weight: 700;
    color: #fff;
}

.rb-hero-actions {
    margin-top: 24px;
}

.rb-btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 999px;
    border: 1px solid transparent;
    text-decoration: none;
    font-weight: 700;
    margin-right: 10px;
    transition: all 0.2s ease;
}

.rb-btn-primary {
    background: var(--rb-secondary);
    color: #1c263f;
}

.rb-btn-primary:hover {
    transform: translateY(-1px);
    color: #1c263f;
    background: #ffd15c;
}

.rb-btn-ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.45);
}

.rb-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.rb-highlight {
    padding: 74px 0;
}

.rb-highlight .container {
    max-width: 1080px;
}

.rb-highlight h2 {
    font-size: 36px;
    margin-bottom: 12px;
}

.rb-highlight p {
    color: var(--rb-muted);
}

.rb-grid {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.rb-feature {
    background: var(--rb-surface);
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 16px 34px rgba(18, 40, 82, 0.12);
    border: 1px solid #e3e8f7;
}

.rb-feature .fa {
    font-size: 30px;
    color: var(--rb-primary);
    margin-bottom: 12px;
}

.rb-feature h3 {
    margin-top: 0;
}

.rb-feature p {
    margin-bottom: 0;
}

.rb-footer {
    background: #101a30;
    color: #dce3f6;
    padding: 46px 0;
}

.rb-footer a {
    color: #dce3f6;
}

.rb-footer-block {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.rb-footer-brand {
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 18px;
    color: #fff;
}

.rb-footer-brand img {
    max-height: 34px;
    width: auto;
}

.rb-footer-links {
    margin: 14px 0 16px;
}

.rb-footer-links a {
    margin-right: 15px;
}

.rb-footer-bottom {
    color: #8ea0c6;
    font-size: 13px;
    margin-top: 8px;
}

@media (max-width: 960px) {
    .rb-nav-wrap {
        flex-wrap: wrap;
    }

    .rb-nav-cta {
        margin-top: 8px;
        margin-left: 0;
    }

    .rb-hero-stats {
        gap: 12px;
    }

    .rb-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    body {
        padding-top: 67px;
    }

    .rb-hero {
        min-height: auto;
        padding-bottom: 40px;
    }

    .rb-hero-inner {
        padding: 36px 0;
    }

    .rb-hero-actions .rb-btn {
        display: block;
        text-align: center;
        margin: 0 0 10px;
    }

    .rb-hero-stats {
        display: grid;
        grid-template-columns: 1fr;
    }
}

/* Responsive Video Container
-------------------------------------------------- */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0; 
    overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Hidden Element
-------------------------------------------------- */
.hidden{display:none;}

/* Recaptcha
-------------------------------------------------- */
#recaptcha {
    width: 304px;
    margin: 0 auto;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}
body {
    /* Margin bottom by footer height */
    margin-bottom: 100px;
}
.box > .icon {
    text-align: center;
    position: relative;
}
.box > .icon > .image {
    position: relative;
    z-index: 2;
    margin: auto;
    width: 88px;
    height: 88px;
    border: 8px solid white;
    line-height: 88px;
    border-radius: 50%;
    vertical-align: middle;
}
.box > .icon:hover > .image {
    background: #333;
}
.box > .icon > .image > i {
    font-size: 36px !important;
    color: #fff !important;
}
.box > .icon:hover > .image > i {
    color: white !important;
}
.box > .icon > .info {
    margin-top: -24px;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid #e0e0e0;
    padding: 15px 0 10px 0;
    min-height: 163px;
}
.box > .icon:hover > .info {
    background: rgba(0, 0, 0, 0.04);
    border-color: #e0e0e0;
    color: white;
}
.box > .icon > .info > h3.title {
    font-size: 16px;
    color: #222;
    font-weight: 700;
}
.box > .icon > .info > p {
    font-size: 13px;
    color: #666;
    line-height: 1.5em;
    margin: 20px;
}
.box > .icon:hover > .info > h3.title,
.box > .icon:hover > .info > p,
.box > .icon:hover > .info > .more > a {
    color: #222;
}
.box > .icon > .info > .more a {
    font-size: 12px;
    color: #222;
    line-height: 12px;
    text-transform: uppercase;
    text-decoration: none;
}
.box > .icon:hover > .info > .more > a {
    color: #fff;
    padding: 6px 8px;
    background-color: #63B76C;
}
.box .space {
    height: 30px;
}

/* Floating Labels
/* https://github.com/fauxparse/bootstrap-floating-labels
-------------------------------------------------- */
.floating-label-form-group input,
.floating-label-form-group textarea {
    border: none;
    border-bottom: 3px solid;
    box-shadow: none;
    -webkit-box-shadow: none;
    background-color: transparent;
}

.floating-label-form-group input:focus,
.floating-label-form-group textarea:focus {
    box-shadow: none;
    -webkit-box-shadow: none;
    background-color: transparent;
}

.floating-label-form-group label {
    position: relative;
    top: 2em;
    opacity: 0;
    z-index: 0;
    margin: 0;
    -webkit-transition: top 0.5s ease, opacity 0.5s ease;
    -moz-transition: top 0.5s ease, opacity 0.5s ease;
    -ms-transition: top 0.5s ease, opacity 0.5s ease;
    transition: top 0.5s ease, opacity 0.5s ease;
}

.floating-label-form-group-with-value label {
    top: 0;
    opacity: 1;
}

form .row:first-child .floating-label-form-group {
}

input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
    -webkit-appearance: none; 
    margin: 0; 
}



/*
    Плитка на главной
*/
.plitka {
    flex-wrap: wrap;
    width: 100%;
    flex-direction: row;
    justify-content: space-evenly;
    display: flex;
}
.plitka-item {
    width: 33%;
    flex-grow: 0;
    position: relative;
}
.plitka-item ul.post {
    display: flex;
    flex-direction: column;
    list-style: none;
    margin: 0px;
    padding: 5px;
}

.plitka-item ul.post li {
    margin: 4px 0px;
}


.plitka-item .post .post-title h3 {
    margin-bottom: 0px;
    margin-top: 4px;
    font-size: 19px;
}
.plitka-item .post .post-title h3 a {
    font-weight: 400;
    color: black;
}
.plitka-item ul.post li.post-title h4 {
    margin-bottom: 0px;
}
.plitka-item .post .post-title h5 {
    margin-bottom: 0px;
    margin-top: 0px;
}
.hint-text-height {
    max-height: 50px;
    overflow: hidden;
}
.plitka-item ul.post li.post-img {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    background: #333333;
    border: 7px solid #ffffff;
    overflow: hidden;
    position: relative;
}
.plitka-item ul.post li.post-img img {
    width: 100%;
    height: auto;

}


.plitka-item ul.post li.schedule  {
    margin: 2px 0px;
    display: flex;
    flex-direction: row;
    justify-content: left;
    width: 100%;
    flex-wrap: wrap;    
}
.plitka-item ul.post li.schedule div {
    white-space: nowrap;
    margin: 1px;
    padding: 0px 4px;
    border-radius: 2px;
}
.plitka-item ul.post .post-img div.post-category  {
    position: absolute;
    top: 0px;
}
.plitka-item ul.post .post-img div.post-category a {
    font-size: 13px;
    text-transform: uppercase;
    padding: 3px 10px;
    font-weight: 600;
    border-radius: 2px;
    margin-right: 15px;
    color: #FFF;
    -webkit-transition: 0.2s opacity;
    transition: 0.2s opacity;
    background-color: #4BB92F;
}
.plitka-item .schedule {
    line-height: 28px;
}
.plitka-item .schedule .post-date {
    margin: 0px 5px 0px 0px;
}
.plitka-item .schedule .post-desc {
}

.home-section-title h2 {
    font-weight: bold;
}
.home-room-categories li{
    padding-bottom: 5px;
}



ul#front-menu-lessons {

}
ul#front-menu-lessons>li {

}
ul#front-menu-lessons>li>a {

}
ul#front-menu-lessons>li>a.active {
    font-weight: bold;
}

#page-master-container {
    padding: 0px 15px 15px 15px;
}


ul#page-master-blocks, 
ul#page-lesson-homeworks>li, 
div#page-front-content,
div#hm-edit-comment,
div.pm-message
{
    overflow: hidden;
    list-style: none;
    padding: 5px 15px;
    width: 100%;
    min-height: 250px;
    /*border-top: 2px solid #ccc;*/
    /*border-bottom: 2px solid #ccc;*/

    border-top: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-left: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    max-width: 750px;
    margin: 0 auto;
    box-shadow: 3px 3px 3px #ccc;

}

ul#page-lesson-homeworks>li .comment-images img {
    max-width: 100%;
}

div.pm-message {
    margin-bottom: 10px;
    min-height: 100px;
}
div.pm-message hr {
    margin: 5px 0px;
}

ul#page-lesson-homeworks {
    margin-top: 15px;
    padding: 0px;
} 
ul#page-lesson-homeworks>li {
    min-height: 150px;
    margin: 7px 0px;
}
ul#page-master-blocks>li {
    display: block;
    width: 100%;
    padding: 0px 7px;
    margin: 7px 0px;
}

.lesson-master-image-preview, .lesson-master-video-preview {
    text-align: center;
}
.lesson-master-image-preview img {
    max-width: 100%;

}

.lesson-master-video-preview {
}
.lesson-master-video-preview iframe {
    width: 100%;
    max-width: 750px;
    height: 400px;
}

.block-image-input-preview-container {
    position: relative;
    width: fit-content;
    margin: 0 auto;
}

.navbar {
    min-height: 46px;
}
.navbar-nav>li>a {
    padding-top: 12.5px;
    padding-bottom: 12.5px;
}
}


@media (max-width: 1280px){
    .plitka-item {
        width: 50%;
    }
}
@media (max-width: 800px){
    .plitka-item {
        width: 100%;
    }
}
@media (max-width: 480px){
    .plitka-item {
        width: 100%;
    }
}

/* 2026-08-21: compact profile shell */
body.rb-profile-shell {
    min-height: 100vh;
    background: radial-gradient(circle at 88% 4%, rgba(74, 169, 232, .10), transparent 26%), #eef5f9;
}

body.rb-profile-shell .rb-navbar,
body.rb-profile-shell .navbar,
body.rb-profile-shell .rb-footer,
body.rb-profile-shell footer {
    display: none !important;
}

body.rb-profile-shell .rb-profile-sidebar {
    position: fixed;
    z-index: 1100;
    inset: 0 auto 0 0;
    display: flex;
    width: 232px;
    flex-direction: column;
    padding: 0 12px 14px;
    color: #a9c9dc;
    background: #032235;
}

body.rb-profile-shell .rb-profile-brand {
    display: block;
    margin: 0 -12px 18px;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255,255,255,.10);
    color: #fff;
    font: 700 25px/34px Georgia, serif;
    text-decoration: none;
}

body.rb-profile-shell .rb-profile-nav {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

body.rb-profile-shell .rb-profile-nav a,
body.rb-profile-shell .rb-profile-logout {
    display: flex;
    min-height: 38px;
    align-items: center;
    gap: 11px;
    padding: 8px 12px;
    border-radius: 9px;
    color: #a9c9dc;
    text-decoration: none;
}

body.rb-profile-shell .rb-profile-nav a:hover,
body.rb-profile-shell .rb-profile-nav a.active,
body.rb-profile-shell .rb-profile-logout:hover {
    color: #fff;
    background: #123a52;
}

body.rb-profile-shell .rb-profile-nav i,
body.rb-profile-shell .rb-profile-logout i {
    width: 18px;
    color: #7bc3f2;
    text-align: center;
}

body.rb-profile-shell .rb-profile-logout {
    margin-top: auto;
    border: 1px solid rgba(148, 203, 238, .18);
}

body.rb-profile-shell > .container {
    width: auto !important;
    max-width: none !important;
    min-height: 100vh;
    margin: 0 0 0 232px !important;
    padding: 20px 24px 28px !important;
}

body.rb-profile-shell .ui-67 {
    max-width: 1180px;
    margin: 0 auto !important;
}

body.rb-profile-shell .ui-67 .ui-head {
    position: relative;
    display: flex;
    min-height: 104px !important;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px !important;
    border: 0 !important;
    border-radius: 14px;
    background: #fff !important;
    box-shadow: 0 10px 30px rgba(13, 51, 78, .07);
    text-align: left !important;
}

body.rb-profile-shell .ui-67 .ui-head .ui-details {
    position: static !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
}

body.rb-profile-shell .ui-67 .ui-head h3 {
    margin: 0 0 4px !important;
    color: #102f49;
    font-size: 25px !important;
    font-weight: 700;
}

body.rb-profile-shell .ui-67 .ui-head h4 {
    margin: 0 !important;
    color: #71869a;
    font-size: 14px !important;
    font-weight: 400;
}

body.rb-profile-shell .ui-67 .ui-head .ui-image {
    position: static !important;
    width: 70px !important;
    height: 70px !important;
    margin: 0 !important;
}

body.rb-profile-shell .ui-67 .ui-head .ui-image img {
    position: static !important;
    width: 70px !important;
    height: 70px !important;
    margin: 0 !important;
    border: 3px solid #fff !important;
    border-radius: 50% !important;
    object-fit: cover;
    box-shadow: 0 7px 20px rgba(8, 43, 68, .14);
}

body.rb-profile-shell .ui-67 .ui-content {
    margin-top: 14px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

body.rb-profile-shell .ui-67 .ui-content > .row {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
    gap: 14px;
    margin: 0 !important;
}

body.rb-profile-shell .ui-67 .ui-content > .row > [class*="col-"] {
    width: auto !important;
    float: none !important;
    margin: 0 !important;
    padding: 18px !important;
    border: 0 !important;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(13, 51, 78, .06);
}

body.rb-profile-shell .ui-67 h2,
body.rb-profile-shell .ui-67 h3 {
    margin-top: 0 !important;
    color: #102f49;
}

body.rb-profile-shell .ui-67 .form-group {
    margin-bottom: 11px !important;
}

body.rb-profile-shell .ui-67 label {
    margin-bottom: 5px;
    color: #536b7f;
    font-size: 13px;
}

body.rb-profile-shell .ui-67 .form-control {
    height: 40px;
    padding: 8px 12px;
    border: 1px solid #d9e5ed;
    border-radius: 9px;
    background: #f8fbfd;
    box-shadow: none;
}

body.rb-profile-shell .ui-67 textarea.form-control {
    height: 94px;
}

body.rb-profile-shell .ui-67 .btn,
body.rb-profile-shell .ui-67 a.btn {
    min-height: 38px;
    padding: 8px 14px;
    border: 0;
    border-radius: 9px;
    box-shadow: none;
}

body.rb-profile-shell .ui-67 .btn-warning { background: #168fe7; color: #fff; }
body.rb-profile-shell .ui-67 .btn-success { background: #0f7b66; color: #fff; }

body.rb-profile-shell .ui-67 .btn-block,
body.rb-profile-shell .ui-67 .list-group-item {
    margin-bottom: 6px;
    border: 0 !important;
    border-radius: 9px !important;
    background: #f1f7fb !important;
    color: #18577f !important;
}

@media (max-width: 767px) {
    body.rb-profile-shell .rb-profile-sidebar {
        position: static;
        width: 100%;
        min-height: 0;
        padding-bottom: 10px;
    }
    body.rb-profile-shell .rb-profile-brand { margin-bottom: 8px; }
    body.rb-profile-shell .rb-profile-nav { flex-direction: row; overflow-x: auto; }
    body.rb-profile-shell .rb-profile-logout { margin-top: 8px; }
    body.rb-profile-shell > .container { margin-left: 0 !important; padding: 12px !important; }
    body.rb-profile-shell .ui-67 .ui-content > .row { grid-template-columns: 1fr; }
}


/* 2026-08-21 compact shared student/profile workspace. */
body.rb-student-shell .rb-student-main { padding: 18px 22px 24px !important; }
body.rb-student-shell .rb-student-header,
body.rb-student-shell .rb-student-card { border-radius: 14px !important; }
body.rb-student-shell .rb-student-card { padding: 16px !important; }
body.rb-student-shell .rb-course-grid { gap: 14px !important; }
body.rb-student-shell .rb-student-sidebar a {
    min-height: 38px !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}
