/* DataTables top toolbar: keep length, filters, search, export on one baseline */
div.dataTables_wrapper > .row:first-child {
    align-items: center;
}

div.dataTables_wrapper > .row:first-child > [class*="col-"],
div.dataTables_wrapper > .row:first-child > .d-md-flex {
    display: flex !important;
    flex-wrap: nowrap;
    align-items: center !important;
    gap: 0.5rem;
}

div.dataTables_wrapper div.dataTables_filter {
    display: inline-flex !important;
    align-items: center;
    vertical-align: middle;
    float: none !important;
    margin: 0 !important;
    padding: 0;
}

div.dataTables_wrapper div.dataTables_filter label {
    display: inline-flex !important;
    align-items: center;
    margin: 0 !important;
    padding: 0;
    gap: 0.25rem;
    white-space: nowrap;
    line-height: 1.2;
}

div.dataTables_wrapper div.dt-buttons {
    display: inline-flex !important;
    align-items: center;
    vertical-align: middle;
    float: none !important;
    margin: 0 !important;
    gap: 0.35rem;
}

/* Same control height / padding for selects, search, export */
.dataTables_filter input,
.dt-buttons .btn,
#payslipMonthFilter,
.dt-preset-date-filter,
.dt-filter-control {
    height: 30px !important;
    min-height: 30px !important;
    line-height: 1 !important;
    box-sizing: border-box;
    margin: 0 !important;
    vertical-align: middle;
}

#payslipMonthFilter,
.dt-preset-date-filter,
.dt-filter-control,
div.dataTables_wrapper div.dataTables_filter input {
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
    font-size: 0.8125rem;
}


.large-switch {
    width: 10rem;
    height: 1rem;
}

/* Member DataTables: compact rows (match attendance height) */
#student-table.table-sm > :not(caption) > * > *,
#teacher-table.table-sm > :not(caption) > * > *,
#staff-table.table-sm > :not(caption) > * > * {
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
}

#student-table .member-dt-photo,
#teacher-table .member-dt-photo,
#staff-table .member-dt-photo {
    width: 24px !important;
    height: 24px !important;
}

#student-table .hstack,
#teacher-table .hstack,
#staff-table .hstack {
    margin-top: 0 !important;
}

/* Notification / CKEditor description: tables and rich content */
.notification-description {
    word-wrap: break-word;
}
.notification-description table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    border: 1px solid #dee2e6;
    margin: 0.75rem 0;
}
.notification-description th,
.notification-description td {
    border: 1px solid #dee2e6;
    padding: 0.5rem 0.75rem;
    text-align: left;
    vertical-align: top;
}
.notification-description th {
    background-color: #f8f9fa;
    font-weight: 600;
}
.notification-description figure.table {
    overflow-x: auto;
    margin: 0.75rem 0;
}
.notification-description figure.table table {
    margin: 0;
}
.notification-description p {
    margin-bottom: 0.5rem;
}
.notification-description ul,
.notification-description ol {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
}

/* Assignment / CKEditor description: tables and rich content */
.assignment-description {
    word-wrap: break-word;
}
.assignment-description table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    border: 1px solid #dee2e6;
    margin: 0.75rem 0;
}
.assignment-description th,
.assignment-description td {
    border: 1px solid #dee2e6;
    padding: 0.5rem 0.75rem;
    text-align: left;
    vertical-align: top;
}
.assignment-description th {
    background-color: #f8f9fa;
    font-weight: 600;
}
.assignment-description figure.table {
    overflow-x: auto;
    margin: 0.75rem 0;
}
.assignment-description figure.table table {
    margin: 0;
}
.assignment-description p {
    margin-bottom: 0.5rem;
}
.assignment-description ul,
.assignment-description ol {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
}

/* Syllabus / CKEditor description: tables and rich content */
.syllabus-description {
    word-wrap: break-word;
}
.syllabus-description table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    border: 1px solid #dee2e6;
    margin: 0.75rem 0;
}
.syllabus-description th,
.syllabus-description td {
    border: 1px solid #dee2e6;
    padding: 0.5rem 0.75rem;
    text-align: left;
    vertical-align: top;
}
.syllabus-description th {
    background-color: #f8f9fa;
    font-weight: 600;
}
.syllabus-description figure.table {
    overflow-x: auto;
    margin: 0.75rem 0;
}
.syllabus-description figure.table table {
    margin: 0;
}
.syllabus-description p {
    margin-bottom: 0.5rem;
}
.syllabus-description ul,
.syllabus-description ol {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
}

