:root {
    --mcit-ink: #081836;
    --mcit-muted: #5b6b83;
    --mcit-blue: #1257d8;
    --mcit-blue-deep: #0b3c96;
    --mcit-cyan: #10b8d8;
    --mcit-sky: #43a8ff;
    --mcit-green: #16a979;
    --mcit-gold: #f4b740;
    --mcit-surface: rgba(255,255,255,.94);
    --mcit-border: rgba(18,87,216,.16);
    --mcit-shadow: 0 18px 45px rgba(8,24,54,.16);
    --mcit-shadow-lg: 0 30px 80px rgba(8,24,54,.24);
}

html {
    min-height: 100%;
}

body.c-app {
    color: var(--mcit-ink);
    background:
        linear-gradient(135deg, rgba(18,87,216,.14), rgba(67,168,255,.12) 42%, rgba(22,169,121,.10)),
        linear-gradient(180deg, #f9fdff, #eaf6ff 46%, #f7fcff);
    padding-top: 0;
    padding-bottom: 0;
    background-attachment: fixed;
}

body.c-app::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background: linear-gradient(110deg, rgba(255,255,255,.42), transparent 34%, rgba(67,168,255,.11) 58%, transparent 78%);
    animation: mcitAmbientDrift 18s ease-in-out infinite alternate;
}

@keyframes mcitAmbientDrift {
    from {
        transform: translate3d(-16px, -10px, 0) scale(1);
        opacity: .82;
    }

    to {
        transform: translate3d(18px, 12px, 0) scale(1.03);
        opacity: 1;
    }
}

.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

.dl-horizontal dt {
    white-space: normal;
}

input,
select,
textarea {
    max-width: none;
}

.c-main {
    padding-top: 2rem;
    background: transparent;
}

.c-header.bg-gradient-info,
.c-footer.bg-gradient-info,
.bg-gradient-info {
    background: linear-gradient(135deg, var(--mcit-blue-deep) 0%, var(--mcit-blue) 38%, var(--mcit-sky) 72%, var(--mcit-green) 100%) !important;
}

.c-header {
    min-height: 96px;
    box-shadow: 0 16px 42px rgba(6,31,78,.18);
    border: 0;
}

.c-header .c-sidebar-brand img,
.c-header-brand img {
    filter: drop-shadow(0 10px 18px rgba(0,0,0,.24));
}

.torelative .navbarShow {
    color: #fff;
    background: linear-gradient(135deg, #0b4eb3 0%, #1398cf 48%, #16a979 100%);
    border: 1px solid rgba(255,255,255,.26);
    border-radius: 0 0 18px 18px;
    box-shadow: 0 30px 80px rgba(6,31,78,.30);
    backdrop-filter: blur(12px);
}

.theMainTitleInNav a {
    color: #fff !important;
    text-shadow: 0 10px 26px rgba(0,0,0,.22);
}

.colorForTitle {
    color: #fff;
    font-weight: 800;
    text-shadow: 0 8px 20px rgba(0,0,0,.18);
}

.changeLink {
    color: #fff !important;
    border-radius: 8px;
    transition: background .18s ease, transform .18s ease, color .18s ease;
}

.changeLink:hover {
    background: rgba(255,255,255,.16);
    color: #fff !important;
    transform: translateX(-3px);
}

.navbarShow .nav-link,
.navbarShow a,
.navbarShow p,
.navbarShow h1,
.navbarShow h5 {
    color: #fff !important;
}

.navbarShow hr {
    border-color: rgba(255,255,255,.24);
}

.navbarShow .toshowhr {
    border-left-color: rgba(255,255,255,.22) !important;
}

.card,
.modal-content,
.dropdown-menu {
    border: 1px solid var(--mcit-border) !important;
    border-radius: 20px !important;
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.90)) !important;
    box-shadow: 0 22px 55px rgba(8,24,54,.13);
}

.card {
    overflow: hidden;
    transition: transform .22s ease, box-shadow .22s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 28px 66px rgba(8,24,54,.18);
}

.card-header {
    border-bottom: 1px solid rgba(255,255,255,.22);
    color: #fff;
    background: linear-gradient(135deg, var(--mcit-blue-deep), var(--mcit-sky)) !important;
}

