/* here you can put your own css to customize and override the theme */
@media (min-width: 768px) {
    .page-sidebar-closed .navbar-collapse,
    .page-sidebar-closed .navbar-collapse .navbar-collapse.collapse {
        width: 45px;
    }

    .display-desktop {
        display: block !important;
    }
}

.page-sidebar-menu > li.sidebar-toggler-wrapper {
    margin-bottom: 20px;
}

.placeholder {
    /*border: 1px solid #EEE*/
}

.font-weight-normal {
    font-weight: normal !important;
}

.steps-wrapper .steps {
    margin: 0.5em 0;
    padding: 1em 0;
}

#next-steps .steps {
    padding-bottom: 0;
    margin-bottom: 0;
}

.steps-wrapper li {
    margin-bottom: 2em;
}

.steps-wrapper li li,
.steps-wrapper li:last-child {
    margin-bottom: 0;
}

.steps-wrapper li ul {
    margin-top: 5px
}

.steps-wrapper li li {
    list-style-type: disc;
}

.steps-wrapper li li a {
    font-size: 1em;
}

.steps-wrapper a,
.steps-wrapper b {
    font-size: 1.2em;
    font-weight: 400;
}

.steps-wrapper em {
    font-size: 1.2em;
}

.steps-wrapper .steps .fal {
    color: #34A94F !important
}

.steps-wrapper .checked,
.steps-wrapper .checked a {
    color: #777;
}

.steps-wrapper .alert,
.steps-wrapper .alert a,
.steps-wrapper .alert b {
    font-size: 1em;
}

.steps-wrapper .alert.demo {
    border-width: 3px;
}

.steps-wrapper .alert.demo b,
.steps-wrapper .alert.demo a {
    font-weight: bold;
}

.dashboard-stat .number .fa,
.dashboard-stat .number .fal,
.dashboard-stat .number .fas,
.dashboard-stat .number .fab {
    font-size: 0.7em;
}

.dashboard-stat .svg svg {
    zoom: 0.7;
    -moz-transform: scale(0.7)
}

.dashboard-stat .svg path {
    stroke: #FFF;
}

.img-circle {
    border-radius: 50% !important;
}

.coming_soon {
    height: 20px;
    width: auto;
    float: right;
}

.page-sidebar-closed .page-sidebar-menu .badge,
.page-sidebar-closed .coming_soon {
    display: none;
}

.btn.default.btn-google,
.btn.default.btn-google:hover {
    background-color: #D34836 !important;
    color: #FFF !important;
}

.btn.default.btn-googleanalytics,
.btn.default.btn-googleanalytics:hover {
    background-color: #F9AB00 !important;
    color: #FFF !important;
}

.btn.default.btn-facebook,
.btn.default.btn-facebook:hover {
    background-color: #4267B2 !important;
    color: #FFF !important;
}

.btn.default.btn-twitter,
.btn.default.btn-twitter:hover {
    background-color: #1DA1F2 !important;
    color: #FFF !important;
}

.btn.default.btn-xing,
.btn.default.btn-xing:hover {
    background-color: #007D7D !important;
    color: #B0D400 !important;
}

.btn.default.btn-linkedin,
.btn.default.btn-linkedin:hover {
    background-color: #0077B5 !important;
    color: #FFF !important;
}

.btn.default.btn-amazon,
.btn.default.btn-amazon:hover {
    background-color: #ff9900 !important;
    color: #000 !important;
}

.btn.default.btn-youtube,
.btn.default.btn-youtube:hover {
    background-color: #FF0000 !important;
    color: #FFF !important;
}

.btn.default.btn-instagram,
.btn.default.btn-instagram:hover {
    background-color: #DB1B79 !important;
    color: #FFF !important;
}

.ladda-spinner > .fal {
    float: left;
    margin-top: -6px;
    margin-left: -6px;
}

.ladda-spinner > .fa-check {
    color: #42AF46;
}

.ladda-spinner > .fa-times {
    color: red;
}

#tour-intro-content {
    padding: 1em !important;
}

