.cbe-brand a {
    align-items: center;
    display: flex;
    gap: .75rem;
    line-height: 1.1;
}

.cbe-brand-mark {
    align-items: center;
    background: #fff url("../images/logo/cbe-logo.png") center/contain no-repeat;
    border-radius: .35rem;
    color: transparent;
    display: inline-flex;
    font-weight: 800;
    height: 48px;
    justify-content: center;
    letter-spacing: 0;
    overflow: hidden;
    width: 54px;
}

.cbe-brand-text {
    color: #25396f;
    font-size: .9rem;
    font-weight: 800;
}

.cbe-heading {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.cbe-heading-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.cbe-task {
    align-items: flex-start;
    display: flex;
    gap: .75rem;
    margin-bottom: 1rem;
}

.cbe-task .badge {
    min-width: 42px;
}

.cbe-flow-card {
    border: 1px solid #e8edf7;
    border-radius: .5rem;
    height: 100%;
    padding: 1rem;
}

.cbe-flow-card i {
    color: #435ebe;
    display: block;
    font-size: 1.5rem;
    margin-bottom: .5rem;
}

.cbe-flow-card strong,
.cbe-flow-card span {
    display: block;
}

.cbe-flow-card span {
    color: #607080;
    font-size: .9rem;
    margin-top: .35rem;
}

.cbe-avatar {
    align-items: center;
    background: #eef2ff;
    color: #435ebe;
    display: inline-flex;
    font-weight: 800;
    justify-content: center;
}

.cbe-student-photo {
    align-items: center;
    background: #eef2ff;
    border: 2px solid #d8e2ff;
    border-radius: 50%;
    color: #435ebe;
    display: flex;
    font-size: 2rem;
    font-weight: 800;
    height: 112px;
    justify-content: center;
    overflow: hidden;
    width: 112px;
}

.cbe-student-photo img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.cbe-mini-stat {
    display: flex;
    font-size: .9rem;
    justify-content: space-between;
    margin-bottom: .45rem;
}

.cbe-date {
    align-items: center;
    background: #f2f7ff;
    border-radius: .35rem;
    color: #435ebe;
    display: inline-flex;
    flex: 0 0 48px;
    font-size: .75rem;
    font-weight: 800;
    height: 48px;
    justify-content: center;
    line-height: 1.05;
    text-align: center;
}

@media (max-width: 767.98px) {
    .cbe-heading {
        display: block;
    }

    .cbe-heading-actions {
        margin-top: 1rem;
    }
}

.cbe-auth-panel {
    align-items: flex-end;
    background: linear-gradient(135deg, rgba(67, 94, 190, .92), rgba(0, 139, 117, .88)), url("../images/bg/4853433.jpg") center/cover;
    display: flex;
    padding: 4rem;
}

.cbe-auth-copy {
    color: #fff;
    max-width: 560px;
}

.cbe-auth-copy h2 {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 800;
}

.cbe-auth-copy p {
    font-size: 1.1rem;
    opacity: .92;
}

.cbe-register-panel {
    max-width: 760px;
}

.cbe-platform-footer {
    color: #607080;
    font-size: .95rem;
    padding: 1.25rem 1rem 2rem;
    text-align: center;
}

.cbe-platform-footer a {
    color: #435ebe;
    font-weight: 800;
}

.cbe-admin-avatar {
    border: 2px solid #dfe7fb;
    overflow: hidden;
}

.cbe-admin-avatar img {
    display: block;
    height: 100%;
    object-fit: cover;
    object-position: center;
    width: 100%;
}

.cbe-finance-stat .card-body {
    display: grid;
    gap: .35rem;
}

.cbe-finance-stat span:not(.cbe-stat-icon),
.cbe-finance-stat small {
    color: #607080;
}

.cbe-finance-stat strong {
    color: #25396f;
    display: block;
    font-size: 1.65rem;
    line-height: 1.2;
}

.cbe-stat-icon {
    align-items: center;
    border-radius: .6rem;
    color: #fff;
    display: inline-flex;
    font-size: 1.3rem;
    height: 46px;
    justify-content: center;
    margin-bottom: .35rem;
    width: 46px;
}

.cbe-stat-icon.is-income {
    background: #4dd4ac;
}

.cbe-stat-icon.is-expense {
    background: #ff7976;
}

.cbe-stat-icon.is-net {
    background: #435ebe;
}

.cbe-stat-icon.is-pending {
    background: #f4b740;
}

.cbe-finance-list {
    display: grid;
    gap: .75rem;
    margin-top: 1rem;
}

.cbe-finance-list div {
    align-items: center;
    display: flex;
    gap: .75rem;
    justify-content: space-between;
}

.cbe-finance-list span {
    align-items: center;
    color: #52627a;
    display: inline-flex;
    gap: .5rem;
}

.cbe-finance-list i,
.cbe-finance-dot {
    border-radius: 999px;
    display: inline-block;
    flex: 0 0 auto;
    height: .7rem;
    width: .7rem;
}

.cbe-finance-list strong {
    color: #25396f;
}

.cbe-finance-dot {
    margin-right: .5rem;
}

.cbe-approval-flow {
    display: grid;
    gap: 1rem;
}

.cbe-approval-flow div {
    align-items: flex-start;
    background: #f7f9ff;
    border: 1px solid #e3e9fb;
    border-radius: .5rem;
    display: grid;
    gap: .2rem .75rem;
    grid-template-columns: auto 1fr;
    padding: 1rem;
}

.cbe-approval-flow i {
    color: #435ebe;
    font-size: 1.35rem;
    grid-row: span 2;
}

.cbe-approval-flow strong {
    color: #25396f;
}

.cbe-approval-flow span {
    color: #607080;
    font-size: .92rem;
}

.cbe-kivilcim-card {
    border: 1px solid #f4d37a;
    box-shadow: 0 10px 26px rgba(244, 183, 64, .12);
}

.cbe-kivilcim-card h4 {
    color: #25396f;
}

.cbe-kivilcim-metric {
    background: #fffaf0;
    border: 1px solid #f8e4aa;
    border-radius: .5rem;
    height: 100%;
    padding: 1rem;
}

.cbe-kivilcim-metric span,
.cbe-kivilcim-metric small {
    color: #8a6b12;
    display: block;
    font-size: .9rem;
}

.cbe-kivilcim-metric strong {
    color: #25396f;
    display: block;
    font-size: 1.35rem;
    margin-top: .25rem;
}

.cbe-course-toolbar {
    display: grid;
    gap: .75rem;
    grid-template-columns: 1fr 240px;
}

.cbe-course-card {
    border: 1px solid #435ebe;
    box-shadow: 0 8px 22px rgba(67, 94, 190, .08);
    height: 100%;
    overflow: hidden;
}

.cbe-course-card::before {
    background: #435ebe;
    content: "";
    display: block;
    height: 4px;
    width: 100%;
}

.cbe-course-card h5 {
    min-height: 52px;
}

.cbe-course-meta {
    color: #607080;
    display: grid;
    gap: .4rem;
    font-size: .92rem;
}

.cbe-course-meta i {
    color: #435ebe;
    margin-right: .3rem;
}

.cbe-detail-card,
.cbe-apply-card {
    border: 1px solid #dfe7fb;
}

.cbe-info-tile {
    background: #f7f9ff;
    border: 1px solid #e3e9fb;
    border-radius: .5rem;
    padding: 1rem;
}

.cbe-info-tile span {
    color: #607080;
    display: block;
    font-size: .9rem;
}

.cbe-info-tile strong {
    color: #25396f;
    display: block;
    margin-top: .25rem;
}

.cbe-student-profession-cell {
    line-height: 1.45;
    max-width: 420px;
    min-width: 260px;
}

.cbe-point-info-button {
    align-items: center;
    display: inline-flex;
    height: 2rem;
    justify-content: center;
    padding: 0;
    width: 2rem;
}

.cbe-point-detail-box {
    background: #f7f9ff;
    border: 1px solid #e3e9fb;
    border-radius: .5rem;
    padding: 1rem;
}

.cbe-detail-flow {
    display: grid;
    gap: .75rem;
    margin-top: 1rem;
}

.cbe-detail-flow div {
    align-items: flex-start;
    display: flex;
    gap: .75rem;
}

.cbe-detail-flow i {
    color: #435ebe;
    font-size: 1.2rem;
}

.cbe-detail-flow small {
    background: #f7f9ff;
    border-left: 3px solid #435ebe;
    color: #52627a;
    display: block;
    line-height: 1.6;
    margin-top: .55rem;
    padding: .75rem .9rem;
}

.cbe-price {
    color: #25396f;
    font-size: 2rem;
    font-weight: 800;
    margin: .5rem 0;
}

.cbe-video-card {
    border: 1px solid #435ebe;
    box-shadow: 0 8px 22px rgba(67, 94, 190, .08);
    height: 100%;
    overflow: hidden;
}

.cbe-video-card::before {
    background: #435ebe;
    content: "";
    display: block;
    height: 4px;
    width: 100%;
}

.cbe-video-card h5 {
    min-height: 74px;
}

.cbe-live-card {
    border: 1px solid #f4b740;
    box-shadow: 0 8px 22px rgba(244, 183, 64, .1);
    height: 100%;
    overflow: hidden;
}

.cbe-live-card::before {
    background: #f4b740;
    content: "";
    display: block;
    height: 4px;
    width: 100%;
}

.cbe-live-card h5 {
    min-height: 58px;
}

.cbe-live-card-image {
    aspect-ratio: 16 / 9;
    display: block;
    object-fit: cover;
    object-position: center;
    width: 100%;
}

.cbe-live-detail-image {
    aspect-ratio: 16 / 9;
    display: block;
    object-fit: contain;
    object-position: center;
    width: 100%;
}

.cbe-live-content {
    background: #f7f9ff;
    border-left: 3px solid #f4b740;
    border-radius: .35rem;
    color: #52627a;
    line-height: 1.6;
    padding: 1rem;
}

.cbe-live-content p {
    margin-bottom: 0;
}

.cbe-cert-options {
    display: grid;
    gap: .75rem;
}

.cbe-cert-option {
    align-items: flex-start;
    border: 1px solid #e3e9fb;
    border-radius: .5rem;
    cursor: pointer;
    display: grid;
    gap: .75rem;
    grid-template-columns: auto 1fr auto;
    padding: 1rem;
}

.cbe-cert-option input {
    margin-top: .25rem;
}

.cbe-cert-option span,
.cbe-cert-option small {
    display: block;
}

.cbe-cert-option small {
    color: #607080;
    margin-top: .25rem;
}

.cbe-cert-option em {
    color: #435ebe;
    font-style: normal;
    font-weight: 800;
}

.cbe-profile-summary {
    display: grid;
    gap: .75rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cbe-profile-summary div {
    background: #f7f9ff;
    border: 1px solid #e3e9fb;
    border-radius: .5rem;
    padding: 1rem;
}

.cbe-profile-summary span,
.cbe-profile-summary strong {
    display: block;
}

.cbe-profile-summary span {
    color: #607080;
    font-size: .9rem;
}

.cbe-profile-summary strong {
    color: #25396f;
    margin-top: .25rem;
}

.cbe-eligibility-box,
.cbe-eligibility-result {
    border-radius: .5rem;
    padding: 1rem;
}

.cbe-eligibility-box {
    border: 1px solid #e3e9fb;
}

.cbe-eligibility-box p,
.cbe-eligibility-box small {
    display: block;
    margin: .35rem 0 0;
}

.cbe-eligibility-box.is-ok,
.cbe-eligibility-result.is-ok {
    background: #f0fff8;
    border: 1px solid #b8f2d7;
    color: #13795b;
}

.cbe-eligibility-box.is-blocked,
.cbe-eligibility-result.is-blocked {
    background: #fff8e8;
    border: 1px solid #ffe0a3;
    color: #8a5a00;
}

.cbe-eligibility-result {
    align-items: flex-start;
    display: flex;
    gap: .6rem;
    margin-top: 1rem;
}

.cbe-eligibility-result i {
    font-size: 1.2rem;
}

.cbe-video-frame {
    aspect-ratio: 16 / 9;
    background: #101828;
    border-radius: .5rem;
    margin-top: 1.5rem;
    overflow: hidden;
    width: 100%;
}

.cbe-video-frame iframe {
    border: 0;
    height: 100%;
    width: 100%;
}

.cbe-video-placeholder {
    align-items: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    height: 100%;
    justify-content: center;
    padding: 2rem;
    text-align: center;
}

.cbe-video-placeholder i {
    color: #ff5a5f;
    font-size: 3rem;
}

.cbe-video-card.is-locked {
    border-color: #f4b740;
}

.cbe-video-card.is-locked::before {
    background: #f4b740;
}

.cbe-video-locked {
    align-items: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    height: 100%;
    justify-content: center;
    padding: 2rem;
    text-align: center;
}

.cbe-video-locked i {
    color: #f4b740;
    font-size: 3rem;
}

.cbe-video-locked h4 {
    color: #fff;
    margin-bottom: 0;
}

.cbe-video-locked p {
    max-width: 680px;
    opacity: .92;
}

.cbe-video-card.is-locked {
    border-color: #435ebe;
}

.cbe-video-card.is-locked::before {
    background: #435ebe;
}

#online-course-grid,
#video-course-grid,
#live-course-grid,
#face-course-grid {
    row-gap: 1.5rem;
}

.cbe-course-card,
.cbe-video-card,
.cbe-live-card,
.cbe-face-card {
    border: 1.5px solid #435ebe;
    box-shadow: 0 8px 22px rgba(67, 94, 190, .08);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.cbe-course-card:hover,
.cbe-video-card:hover,
.cbe-live-card:hover,
.cbe-face-card:hover {
    border-color: #25396f;
    box-shadow: 0 12px 28px rgba(67, 94, 190, .14);
    transform: translateY(-2px);
}

.cbe-course-card .card-body,
.cbe-video-card .card-body,
.cbe-live-card .card-body,
.cbe-face-card .card-body {
    padding: 1.35rem;
}

.cbe-live-card::before {
    background: #435ebe;
}

.cbe-edit-overlay {
    align-items: flex-start;
    background: rgba(15, 23, 42, .48);
    display: flex;
    inset: 0;
    justify-content: center;
    overflow: auto;
    padding: 2rem 1rem;
    position: fixed;
    z-index: 4000;
}

.cbe-edit-dialog {
    background: #fff;
    border: 1px solid #dbe5ff;
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .24);
    max-width: 980px;
    padding: 1.5rem;
    width: min(980px, 100%);
}

.cbe-process-steps {
    display: grid;
    gap: .75rem;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.cbe-process-step {
    align-items: center;
    background: #f3f6ff;
    border: 1px solid #dbe5ff;
    border-radius: 8px;
    display: flex;
    gap: .65rem;
    min-height: 64px;
    padding: .75rem;
}

.cbe-process-step span {
    align-items: center;
    background: #fff;
    border-radius: 999px;
    color: #435ebe;
    display: inline-flex;
    flex: 0 0 34px;
    height: 34px;
    justify-content: center;
    width: 34px;
}

.cbe-process-step strong {
    color: #25396f;
    font-size: .9rem;
    line-height: 1.25;
}

.cbe-process-step.is-complete {
    background: #e8fff3;
    border-color: #9ee6bf;
}

.cbe-process-step.is-complete span {
    background: #47c78f;
    color: #fff;
}

.cbe-notification-dock {
    align-items: center;
    display: flex;
    gap: .5rem;
    justify-content: flex-end;
    margin-bottom: 1rem;
    position: relative;
    z-index: 20;
}

.cbe-icon-button {
    align-items: center;
    background: #fff;
    border: 1px solid #dbe5ff;
    border-radius: 8px;
    color: #25396f;
    display: inline-flex;
    height: 42px;
    justify-content: center;
    position: relative;
    width: 42px;
}

.cbe-icon-button:hover {
    background: #f3f6ff;
    color: #435ebe;
}

.cbe-count-badge {
    align-items: center;
    background: #ff5a67;
    border: 2px solid #fff;
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: .72rem;
    font-weight: 700;
    height: 20px;
    justify-content: center;
    min-width: 20px;
    padding: 0 .25rem;
    position: absolute;
    right: -6px;
    top: -6px;
}

.cbe-notification-panel {
    background: #fff;
    border: 1px solid #dbe5ff;
    border-radius: 8px;
    box-shadow: 0 16px 46px rgba(15, 23, 42, .14);
    max-width: min(380px, calc(100vw - 2rem));
    padding: 1rem;
    position: absolute;
    right: 0;
    top: 48px;
    width: 380px;
}

.cbe-notification-list {
    display: grid;
    gap: .5rem;
    max-height: 360px;
    overflow: auto;
}

.cbe-notification-item {
    background: #f8faff;
    border: 1px solid #e5ebfb;
    border-radius: 8px;
    color: #25396f;
    display: grid;
    gap: .25rem;
    padding: .75rem;
}

.cbe-notification-item:hover {
    color: #25396f;
}

.cbe-notification-item.is-unread {
    background: #eef4ff;
    border-color: #b9c8ff;
}

.cbe-notification-item span {
    color: #6073a8;
    font-size: .88rem;
    line-height: 1.35;
}

.cbe-notification-item small {
    color: #8c9ac5;
}

.cbe-message-list {
    display: grid;
    gap: .75rem;
}

.cbe-message-card {
    background: #fff;
    border: 1px solid #dbe5ff;
    border-radius: 8px;
    padding: 1rem;
}

.cbe-message-card.is-received {
    border-left: 4px solid #435ebe;
}

.cbe-message-card.is-sent {
    border-left: 4px solid #47c78f;
}

.cbe-reset-warning {
    background: #fff8e8;
    border: 1px solid #f4c35d;
    border-radius: 8px;
    color: #684700;
    padding: 1rem;
}

@media (max-width: 767.98px) {
    .cbe-course-toolbar {
        grid-template-columns: 1fr;
    }
}
