/* Student area theme and shared footer */
body.tx-student {
    background: #f4f7fb;
}

body.tx-student .header-menu-area {
    display: none !important;
}

.rm-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: #071833;
}

.rm-header-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    position: relative;
}

.rm-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-family: "Segoe UI", sans-serif;
    font-weight: 800;
    font-size: 18px;
    text-decoration: none;
}

.rm-brand img {
    height: 46px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    background: #fff;
    border-radius: 8px;
    padding: 3px;
}

.rm-nav {
    display: flex;
    align-items: center;
    gap: 16px;
}

.rm-nav a {
    color: #e8eef8;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    padding: 8px 0;
}

.rm-nav a.is-active {
    color: #f97316;
    box-shadow: inset 0 -2px 0 #f97316;
}

.rm-login {
    background: #f97316;
    color: #fff !important;
    border-radius: 999px;
    padding: 8px 16px !important;
    box-shadow: none !important;
}

.rm-nav-toggle {
    display: none;
}

.rm-burger {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.rm-burger span,
.rm-burger span::before,
.rm-burger span::after {
    display: block;
    width: 18px;
    height: 2px;
    background: #fff;
    position: relative;
}

.rm-burger span::before,
.rm-burger span::after {
    content: "";
    position: absolute;
    left: 0;
}

.rm-burger span::before { top: -6px; }
.rm-burger span::after { top: 6px; }

.rm-footer {
    background: #061e32;
    color: #c5d4df;
    padding: 42px 0 18px;
    margin-top: 24px;
    font-family: "Segoe UI", sans-serif;
}

.rm-footer-wrap {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.rm-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 0.7fr;
    gap: 36px;
}

.rm-footer-brand img {
    max-width: 340px;
    width: 100%;
    height: auto;
    mix-blend-mode: screen;
}

.rm-footer h3 {
    color: #fff;
    font-size: 18px;
    margin: 0 0 16px;
}

.rm-footer p,
.rm-footer a,
.rm-footer li {
    color: #c5d4df;
    font-size: 14px;
    line-height: 1.6;
}

.rm-footer p {
    margin: 8px 0 0;
}

.rm-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.rm-footer-contact li,
.rm-footer-links li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 12px;
}

.rm-footer-contact i {
    color: #f97316;
    width: 16px;
    margin-top: 3px;
}

.rm-footer a:hover {
    color: #fff;
}

.rm-footer-legal {
    margin-top: 22px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    font-size: 13px;
    color: #91aabd;
}

.rm-footer-legal nav {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.rm-footer-legal a {
    color: #d5e2ee;
    font-size: 13px;
}

body.tx-student .dashboard-nav-trigger-btn {
    background: #f97316;
}

body.tx-student .dashboard-sidebar .dashboard-nav-container .side-menu-ul .sidenav__item.page-active {
    border-left-color: #f97316;
}

body.tx-student section.sign-up {
    background: #f4f7fb;
}

body.tx-student #loginBtn,
body.tx-student .sign-up .btn-primary {
    background: #f97316;
    border-color: #f97316;
}

@media (max-width: 900px) {
    .rm-burger { display: flex; }
    .rm-nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 74px;
        background: #071833;
        flex-direction: column;
        align-items: flex-start;
        padding: 12px 20px 18px;
        gap: 6px;
    }
    .rm-nav-toggle:checked ~ .rm-nav { display: flex; }
    .rm-footer-grid,
    .rm-footer-legal {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: flex-start;
    }
}