.tiny {
    width: 1% !important;
    white-space: nowrap !important;
}

.tiny .btn {
    float: none;
}

.portlet > .portlet-title > .tools > a {
    color: #FFF;
}

.help-inline.text-info {
    color: #31708f;
}

.help-inline.text-danger {
    color: #a94442;
}

.help-inline.text-warning {
    color: #8a6d3b;
}

.help-inline.text-success {
    color: #3c763d;
}

input.copy-link {
    cursor: text !important;
}

.input-text-only {
    border-color: transparent !important;
    background-color: transparent !important;
    width: 100%;
}

#actionsBox {
    text-align: left;
}

div.checker span,
input[type="checkbox"] {
    cursor: pointer;
}

/**
    UPDATE WIDGET
 */
.page-sidebar-closed #system_updates {
    display: none;
}

.updates h5 {
    margin: 15px;
}

.updates ul li {
    position: relative;
    padding: 5px 15px;
    list-style-type: none;
    cursor: default;
}

.updates .title {
    display: block;
    font-weight: bold;
}

.updates .date {
    font-size: 0.8em;
    color: #666;
    font-weight: normal;
    padding-right: 1em;
    padding-top: 1px;
    float: right;
}

.updates em {
    position: absolute;
    z-index: 999;
    top: 5px;
    right: 5px;
    font-size: 0.8em;
    color: #666;
    cursor: pointer;
}

.updates .description {
    font-size: 12px;
    color: #666;
    font-weight: normal;
}

.updates a:hover {
    background-color: #FFF;
    text-decoration: underline;
}

.updates a {
}

.last_updates {
    position: relative;
}

.last_updates li {
    background-color: #EEE;
}

.last_updates a {
    display: block;
    color: #666;
}

.last_updates a:hover {
    background: transparent;
}

.last_updates .badge {
    position: absolute;
    right: 15px;
    top: 1em;
}

/* Sidebar closed: hide last_updates text, keep badge */
.page-sidebar-closed .last_updates a {
    font-size: 0;
    padding: 8px !important;
    text-align: center;
    line-height: 0;
}

.page-sidebar-closed .last_updates a b,
.page-sidebar-closed .last_updates a small,
.page-sidebar-closed .last_updates a br {
    display: none;
}

.page-sidebar-closed .last_updates .badge {
    position: static;
    font-size: 11px;
}


/**
    CARDS
 */
.cards {
    margin-bottom: 1em;
}

.cards .card {
    padding: 10px;
    border: 1px solid #DDD;
}

.cards .card:hover {
    background-color: #F9F9F9;
}

.cards td {
    padding-right: 15px;
    white-space: nowrap;
}

.cards .icon {
    font-size: 30px;
    margin-top: 15px;
}

.cards img.icon {
    margin-left: 0.2em;
}

.cards.cards-space .card {
    margin-top: 1em;
    margin-bottom: 1em;
}

.alert-default {
    background-color: #EEE;
    border-color: #DDD;
    color: #222;
}

.alert-default .alert-default {
    background-color: #F9F9F9;
}

.alert-transparent {
    background-color: transparent !important;
}

.toast-top-center {
    top: 45px;
    width: 400px !important;
    margin-left: -200px;
}

#toast-container > div {
    width: 400px;
}

.fal.red,
.fa.red,
.fas.red,
.fab.red {
    color: red !important;
}

.fa.green,
.fal.green,
.fas.green,
.fab.green {
    color: green !important;
}

.fa.yellow,
.fal.yellow,
.fas.yellow,
.fab.yellow {
    color: yellow !important
}

.form-check-label {
    cursor: pointer;
}

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

.fa-lg {
    font-size: 1.33333em !important;
}

.fa-xs {
    font-size: .75em !important;
}

.fa-sm {
    font-size: .875em !important;
}

.fa-1x {
    font-size: 1em !important;
}

.fa-2x {
    font-size: 2em !important;
}

.fa-3x {
    font-size: 3em !important;
}

.fa-4x {
    font-size: 4em !important;
}

.fa-5x {
    font-size: 5em !important;
}