.card-header.bg-gradient-info,
.card .bg-gradient-info {
    color: #fff;
    background: linear-gradient(135deg, #0b3c96, #138ac3 58%, #16a979) !important;
}

.form-control,
.select2-container--bootstrap .select2-selection,
.select2-container--default .select2-selection--single {
    min-height: 42px;
    border: 1px solid rgba(18,87,216,.22) !important;
    border-radius: 9px !important;
    background: #fff !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 8px 20px rgba(8,24,54,.06);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.form-control:focus,
.select2-container--bootstrap.select2-container--focus .select2-selection,
.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: var(--mcit-cyan) !important;
    box-shadow: 0 0 0 3px rgba(16,184,216,.18), 0 10px 24px rgba(8,24,54,.10);
}

.btn {
    border-radius: 9px !important;
    box-shadow: 0 10px 22px rgba(8,24,54,.14);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(8,24,54,.18);
}

.btn-info,
.btn-success,
.btn-primary,
.btn_main {
    border-color: transparent !important;
    color: #fff !important;
    background: linear-gradient(135deg, var(--mcit-blue), var(--mcit-cyan)) !important;
}

.btn-info:hover,
.btn-success:hover,
.btn-primary:hover,
.btn_main:hover {
    filter: saturate(1.08) brightness(1.03);
}

.btn-danger,
.btn-outline-danger:hover {
    background: linear-gradient(135deg, #d92d55, #ff6b4a) !important;
    color: #fff !important;
}

.table,
.jDataTable {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(8,24,54,.10);
}

.table thead th,
.jDataTable thead th {
    color: #fff;
    background: linear-gradient(135deg, #0b3c96, #137dc0);
    border-color: rgba(255,255,255,.2) !important;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(18,87,216,.035);
}

#overlay {
    backdrop-filter: blur(3px);
}

.c-footer {
    color: #fff;
    box-shadow: 0 -12px 35px rgba(6,31,78,.14);
}

.c-footer a {
    color: #fff !important;
}

.mcit-dashboard {
    padding: 1.2rem 1rem 2.4rem;
    direction: rtl;
    text-align: right;
}

.mcit-dashboard .fade-in {
    position: relative;
}

.mcit-dashboard .card {
    margin-bottom: 16px;
    border-radius: 20px !important;
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.88)) !important;
    box-shadow: 0 18px 42px rgba(8,24,54,.12);
}

.mcit-dashboard .card-header {
    min-height: 42px;
    padding: .55rem .9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, #1556bd, #43a8ff) !important;
}

.mcit-dashboard .card-header h2,
.mcit-dashboard .card-header h5,
.mcit-dashboard .card-title {
    color: #fff !important;
    margin: 0 !important;
    font-weight: 900;
    font-size: 1rem;
    line-height: 1.4;
}

.mcit-dashboard .card-body {
    min-height: 104px;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.78));
}

.mcit-dashboard .text-value-xl,
.mcit-dashboard .text-value-lg,
.mcit-dashboard .text-value {
    color: #00058f !important;
    font-weight: 900;
    letter-spacing: 0;
    text-shadow: 0 12px 28px rgba(18,87,216,.14);
}

.mcit-dashboard .text-value-xl {
    font-size: 2.15rem;
}

.mcit-dashboard .text-value-lg {
    font-size: 1.75rem;
}

.mcit-dashboard .text-muted {
    color: #001b70 !important;
}

.mcit-dashboard .c-icon {
    color: #00058f;
}