/* Login page: show campus background through a lighter overlay */
.auth-one-bg {
    background-position: center;
    background-size: cover;
}

.auth-one-bg .bg-overlay {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.72), rgba(13, 148, 136, 0.42));
    opacity: 1;
}

/* Modern ERP auth cover: slate + teal (replaces purple/green template look) */
.auth-bg-cover {
    background:
        radial-gradient(ellipse 80% 60% at 12% 88%, rgba(45, 212, 191, 0.28), transparent 55%),
        radial-gradient(ellipse 70% 50% at 88% 12%, rgba(56, 189, 248, 0.22), transparent 50%),
        linear-gradient(145deg, #0f172a 0%, #1e293b 42%, #0f766e 100%) !important;
    background-size: 100% 100%, 100% 100%, 200% 200% !important;
    animation: authErpBgShift 14s ease-in-out infinite;
}

.auth-bg-cover > .bg-overlay {
    opacity: 0.35;
    background-color: transparent;
}

/* Login / register: no body scroll; card centered; form scrolls inside */
html:has(body.auth-lock-scroll),
body.auth-lock-scroll {
    height: 100%;
    overflow: hidden;
}

body.auth-lock-scroll .auth-page-wrapper.auth-bg-cover {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    overflow: hidden;
    margin: 0;
}

body.auth-lock-scroll .auth-page-content {
    padding-top: 0;
    padding-bottom: 0;
    width: 100%;
    max-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.auth-lock-scroll .auth-page-content .container,
body.auth-lock-scroll .auth-page-content .container > .row,
body.auth-lock-scroll .auth-page-content .container > .row > [class*="col-"] {
    width: 100%;
    max-height: 100%;
}

body.auth-lock-scroll .auth-page-content .card {
    margin-bottom: 0;
    max-height: calc(100vh - 1.5rem);
    max-height: calc(100dvh - 1.5rem);
    display: flex;
    flex-direction: column;
}

body.auth-lock-scroll .auth-page-content .card > .row {
    flex: 1 1 auto;
    min-height: 0;
    max-height: 100%;
    width: 100%;
}

/* Desktop: side-by-side; register form column scrolls */
@media (min-width: 992px) {
    body.auth-lock-scroll .auth-page-content .card > .row {
        display: flex;
        flex-wrap: nowrap;
    }

    body.auth-lock-scroll .auth-page-content .card > .row > [class*="col-"] {
        max-height: 100%;
        min-height: 0;
        display: flex;
        flex-direction: column;
    }

    body.auth-lock-scroll .auth-register-form-scroll {
        flex: 1 1 auto;
        min-height: 0;
        max-height: none;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }
}

/* Mobile / tablet */
@media (max-width: 991.98px) {
    body.auth-lock-scroll .auth-page-wrapper.auth-bg-cover {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    body.auth-lock-scroll .auth-page-content {
        height: 100%;
        max-height: calc(100vh - 1.5rem);
        max-height: calc(100dvh - 1.5rem);
        width: 100%;
        padding-left: 0;
        padding-right: 0;
        align-items: center;
        justify-content: center;
    }

    /* Equal left/right gap: drop Bootstrap container side padding asymmetry */
    body.auth-lock-scroll .auth-page-content .container {
        width: 100%;
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
        margin-left: 0;
        margin-right: 0;
    }

    body.auth-lock-scroll .auth-page-content .container > .row {
        margin-left: 0;
        margin-right: 0;
        --bs-gutter-x: 0;
    }

    body.auth-lock-scroll .auth-page-content .container > .row > [class*="col-"] {
        width: 100%;
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
        min-height: 0;
    }

    /* Login: card hugs content, equal side margins via wrapper padding */
    body.auth-lock-scroll .auth-page-content .card {
        height: auto;
        max-height: calc(100vh - 1.5rem);
        max-height: calc(100dvh - 1.5rem);
        flex: 0 1 auto;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        overflow: hidden;
    }

    body.auth-lock-scroll .auth-page-content .card > .row {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        flex: 0 1 auto;
        height: auto;
        max-height: none;
        margin: 0;
    }

    body.auth-lock-scroll .auth-page-content .card > .row > .col-lg-6:first-child {
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
        max-height: none;
        overflow: hidden;
    }

    /* Taller image panel so logo + animated quote text fit */
    body.auth-lock-scroll .auth-page-content .card > .row > .col-lg-6:first-child .auth-one-bg {
        min-height: 280px !important;
        height: 280px !important;
        max-height: 280px !important;
        background-size: cover !important;
        background-position: center !important;
        display: flex;
        flex-direction: column;
    }

    body.auth-lock-scroll .auth-page-content .card > .row > .col-lg-6:first-child .auth-one-bg > .position-relative {
        min-height: 0;
        flex: 1 1 auto;
    }

    body.auth-lock-scroll .auth-page-content .card > .row > .col-lg-6:first-child .carousel-inner {
        padding-bottom: 1.25rem !important;
    }

    body.auth-lock-scroll .auth-page-content .card > .row > .col-lg-6:first-child .carousel-inner .fs-15 {
        font-size: 0.8125rem !important;
        line-height: 1.4;
        margin-bottom: 0;
    }

    body.auth-lock-scroll .auth-page-content .card > .row > .col-lg-6:first-child .ri-double-quotes-l {
        display: inline-block;
        font-size: 1.75rem !important;
        line-height: 1;
    }

    body.auth-lock-scroll .auth-page-content .card > .row > .col-lg-6:first-child .mb-3:has(.ri-double-quotes-l) {
        margin-bottom: 0.35rem !important;
    }

    body.auth-lock-scroll .auth-page-content .card > .row > .col-lg-6:first-child .carousel-indicators {
        margin-bottom: 0.25rem;
    }

    body.auth-lock-scroll .auth-page-content .card > .row > .col-lg-6:last-child {
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
        min-height: 0;
        height: auto;
        display: block;
        overflow: visible;
    }

    body.auth-lock-scroll .auth-page-content .card > .row > .col-lg-6:last-child > .p-lg-5:not(.auth-register-form-scroll) {
        flex: none;
        overflow: visible;
    }

    /* Register only: fill viewport height and scroll the form panel */
    body.auth-lock-scroll .auth-page-content:has(.auth-register-form-scroll) {
        align-items: stretch;
    }

    body.auth-lock-scroll .auth-page-content:has(.auth-register-form-scroll) .container,
    body.auth-lock-scroll .auth-page-content:has(.auth-register-form-scroll) .container > .row,
    body.auth-lock-scroll .auth-page-content:has(.auth-register-form-scroll) .container > .row > [class*="col-"] {
        height: 100%;
        display: flex;
        flex-direction: column;
        min-height: 0;
    }

    body.auth-lock-scroll .auth-page-content:has(.auth-register-form-scroll) .card {
        flex: 1 1 auto;
        height: 100%;
        max-height: 100%;
        min-height: 0;
    }

    body.auth-lock-scroll .auth-page-content:has(.auth-register-form-scroll) .card > .row {
        flex: 1 1 auto;
        height: 100%;
        max-height: 100%;
        min-height: 0;
    }

    body.auth-lock-scroll .auth-page-content:has(.auth-register-form-scroll) .card > .row > .col-lg-6:first-child .auth-one-bg {
        min-height: 240px !important;
        height: 240px !important;
        max-height: 240px !important;
    }

    body.auth-lock-scroll .auth-page-content:has(.auth-register-form-scroll) .card > .row > .col-lg-6:last-child {
        flex: 1 1 auto;
        min-height: 0;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    body.auth-lock-scroll .auth-register-form-scroll {
        flex: 1 1 auto;
        min-height: 0;
        max-height: none;
        height: 100%;
        overflow-y: auto !important;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }
}

@keyframes authErpBgShift {
    0%, 100% { background-position: 0% 0%, 0% 0%, 0% 40%; }
    50% { background-position: 0% 0%, 0% 0%, 100% 60%; }
}

/* Auth: education icons float behind the card only — do not alter Acadular layout */
.auth-edu-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

/* Soft glows from multiple directions */
.auth-edu-light {
    position: absolute;
    border-radius: 50%;
    filter: blur(42px);
    will-change: transform, opacity;
}

.auth-edu-light--tl {
    width: min(55vw, 480px);
    height: min(55vw, 480px);
    top: -18%;
    left: -14%;
    background: rgba(56, 189, 248, 0.45);
    animation: authLightPulse 4.2s ease-in-out infinite;
}

.auth-edu-light--tr {
    width: min(50vw, 440px);
    height: min(50vw, 440px);
    top: -16%;
    right: -12%;
    background: rgba(45, 212, 191, 0.42);
    animation: authLightPulse 3.6s ease-in-out infinite 0.6s;
}

.auth-edu-light--bl {
    width: min(52vw, 460px);
    height: min(52vw, 460px);
    bottom: -20%;
    left: -16%;
    background: rgba(94, 234, 212, 0.38);
    animation: authLightPulse 4.8s ease-in-out infinite 1.1s;
}

.auth-edu-light--br {
    width: min(48vw, 420px);
    height: min(48vw, 420px);
    bottom: -18%;
    right: -14%;
    background: rgba(125, 211, 252, 0.4);
    animation: authLightPulse 3.9s ease-in-out infinite 0.3s;
}

.auth-edu-light--top {
    width: min(70vw, 620px);
    height: min(40vw, 280px);
    top: -12%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(226, 232, 240, 0.22);
    animation: authLightPulseTop 5s ease-in-out infinite 0.8s;
}

/* Diagonal light beams from different angles */
.auth-edu-beam {
    position: absolute;
    width: 180%;
    height: 90px;
    left: -40%;
    opacity: 0;
    filter: blur(18px);
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(125, 211, 252, 0.08) 25%,
        rgba(255, 255, 255, 0.28) 50%,
        rgba(45, 212, 191, 0.1) 75%,
        transparent 100%
    );
    will-change: transform, opacity;
}

.auth-edu-beam--a {
    top: 18%;
    animation: authBeamSweepA 5.5s ease-in-out infinite;
}

.auth-edu-beam--b {
    top: 48%;
    height: 70px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(45, 212, 191, 0.1) 30%,
        rgba(255, 255, 255, 0.22) 50%,
        rgba(56, 189, 248, 0.1) 70%,
        transparent 100%
    );
    animation: authBeamSweepB 4.8s ease-in-out infinite 1.4s;
}

.auth-edu-beam--c {
    top: 72%;
    height: 60px;
    animation: authBeamSweepC 6s ease-in-out infinite 2.2s;
}

@keyframes authLightPulse {
    0%, 100% {
        opacity: 0.35;
        transform: scale(1);
    }
    50% {
        opacity: 0.85;
        transform: scale(1.18);
    }
}

@keyframes authLightPulseTop {
    0%, 100% {
        opacity: 0.3;
        transform: translateX(-50%) scale(1);
    }
    50% {
        opacity: 0.75;
        transform: translateX(-50%) scale(1.12);
    }
}

@keyframes authBeamSweepA {
    0% { opacity: 0; transform: translateX(-20%) rotate(-28deg); }
    25%, 50% { opacity: 0.75; }
    100% { opacity: 0; transform: translateX(22%) rotate(-28deg); }
}

@keyframes authBeamSweepB {
    0% { opacity: 0; transform: translateX(18%) rotate(18deg); }
    25%, 50% { opacity: 0.65; }
    100% { opacity: 0; transform: translateX(-20%) rotate(18deg); }
}

@keyframes authBeamSweepC {
    0% { opacity: 0; transform: translateX(-16%) rotate(-12deg); }
    25%, 50% { opacity: 0.55; }
    100% { opacity: 0; transform: translateX(20%) rotate(-12deg); }
}

.auth-edu-float {
    position: absolute;
    left: var(--x);
    top: var(--y);
    font-size: var(--size, 2rem);
    color: rgba(226, 232, 240, 0.32);
    animation: authEduFloat var(--dur, 4.5s) ease-in-out infinite;
    animation-delay: var(--delay, 0s);
    transform: rotate(var(--rot, 0deg));
}

.auth-edu-letter {
    position: absolute;
    left: var(--x);
    top: var(--y);
    font-weight: 800;
    font-size: clamp(1.5rem, 2.6vw, 2.4rem);
    color: rgba(45, 212, 191, 0.28);
    animation: authEduLetter var(--dur, 3.5s) ease-in-out infinite;
    animation-delay: var(--delay, 0s);
    user-select: none;
}

.auth-edu-plane {
    position: absolute;
    top: var(--top, 30%);
    left: -8%;
    font-size: 1.55rem;
    color: rgba(125, 211, 252, 0.35);
    animation: authEduPlane var(--dur, 9s) linear infinite;
    animation-delay: var(--delay, 0s);
}

@keyframes authEduFloat {
    0%, 100% {
        transform: translate3d(0, 0, 0) rotate(var(--rot, 0deg)) scale(1);
        opacity: 0.45;
    }
    40% {
        transform: translate3d(14px, -26px, 0) rotate(calc(var(--rot, 0deg) + 10deg)) scale(1.08);
        opacity: 0.85;
    }
    70% {
        transform: translate3d(-12px, 12px, 0) rotate(calc(var(--rot, 0deg) - 8deg)) scale(0.96);
        opacity: 0.6;
    }
}

@keyframes authEduLetter {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(1);
        opacity: 0.28;
    }
    50% {
        transform: translate3d(0, -20px, 0) scale(1.14);
        opacity: 0.65;
    }
}

@keyframes authEduPlane {
    0% { transform: translate3d(0, 0, 0) rotate(-6deg); }
    50% { transform: translate3d(55vw, -28px, 0) rotate(4deg); }
    100% { transform: translate3d(110vw, 10px, 0) rotate(-2deg); }
}

@media (prefers-reduced-motion: reduce) {
    .auth-bg-cover,
    .auth-edu-light,
    .auth-edu-beam,
    .auth-edu-float,
    .auth-edu-letter,
    .auth-edu-plane {
        animation: none !important;
    }
}

/*
 * Acadular used #status for the page preloader spinner (40x40 absolute).
 * That rule broke Status form dropdowns that reused id="status".
 * Preloader now uses #preloader-status; keep form selects looking normal.
 */
#preloader-status {
    width: 40px;
    height: 40px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -20px 0 0 -20px;
}