.fa-6x {
    font-size: 6em !important;
}

.fa-7x {
    font-size: 7em !important;
}

.fa-8x {
    font-size: 8em !important;
}

.fa-9x {
    font-size: 9em !important;
}

.fa-10x {
    font-size: 10em !important;
}

.text-break {
    /* These are technically the same, but use both */
    overflow-wrap: break-word;
    word-wrap: break-word;

    -ms-word-break: break-all;
    /* This is the dangerous one in WebKit, as it breaks things wherever */
    word-break: break-all;
    /* Instead use this non-standard one: */
    word-break: break-word;

    /* Adds a hyphen where the word breaks, if supported (No Blink) */
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
}

.input-group .input-fixed {
    width: 5em !important;
}

label.checkbox,
label.radio-button {
    position: relative;
    cursor: pointer;
}

label.radio-button .label-text {
    position: relative;
    top: 0.3em;
}

/**
    NOTES BADGE
 */
.notes-badge {
    position: relative;
    top: 3px;
    left: 3px;
}

.notes-badge .fas,
.notes-badge .fal {
    font-size: 20px;
    color: #EEDF89
}

.notes-badge span {
    position: absolute;
    top: -4px;
    left: 0;
    right: 2px;
    text-align: center;
    color: #444;
}

/**
    TOOLTIPS
 */
div.tooltip .tooltip-inner {
    max-width: 400px;
}

div.tooltip .tooltip-inner ul {
    margin: .5em 1em;
}

div.tooltip .tooltip-inner li {
    text-align: left;
}

div.tooltip .tooltip-inner li > em {
    margin-right: .5em;
}

div.tooltip .tooltip-inner li span {
    position: relative;
    display: block;
    margin: .5em;
}

div.tooltip .tooltip-inner li em {
    font-style: normal;
    float: right;
    margin-left: 2em;
}

li [class*="icon-"] {
    display: inline-block;
    width: 1.25em;
    text-align: center;
}

.help-block.text-success {
    color: #3c763d;
}

.help-block.text-danger {
    color: #a94442;
}

/**
    INTERNAL FAQ's
 */
#internal-faq {
    background: #F4F4F4;
    padding-top: 1em;
    padding-bottom: .5em;
    margin-bottom: 2em;
}

#internal-faq .list {
    margin: 1em;
}

#internal-faq .list-item {
    padding-left: 0;
}

#internal-faq h5 {
    margin: 0 15px;
}

#internal-faq .helpful-row {
    font-size: 12px;
    padding-bottom: 1em;
    padding-right: 1em;
}

#internal-faq a.helpful {
    cursor: pointer;
}

#internal-faq a.helpful .fa-thumbs-up {
    color: #6AC259
}

#internal-faq a.helpful .fa-thumbs-down {
    color: red;
}

#internal-faq .faq-item-link {
    display: block;
    margin: .2em 0;
}

#internal-faq-body {
    margin: .5em 1.5em;
    padding: 1em;
    background: #FFF;
}

#internal-faq.testing {
    border: 1px solid #4caa44;
}

#internal-faq.testing h5.text-muted {
    color: #3c763d;
    font-weight: bold !important;
}

/**
    FORM IMAGES
 */
.form-image {
    position: relative;
}

.form-image em {
    position: absolute;
    z-index: 1;
    top: .3em;
    right: .3em;
    cursor: pointer;
}

/**
    EFFECTS
 */
.animation-pulse {
    animation: pulse 1s 3;
    animation-delay: 2s;
}

@keyframes pulse {
    0%, 70% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/**
    SUPPORT BUTTON
 */
.header-inner .btn {
    padding: .8em 20px;
    color: #FFF !important;
}

#support {
    margin-bottom: 1em;
}

#support h2 {
    margin-top: 0;
}

#support p {
    line-height: 1.4em;
}

#support .btn {
    margin-top: 1em;
}

.header.navbar .navbar-nav {
    margin-right: 0 !important;
}

.portlet > .portlet-title > .actions > .btn-group .btn-group.bootstrap-select .btn {
    padding: 4px 10px;
    margin-top: -1px;
}