.mcit-dashboard .mcit-stat-icon,
.mcit-dashboard .text-uppercase.text-muted.small,
.mcit-dashboard .text-muted.text-right.mb-4,
.mcit-dashboard .gridColorCardHead.p-3 {
    width: 58px;
    height: 58px;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #00058f !important;
    border: 1px solid rgba(55,139,234,.42);
    border-radius: 22px;
    background: linear-gradient(135deg, #f8fcff, #e6f3ff);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 18px 35px rgba(8,24,54,.10);
}

.mcit-dashboard .progress {
    height: 9px;
    border-radius: 999px;
    background-color: #dceaff;
}

.mcit-dashboard .progress-bar,
.mcit-dashboard .gridColorCardHead {
    background: linear-gradient(135deg, #1451b9, #3fa7ff) !important;
}

.mcit-dashboard .card-group {
    gap: 16px;
}

.mcit-dashboard .card-group > .card {
    border-radius: 20px !important;
    min-width: 180px;
}

.mcit-dashboard canvas {
    max-height: 360px;
}

.mcit-dashboard-section {
    margin-bottom: 26px;
}

.mcit-section-title {
    min-height: 58px;
    margin-bottom: 16px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    direction: rtl;
    color: #0b4eb3;
    border: 1px solid rgba(55,139,234,.42);
    border-radius: 26px;
    background: linear-gradient(135deg, rgba(195,225,255,.92), rgba(232,248,255,.82));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.72), 0 16px 34px rgba(8,24,54,.08);
}

.mcit-section-title span {
    font-size: 1.15rem;
    font-weight: 900;
}

.mcit-section-title small {
    padding: 8px 14px;
    color: #31506d;
    font-weight: 800;
    direction: ltr;
    background: rgba(255,255,255,.82);
    border-radius: 999px;
}

.mcit-kpi-grid > [class*="col-"] {
    padding-right: 8px;
    padding-left: 8px;
}

.mcit-stat-card .card-body {
    display: flex;
    min-height: 104px;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
}

.mcit-chart-card .card-body {
    min-height: 262px;
}

.mcit-compact-chart,
.mcit-donut-chart {
    min-height: 230px;
}

.mcit-top-cards {
    direction: rtl;
}

.mcit-top-cards .card-body,
.mcit-provider-card .card-body {
    min-height: 118px;
    padding: 16px;
    text-align: right;
}

.mcit-top-cards .mcit-stat-icon {
    float: left;
}

.mcit-top-cards p,
.mcit-provider-card p {
    min-height: 42px;
    margin: 0;
}

.mcit-provider-grid {
    direction: rtl;
}

.mcit-employment-row {
    direction: ltr;
}

.mcit-employment-row > [class*="col-"] {
    direction: rtl;
}

.mcit-employment-list {
    display: grid;
    gap: 14px;
}

.mcit-employment-card {
    margin-bottom: 0 !important;
}

.mcit-employment-card .card-body {
    min-height: 88px;
}

.mcit-scorm-report {
    direction: rtl;
    text-align: right;
}

.scorm-summary-row {
    row-gap: 14px;
}

.scorm-summary-card {
    min-height: 104px;
    padding: 18px;
    border: 1px solid rgba(55,139,234,.32);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(232,248,255,.86));
    box-shadow: 0 18px 38px rgba(8,24,54,.10);
}

.scorm-summary-card span,
.scorm-summary-card strong {
    display: block;
}

.scorm-summary-card span {
    color: #31506d;
    font-weight: 800;
}

.scorm-summary-card strong {
    margin-top: 8px;
    color: #00058f;
    font-size: 2rem;
    font-weight: 900;
}

.scorm-export-actions {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: wrap;
}

.scorm-export-btn {
    min-width: 130px;
    border: 0;
    border-radius: 10px;
    padding: 9px 18px;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(13, 61, 122, .18);
    transition: transform .18s ease, box-shadow .18s ease;
}

.scorm-export-btn:hover,
.scorm-export-btn:focus {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(13, 61, 122, .26);
}