select.form-select[name="status"] {
    width: 100%;
    height: calc(1.5em + 0.5rem + 2px);
    position: static;
    left: auto;
    top: auto;
    margin: 0;
}

/* Role permission matrix (create/edit modal) — one scroll area */
.permission-group-select {
    width: auto;
    min-width: 180px;
    max-width: 260px;
}

.permission-matrix-scroll {
    max-height: min(58vh, 520px);
    overflow: auto;
    background: #fff;
}

.permission-matrix-pane {
    display: none;
}

.permission-matrix-pane.is-active {
    display: block;
}

.permission-matrix {
    font-size: 0.78rem;
    min-width: 480px;
}

.permission-matrix thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #f3f6f9;
    white-space: nowrap;
    vertical-align: bottom;
    padding: 0.4rem 0.3rem;
}

.permission-matrix .sticky-col {
    position: sticky;
    left: 0;
    z-index: 1;
    background: #fff;
    min-width: 140px;
    max-width: 200px;
    text-align: left;
    white-space: nowrap;
}

.permission-matrix thead .sticky-col {
    z-index: 3;
    background: #f3f6f9;
}

.permission-matrix__module-label {
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 600;
    color: #495057;
}

.permission-matrix__action-label {
    max-width: 4.75rem;
    white-space: normal;
    line-height: 1.15;
    font-weight: 600;
}