/**
    DATEPICKER WEEK HOVER
 */
.datepicker-week .datepicker-days table tbody tr:hover {
    background-color: #eee;
}

.info-messages > .row {
    border-bottom: 1px solid #CCC;
}

/**
    HIDE / BLUR CONTENT
 */
.page-content.hide-content-layer {
    position: relative;
}

.hide-content-layer .alert-danger {
    position: relative;
    z-index: 100;
}

#hide-content-layer {
    position: absolute;
    z-index: 99;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    filter: blur(4px);
    backdrop-filter: blur(4px);
}

.swal-height {
    height: 98vh;
}

.swal-height.swal-padding {
    padding: 3em;
}

.swal-height.swal-padding iframe {
    height: 90vh;
}

.swal-height iframe {
    height: 97vh;
}

.swal-height.with-buttons iframe {
    height: 90vh;
}

.swal2-container {
    z-index: 100060 !important;
}

.swal2-shown .datepicker-dropdown,
.swal2-shown .modal,
.tooltip {
    z-index: 100100 !important;
}

.modal-footer .btn + .btn {
    margin-left: 0;
}

.modal {
    z-index: 999999 !important;
}

.cursor-help {
    cursor: help !important;
}

.btn-purple,
.badge .purple {
    background-color: #7e4c8c;
    color: #fff;
}

.text-purple {
    color: #7e4c8c;
}

.update_courseday_note textarea {
    width: 100%;
    display: block;
    background: rgba(255, 255, 255, .5);
    border: 1px solid #999;
    margin-bottom: .5em;
    min-height: 6em;
}

.label-male {
    background-color: lightskyblue;
}

.label-female {
    background-color: hotpink;
}

/**
    PHONE SUPPORT
 */
.phone-support .page-content {
    margin-left: 0 !important;
    padding-top: 20px !important;
}

/**
    TABLE ROW
 */

@media (min-width: 800px) {
    .table-row {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        flex-wrap: wrap;
    }

    .table-row > [class*="col-"] {
        display: flex;
        flex-direction: column;
    }

    .table-row > [class*="col-"] .portlet {
        height: 100%;
    }

    .table-row > [class*="col-"] .portlet-body {
        height: calc(100% - 2.85em);
    }
}

/**
    NESTED DATA TABLE
 */
table.data {
    width: 100%;
}

table.data tr td:first-child {
    width: 170px;
}

table.data .checker {
    margin-left: 0;
}

table.data.list-table th,
table.data.list-table td {
    padding: .2em 0;
}

/**
    POPOVER WIDTH
 */
@media only screen and (min-width: 600px) {
    .popover {
        max-width: 500px;
    }
}

/**

 */
.input-width-100 {
    width: 100px !important;
}

.scroll {
    overflow: hidden;
    max-height: 140px;
    overflow-y: auto;
}

.colorpicker.dropdown-menu {
    z-index: 999999 !important;
}

/**
    HELP VIDEOS
 */
#help-videos {
    background: #f4f4f4;
    padding: .4em 1.5em;
}

#help-videos li,
#help-videos a {
    display: inline-block;
    position: relative;
}

#help-videos .delete {
    position: absolute;
    top: .2em;
    right: .4em;
    z-index: 99999;
}

#help-videos img {
    max-width: 18em;
}

#help-videos .help-bg {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(0, 0, 0, .5);
    transition: opacity .6s;
}

#help-videos a:hover span {
    opacity: 0;
}

#help-videos .help-bg span {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    text-align: center;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, .9);
    font-size: 1.3em;
}

/**
    UPLOAD BUTTON
 */