body.c-app.flex-row.align-items-center {
    min-height: 100vh;
    align-items: stretch !important;
    justify-content: center;
    background:
        linear-gradient(135deg, rgba(179,220,255,.70), rgba(238,249,255,.92) 50%, rgba(221,244,255,.88)),
        linear-gradient(180deg, #f8fdff, #e5f5ff);
}

body.c-app.flex-row.align-items-center::after {
    content: "";
    position: fixed;
    inset: 22px;
    pointer-events: none;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 24px;
}

.login_page_style {
    position: relative;
    max-width: 980px;
    margin: auto;
    border: 1px solid rgba(255,255,255,.34) !important;
    border-radius: 24px !important;
    color: var(--mcit-ink) !important;
    background: rgba(255,255,255,.92) !important;
    box-shadow: 0 34px 90px rgba(8,24,54,.18) !important;
    backdrop-filter: blur(14px);
    overflow: hidden;
}

.mcit-login-shell {
    padding: 0;
    animation: mcitLoginLift .55s ease-out both;
}

.mcit-login-shell > .row {
    direction: ltr;
    flex-direction: row;
}

.mcit-login-shell > .row > [class*="col-"] {
    direction: rtl;
}

.mcit-login-shell > .row > [class*="col-"]:first-child {
    order: 2;
}

.mcit-login-shell > .row > [class*="col-"]:nth-child(2) {
    order: 1;
}

@keyframes mcitLoginLift {
    from {
        opacity: 0;
        transform: translateY(16px) scale(.985);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.mcit-login-hero {
    position: relative;
    padding: 18px 24px 20px;
    color: #fff;
    text-align: center;
    background: linear-gradient(135deg, #1451b9, #2f9af0);
}

.mcit-login-badges {
    position: absolute;
    top: 18px;
    left: 22px;
    display: flex;
    gap: 10px;
    direction: ltr;
}

.mcit-login-badges span {
    padding: 8px 14px;
    color: #fff;
    font-weight: 800;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 999px;
    background: rgba(255,255,255,.16);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.22);
}

.mcit-login-hero h1 {
    margin: 0 0 8px;
    color: #fff;
    font-family: 'Amiri', serif;
    font-size: 36px;
    font-weight: 900;
    text-shadow: 0 12px 30px rgba(0,0,0,.18);
}

.mcit-login-hero p {
    margin: 0;
    color: rgba(255,255,255,.92);
    font-weight: 800;
    font-size: .92rem;
}

.mcit-login-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding: 12px 24px 0;
    direction: rtl;
}

.mcit-login-highlights div {
    min-height: 58px;
    padding: 10px 12px;
    border: 1px solid rgba(55,139,234,.24);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255,255,255,.92), rgba(229,246,255,.78));
    box-shadow: 0 14px 28px rgba(8,24,54,.08);
}

.mcit-login-highlights strong,
.mcit-login-highlights span {
    display: block;
}

.mcit-login-highlights strong {
    color: #0b4eb3;
    font-weight: 900;
}

.mcit-login-highlights span {
    color: #42627d;
    font-size: .86rem;
    font-weight: 700;
}

.mcit-login-media {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(8,24,54,.18);
}

.mcit-login-media img {
    width: 100%;
    box-shadow: none;
}

.mcit-login-media-caption {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 20px;
    padding: 14px 18px;
    text-align: center;
    color: #0b4eb3;
    border-radius: 16px;
    background: rgba(255,255,255,.88);
    box-shadow: 0 14px 34px rgba(8,24,54,.18);
}

.mcit-login-media-caption strong,
.mcit-login-media-caption span {
    display: block;
}

.mcit-login-media-caption strong {
    font-weight: 900;
}

.mcit-login-media-caption span {
    color: #42627d;
    font-size: .9rem;
    font-weight: 700;
}

.login_page_style::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(125deg, transparent 0 60%, rgba(244,183,64,.18) 60% 72%, transparent 72%),
        linear-gradient(35deg, transparent 0 74%, rgba(18,87,216,.14) 74% 84%, transparent 84%);
    pointer-events: none;
}

.login_page_style img {
    min-height: 330px;
    max-height: 360px;
    object-fit: cover;
    box-shadow: 0 22px 50px rgba(8,24,54,.16);
}

.mcit-login-shell > .row.m-4 {
    margin: 1.25rem !important;
}

.login_page_style .input-group-text {
    color: #fff;
    border: 0;
    background: linear-gradient(135deg, var(--mcit-blue), var(--mcit-cyan));
}

.regst_title {
    color: #0b3c96;
    font-weight: 900;
    line-height: 1.35;
    text-shadow: 0 12px 28px rgba(18,87,216,.18);
    font-size: 30px !important;
}

@media (max-width: 768px) {
    .c-main {
        padding-top: 1rem;
    }

    .login_page_style {
        margin: 18px;
    }

    .login_page_style img {
        min-height: 220px;
    }

    .mcit-login-shell > .row > [class*="col-"]:first-child,
    .mcit-login-shell > .row > [class*="col-"]:nth-child(2) {
        order: initial;
    }

    .mcit-login-badges {
        position: static;
        justify-content: center;
        margin-bottom: 12px;
    }

    .mcit-login-hero h1 {
        font-size: 34px;
    }

    .regst_title {
        font-size: 28px !important;
    }

    .mcit-login-highlights {
        grid-template-columns: 1fr;
        padding: 14px 18px 0;
    }
}