.permission-matrix td,
.permission-matrix th {
    padding: 0.3rem 0.35rem;
}

.permission-matrix td .form-check-input,
.permission-matrix th .form-check-input {
    cursor: pointer;
}

/* Sidebar menu count badges (e.g. pending platform requests) */
.navbar-menu .navbar-nav .nav-link.menu-link {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.navbar-menu .navbar-nav .nav-link.menu-link .sidebar-menu-badge {
    display: grid !important;
    place-items: center;
    box-sizing: border-box;
    width: 18px;
    height: 18px;
    min-width: 18px;
    padding: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    font-size: 10px !important;
    font-weight: 600;
    line-height: 1 !important;
    border-radius: 50% !important;
    text-align: center;
}

.navbar-menu .navbar-nav .nav-link.menu-link .sidebar-menu-badge.d-none {
    display: none !important;
}

/* Raise Concern — unread chat count on action button */
#raise-concern-table td,
#raised-concern-table td,
#raise-concern-table .hstack,
#raised-concern-table .hstack {
    overflow: visible !important;
}
.concern-chat-btn.waves-effect,
.concern-chat-btn {
    overflow: visible !important;
}
.concern-chat-btn .concern-chat-unread-badge,
span.concern-chat-unread-badge {
    position: absolute !important;
    top: 0 !important;
    left: 100% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 5 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    min-width: 18px !important;
    height: 18px !important;
    padding: 0 5px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 18px !important;
    color: #fff !important;
    background-color: #f06548 !important;
    background-image: none !important;
    border: 2px solid #fff !important;
    border-radius: 999px !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25) !important;
    pointer-events: none !important;
}