.btn-file {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn-file input {
    position: absolute;
    font-size: 50px;
    opacity: 0;
    right: 0;
    top: 0;
    cursor: pointer;
}

/**
    responsive videos
 */
.embed-responsive {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden
}

.embed-responsive::before {
    display: block;
    content: ""
}

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

.embed-responsive-21by9::before {
    padding-top: 42.85714%
}

.embed-responsive-16by9::before {
    padding-top: 56.25%
}

.embed-responsive-4by3::before {
    padding-top: 75%
}

.embed-responsive-1by1::before {
    padding-top: 100%
}

/**
    misc
 */
@media (min-width: 768px) {
    .text-md-left {
        text-align: left !important;
    }

    .text-md-right {
        text-align: right !important;
    }

    .text-md-center {
        text-align: center !important;
    }
}

.label-info a,
.badge-info a {
    color: #FFF;
}

.table-vertical-middle td {
    vertical-align: middle !important;
}

/**
    EMAIL / PHONE VERIFICATION
 */
.swal2-verification {
    padding-top: 3em !important;
    padding-bottom: 2em !important;
}

.swal2-verification .swal2-header {
    margin-bottom: 1em !important;
}

#verification-form .radio-button {
    padding-right: .5em;
}

#verification-form .radio-button input {
    margin: 0;
}

#verification-form label.radio-button .label-text {
    top: -.1em;
}

#verification-form .inline-labels .col-md-8 > div {
    display: inline-block;
}

/**
    MOBILE
 */

@media only screen and (max-width: 600px) {
    .portlet.light {
        padding: 0;
    }

    .portlet.light.bordered {
        border-left: 0 !important;
        border-right: 0 !important;
    }

    .fc-scroller {
        overflow: auto !important
    }

    .fc-month-view .fc-week-number {
        display: none !important;
    }
}

/**
    CUSTOM BUTTONS
 */
.btn-black {
    background-color: #000;
    color: #FFF;
    -webkit-box-shadow: 0px 3px 0px 0px #222;
    -moz-box-shadow: 0px 3px 0px 0px #222;
    box-shadow: 0px 3px 0px 0px #222;
}

.btn-black:hover, .btn-black:focus, .btn-black.active {
    color: rgba(255, 255, 255, .8) !important;
}

/**
    LIVE CHAT AGENT HEADER ICON
 */
@keyframes chatAgentPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.chat-agent-pulse {
    animation: chatAgentPulse 2s ease-in-out infinite;
}

#chat-agent-count {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 10px;
    min-width: 16px;
    height: 16px;
    line-height: 16px;
    padding: 0 4px;
    border-radius: 8px;
}

/* Hover-open for Erste Schritte & QuickLinks */
.header.navbar .hor-menu .nav > li.mega-menu-full,
.header.navbar .hor-menu .nav > li.classic-menu-dropdown {
    position: relative;
}

.header.navbar .hor-menu .nav > li.mega-menu-full:hover > .dropdown-menu,
.header.navbar .hor-menu .nav > li.classic-menu-dropdown:hover > .dropdown-menu {
    display: block !important;
}

/* Invisible bridge to maintain hover across gap between navbar and dropdown */
.header.navbar .hor-menu .nav > li.mega-menu-full::before,
.header.navbar .hor-menu .nav > li.classic-menu-dropdown::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 20px;
    background: transparent;
    display: none;
    z-index: 10001;
}

.header.navbar .hor-menu .nav > li.mega-menu-full:hover::before,
.header.navbar .hor-menu .nav > li.classic-menu-dropdown:hover::before {
    display: block;
}

/* Header Dropdown Arrow (QuickLinks) */
.header.navbar .hor-menu .nav > li.classic-menu-dropdown > .dropdown-menu:before {
    position: absolute;
    top: -9px;
    left: 18px;
    display: inline-block !important;
    width: 0 !important;
    height: 0 !important;
    border-top: none !important;
    border-right: 9px solid transparent !important;
    border-bottom: 9px solid rgba(0, 0, 0, 0.12) !important;
    border-left: 9px solid transparent !important;
    content: '' !important;
}

.header.navbar .hor-menu .nav > li.classic-menu-dropdown > .dropdown-menu:after {
    position: absolute;
    top: -7px;
    left: 19px;
    display: inline-block !important;
    width: 0 !important;
    height: 0 !important;
    border-top: none !important;
    border-right: 8px solid transparent !important;
    border-bottom: 8px solid #fff !important;
    border-left: 8px solid transparent !important;
    content: '' !important;
}

/* QuickLinks Dropdown Styling (matching Mega Menu) */
.header.navbar .hor-menu .classic-menu-dropdown > .dropdown-menu {
    background: #fff !important;
    border: none !important;
    box-shadow: 6px 10px 25px rgba(0, 0, 0, 0.12), -6px 10px 25px rgba(0, 0, 0, 0.12), 0 3px 8px rgba(0, 0, 0, 0.06) !important;
    padding: 8px 0 !important;
    margin-top: 8px !important;
}

.header.navbar .hor-menu .classic-menu-dropdown .dropdown-menu li > a {
    color: #555 !important;
    background: transparent !important;
}

.header.navbar .hor-menu .classic-menu-dropdown .dropdown-menu li > a:hover,
.header.navbar .hor-menu .classic-menu-dropdown .dropdown-menu li:hover > a {
    background: #f0f2f5 !important;
    color: #333 !important;
}

.header.navbar .hor-menu .classic-menu-dropdown .dropdown-menu li > a > i {
    color: #999 !important;
}

.header.navbar .hor-menu .classic-menu-dropdown .dropdown-menu li > a:hover > i,
.header.navbar .hor-menu .classic-menu-dropdown .dropdown-menu li:hover > a > i {
    color: #666 !important;
}

.header.navbar .hor-menu .classic-menu-dropdown .dropdown-submenu > .dropdown-menu {
    background: #fff !important;
    border-radius: 0 6px 6px 6px !important;
    border: none !important;
    box-shadow: 4px 6px 20px rgba(0, 0, 0, 0.1), 0 2px 6px rgba(0, 0, 0, 0.06) !important;
    padding: 8px 0 !important;
}

.header.navbar .hor-menu .classic-menu-dropdown .dropdown-submenu > a:after {
    border-left-color: #999 !important;
}

/* Header Dropdown Arrow (Mega Menu Erste Schritte) */
.header.navbar .hor-menu .nav > li.mega-menu-full > .dropdown-menu:before {
    position: absolute;
    top: -9px;
    left: var(--arrow-left, 130px);
    display: inline-block !important;
    width: 0 !important;
    height: 0 !important;
    border-top: none !important;
    border-right: 9px solid transparent !important;
    border-bottom: 9px solid rgba(0, 0, 0, 0.12) !important;
    border-left: 9px solid transparent !important;
    content: '' !important;
    z-index: 10001;
}

.header.navbar .hor-menu .nav > li.mega-menu-full > .dropdown-menu:after {
    position: absolute;
    top: -8px;
    left: calc(var(--arrow-left, 130px) + 1px);
    display: inline-block !important;
    width: 0 !important;
    height: 0 !important;
    border-top: none !important;
    border-right: 8px solid transparent !important;
    border-bottom: 8px solid #fff !important;
    border-left: 8px solid transparent !important;
    content: '' !important;
    z-index: 10001;
}

/* Header Mega Steps Menu */
.mega-menu-full > .dropdown-menu {
    position: fixed !important;
    top: 50px !important;
    left: 10% !important;
    right: 10% !important;
    width: 80%;
    margin: 0 !important;
    border-radius: 0 0 6px 6px !important;
    border: none;
    box-shadow: 6px 10px 25px rgba(0, 0, 0, 0.12), -6px 10px 25px rgba(0, 0, 0, 0.12), 0 3px 8px rgba(0, 0, 0, 0.06) !important;
    z-index: 10000;
}

/* Wider when 2 subgroups */
.mega-menu-full > .dropdown-menu:has(.subgroups-2) {
    left: 7% !important;
    right: 7% !important;
    width: 86%;
}

@media (min-width: 1024px) and (max-width: 1440px) {
    .mega-menu-full > .dropdown-menu,
    .mega-menu-full > .dropdown-menu:has(.subgroups-2) {
        left: 0 !important;
        right: 0 !important;
        width: 100%;
        border-radius: 0 !important;
    }
}