/* SweetAlert above Bootstrap modals */
.swal2-container {
    z-index: 20000 !important;
}

/* Interactive Acadular logo (auth + shared) */
.acadular-logo {
    display: inline-flex;
    align-items: center;
    line-height: 0;
    color: inherit;
}
.acadular-logo-svg {
    display: block;
    width: auto;
    overflow: visible;
}
.acadular-wordmark {
    fill: currentColor;
    font-weight: 900 !important;
    paint-order: stroke fill;
    transition: fill 0.25s ease;
}
.acadular-logo--interactive .acadular-a,
.acadular-logo--interactive .acadular-bar,
.acadular-logo--interactive .acadular-cap,
.acadular-logo--interactive .acadular-tassel-dot {
    transition: fill 0.25s ease;
}
.acadular-logo--interactive .acadular-tassel-line {
    transition: stroke 0.25s ease;
}
.acadular-logo--interactive .acadular-book {
    transition: fill 0.25s ease;
}
/* Color-only hover — no size change */
.acadular-logo--interactive:hover .acadular-wordmark,
a:hover > .acadular-logo--interactive .acadular-wordmark {
    fill: #F39200;
}
.acadular-logo--interactive:hover .acadular-a,
.acadular-logo--interactive:hover .acadular-bar,
.acadular-logo--interactive:hover .acadular-cap,
.acadular-logo--interactive:hover .acadular-tassel-dot,
a:hover > .acadular-logo--interactive .acadular-a,
a:hover > .acadular-logo--interactive .acadular-bar,
a:hover > .acadular-logo--interactive .acadular-cap,
a:hover > .acadular-logo--interactive .acadular-tassel-dot {
    fill: #F39200;
}
.acadular-logo--interactive:hover .acadular-tassel-line,
a:hover > .acadular-logo--interactive .acadular-tassel-line {
    stroke: #F39200;
}
.acadular-logo--interactive:hover .acadular-book,
a:hover > .acadular-logo--interactive .acadular-book {
    fill: #ffb347;
}
.navbar-brand-box .acadular-logo {
    vertical-align: middle;
    pointer-events: none;
}
.navbar-brand-box .logo.logo-static {
    cursor: default;
    pointer-events: none;
}
.navbar-brand-box .logo-lg .acadular-logo-svg {
    max-width: 170px;
}

/* CKEditor panels must sit above Bootstrap modals (z-index 1055). */
.ck.ck-balloon-panel,
.ck.ck-body-wrapper,
.ck.ck-dialog-overlay,
.ck.ck-body .ck-dialog {
    z-index: 11000 !important;
}
.ck.ck-editor__editable_inline {
    min-height: 180px;
}
.modal .ck.ck-editor {
    width: 100%;
}
.ck.ck-balloon-panel.ck-powered-by-balloon,
.ck.ck-powered-by {
    display: none !important;
}