/* Widest when 3 subgroups */
.mega-menu-full > .dropdown-menu:has(.subgroups-3) {
    left: 3% !important;
    right: 3% !important;
    width: 94%;
}

/* Sidebar closed: shift mega menu left */
.page-sidebar-closed .mega-menu-full > .dropdown-menu {
    left: 46px !important;
    right: 15% !important;
    width: auto;
}

.mega-steps-layout {
    display: flex;
    background: #fff;
}

.mega-steps-columns {
    flex: 1;
    display: flex;
    min-width: 0;
}

.mega-step {
    flex: 1;
    border-right: 1px solid #f0f2f5;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.mega-step::after {
    position: absolute;
    right: 5px;
    bottom: -5px;
    font-size: 80px;
    font-weight: 700;
    color: #f0f2f4;
    line-height: 1;
    pointer-events: none;
    z-index: 0;
}

.mega-step:nth-child(1)::after {
    content: '1';
}

.mega-step:nth-child(2)::after {
    content: '2';
}

.mega-step:nth-child(3)::after {
    content: '3';
}

.mega-step:nth-child(4)::after {
    content: '4';
}

.mega-step:nth-child(5)::after {
    content: '5';
}

.mega-step:has(.subgroups-2) {
    flex: 2;
}

.mega-step:has(.subgroups-3) {
    flex: 3;
}

@media (max-width: 1799px) {
    .mega-step:has(.subgroups-3) {
        flex: 1;
    }

    .mega-step-subgroups.subgroups-3 {
        flex-direction: column;
    }
}

.mega-step:last-child {
    border-right: none;
}

.mega-step-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px 10px;
    min-height: 52px;
}

.mega-step-icon {
    font-size: 26px;
    flex-shrink: 0;
}

.mega-step-title {
    font-size: 13px;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.25;
}

.mega-step-optional {
    font-size: 10px;
    color: #999;
    font-weight: 400;
    font-style: italic;
    margin-left: auto;
}

.mega-step-subgroups {
    display: flex;
}

.mega-step-subgroup {
    flex: 1;
    padding: 0 0 4px;
    min-width: 0;
}

.mega-step-subgroup-title {
    display: block;
    padding: 6px 16px 2px;
    font-size: 11px;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.mega-step-subgroup-title i {
    width: 16px;
    text-align: center;
    margin-right: 4px;
}

.mega-step-subgroup .mega-step-links {
    padding-bottom: 4px;
}

.mega-step-links {
    list-style: none;
    margin: 0;
    padding: 0 0 10px;
}

.mega-step-links li a {
    display: flex;
    align-items: center;
    height: 30px;
    padding: 0 16px;
    font-size: 12.5px;
    color: #555 !important;
    text-decoration: none !important;
    transition: background 0.15s ease, color 0.15s ease;
    position: relative;
    z-index: 1;
}

.mega-step-links li a:hover,
.header.navbar .hor-menu .mega-menu-dropdown .dropdown-menu .mega-step-links li a:hover {
    background: #f0f2f5 !important;
    color: #333 !important;
}

.mega-step-links li a .fal {
    width: 26px;
    text-align: center;
    margin-left: 10px;
    margin-right: 12px;
    font-size: 11px;
    color: #bcc3cb;
    flex-shrink: 0;
}

.mega-step-links li a:hover .fal {
    color: #666;
}

/* Info panel (right side, 25%) */
.mega-steps-info {
    width: 20%;
    flex-shrink: 0;
    background: #d9edf7;
    border-left: 1px solid #bce8f1;
    color: #31708f;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
}

.mega-steps-info-head {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 4px;
    min-height: 52px;
}

.mega-steps-info-head .fal {
    font-size: 26px;
    color: #4c87b9;
}

.mega-steps-info-text {
    font-size: 12.5px;
    color: #7b8a99;
    line-height: 1.55;
}

/* Hover info: handleMegaStepsInfo() in custom.js updates .mega-steps-info-text on link hover */

.mega-steps-footer {
    text-align: center;
    padding: 8px 14px;
    border-top: 1px solid #eef0f3;
    background: #fafbfc;
}

.mega-steps-footer a {
    color: #4c87b9 !important;
    font-size: 12px;
    text-decoration: none;
}

.mega-steps-footer a:hover {
    text-decoration: underline;
}

.mega-steps-footer a .fal {
    margin-right: 4px;
}

/* Next Steps */
#next-steps .portlet-body {
    padding: 0;
    background: linear-gradient(160deg, #fafbfd 0%, #f2f4f7 100%);
}

.next-steps-onboarding {
    padding: 16px 20px 0;
}

.next-steps-onboarding .alert {
    margin-bottom: 0;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.next-steps-onboarding .alert > .fal {
    font-size: 22px;
    flex-shrink: 0;
}

/* Next Steps checklist cards */
.next-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 14px;
}

.next-step-card {
    background: #fff;
    border: 1px solid #e4e8ed;
    border-radius: 10px;
    padding: 14px;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.next-step-card:hover {
    border-color: #d0d8e0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.next-step-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f2f5;
}

.next-step-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef4fa;
    border-radius: 8px;
    color: #4c87b9;
    font-size: 16px;
    flex-shrink: 0;
}

.next-step-title {
    font-size: 12.5px;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.3;
}

.next-step-checklist {
    list-style: none;
    margin: 0;
    padding: 0;
}

.next-step-checklist li {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 2px 0;
    margin: 0;
    font-size: 12px;
    line-height: 1.35;
}

.next-step-checklist li .fal {
    flex-shrink: 0;
    font-size: 12px;
    color: #c5cdd6;
}

.next-step-checklist li.done .fal {
    color: #34A94F;
}

.next-step-checklist li.done a {
    text-decoration: line-through;
    color: #a0aab4;
}

.next-step-checklist li a {
    color: #4c87b9;
    text-decoration: none;
}

.next-step-checklist li a:hover {
    text-decoration: underline;
}

@media (max-width: 992px) {
    .next-steps-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 14px;
    }
}

/* Sidebar closed: shrink navbar-brand to icon only */
.header.navbar .navbar-brand {
    transition: width 0.2s ease;
}

.page-sidebar-closed .header.navbar .navbar-brand {
    width: 45px;
    font-size: 0;
    overflow: hidden;
}

.page-sidebar-closed .header.navbar .navbar-brand .icon-admin {
    font-size: 18px;
}

/* Wizard */
.sw .toolbar {
    padding: 0 2.0rem 2rem !important;
}

/* Module Cards (shared: wizard, activate, activate-test-module) */
.module-card-icon {
    font-size: 3em;
    color: #bbb;
    margin-bottom: 10px;
    padding-top: 25px;
}

.module-card-icon i {
    font-size: 1.5em;
}

.module-card.active .module-card-icon,
.module-card.bg-grey-steel .module-card-icon {
    color: #3170B5;
}

.module-card-name {
    font-weight: 600;
    margin-bottom: 5px;
}

.module-card .md-checkbox-list {
    display: flex;
    justify-content: center;
}

.inactive-modules-toggle {
    padding-top: 2em !important;
}

ul.page-sidebar-menu > li.inactive-modules-toggle > a {
    border-top: none !important;
    color: #AAA !important;
    font-size: 1em !important;
}

ul.page-sidebar-menu > li.support-links {
    border-bottom: 1px solid #ccc;
}

ul.page-sidebar-menu > li.support-links > a {
    display: inline-block;
    min-width: 38%;
    margin: 0 1.5% !important;
    color: #fff !important;
}

ul.page-sidebar-menu > li.support-links > a i {
    color: #fff !important;
}

ul.page-sidebar-menu > li.support-links:hover > a {
    background: transparent !important;
}

ul.page-sidebar-menu > li.support-links .text-info,
ul.page-sidebar-menu > li.support-links .text-info i {
    color: #5bc0de !important;
}

ul.page-sidebar-menu > li.support-links .text-success,
ul.page-sidebar-menu > li.support-links .text-success i {
    color: #5cb85c !important;
}


@media (max-width: 767px) {
    ul.page-sidebar-menu > li.support-links {
        display: block !important
    }
}