/* Write your custom CSS here */

.horizontal-bar {
    top: 65px;
}

.horizontal-bar-menu>ul>li>ul {
    min-width: 200px;
}

.slim-pagetitle .material-icons {
    padding: 5px;
    background: #444;
    color: #ffff;
    border-radius: 50%;
    margin-right: 8px;
    font-size: 20px;
}

.slim-pageheader {
    padding: 15px 0;
}

@media (min-width: 576px) {
    .slim-pageheader {
        margin: 0 0 5px 0;

        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-direction: row-reverse;
    }
}

.slim-pagetitle {
    margin-top: 15px;
    margin-bottom: 10px;
    color: #343a40;
    padding-left: 10px;
    /*border-left: 4px solid #3646C9;*/

    text-transform: uppercase;
    font-weight: 300;
    font-size: 18px;
    letter-spacing: 0.5px;
}

@media (min-width: 576px) {
    .slim-pagetitle {
        margin-top: 0;
        margin-bottom: 0;
    }
}

.slim-breadcrumb {
    margin-bottom: 0;
    padding: 0;
    background-color: transparent;
    font-size: 12px;
}

@media (min-width: 576px) {
    .slim-breadcrumb {
        font-size: 14px;
    }
}

.slim-breadcrumb .breadcrumb-item+.breadcrumb-item::before {
    color: #ced4da;
}

body {
    background-color: #F0F2F7;
}

.horizontal-bar-menu>ul>li>a,
.horizontal-bar-menu>ul>li ul li a {
    color: rgb(43, 85, 118)
}

.loader {
    background: #1b022b;
    /* fallback for old browsers */

}

.loader .spinner-grow {
    top: 50%;
    left: 50%;
    margin: -13px 0 0 -13px;
    position: absolute;
    color: #e86219 !important;
}

.page-sidebar {
    background: #2980b9;
    /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #2c3e50, #2980b9);
    /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #2c3e50, #2980b9);
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

.page-header .navbar ul.navbar-nav>li>a {
    border: 1px solid #d3d3d3;
    box-shadow: 0 0 0.5em rgba(0, 0, 0, 0.1);
}

.slimScrollDiv {
    width: 105% !important;
}



legend {
    margin-bottom: 20px;
    font-size: 21px;
}

output {
    padding-top: 8px;
    font-size: 14px;
    line-height: 1.42857;
}

.form-control {
    height: 36px;
    padding: 7px 0;
    font-size: 14px;
    line-height: 1.42857;
}

@media screen and (-webkit-min-device-pixel-ratio: 0) {

    input[type="date"].form-control,
    input[type="time"].form-control,
    input[type="datetime-local"].form-control,
    input[type="month"].form-control {
        line-height: 36px;
    }

    input[type="date"].input-sm,
    .input-group-sm input[type="date"],
    input[type="time"].input-sm,
    .input-group-sm input[type="time"],
    input[type="datetime-local"].input-sm,
    .input-group-sm input[type="datetime-local"],
    input[type="month"].input-sm,
    .input-group-sm input[type="month"] {
        line-height: 24px;
    }

    input[type="date"].input-lg,
    .input-group-lg input[type="date"],
    input[type="time"].input-lg,
    .input-group-lg input[type="time"],
    input[type="datetime-local"].input-lg,
    .input-group-lg input[type="datetime-local"],
    input[type="month"].input-lg,
    .input-group-lg input[type="month"] {
        line-height: 44px;
    }
}

.radio label,
.checkbox label {
    min-height: 20px;
}

.form-control-static {
    padding-top: 8px;
    padding-bottom: 8px;
    min-height: 34px;
}

.input-sm .input-sm {
    height: 24px;
    padding: 3px 0;
    font-size: 11px;
    line-height: 1.5;
    border-radius: 0;
}

.input-sm select.input-sm {
    height: 24px;
    line-height: 24px;
}

.input-sm textarea.input-sm,
.input-sm select[multiple].input-sm {
    height: auto;
}

.form-group-sm .form-control {
    height: 24px;
    padding: 3px 0;
    font-size: 11px;
    line-height: 1.5;
}

.form-group-sm select.form-control {
    height: 24px;
    line-height: 24px;
}

.form-group-sm textarea.form-control,
.form-group-sm select[multiple].form-control {
    height: auto;
}

.form-group-sm .form-control-static {
    height: 24px;
    min-height: 31px;
    padding: 4px 0;
    font-size: 11px;
    line-height: 1.5;
}

.input-lg .input-lg {
    height: 44px;
    padding: 9px 0;
    font-size: 18px;
    line-height: 1.33333;
    border-radius: 0;
}

.input-lg select.input-lg {
    height: 44px;
    line-height: 44px;
}

.input-lg textarea.input-lg,
.input-lg select[multiple].input-lg {
    height: auto;
}

.form-group-lg .form-control {
    height: 44px;
    padding: 9px 0;
    font-size: 18px;
    line-height: 1.33333;
}

.form-group-lg select.form-control {
    height: 44px;
    line-height: 44px;
}

.form-group-lg textarea.form-control,
.form-group-lg select[multiple].form-control {
    height: auto;
}

.form-group-lg .form-control-static {
    height: 44px;
    min-height: 38px;
    padding: 10px 0;
    font-size: 18px;
    line-height: 1.33333;
}

.form-horizontal .radio,
.form-horizontal .checkbox,
.form-horizontal .radio-inline,
.form-horizontal .checkbox-inline {
    padding-top: 8px;
}

.form-horizontal .radio,
.form-horizontal .checkbox {
    min-height: 28px;
}

@media (min-width: 768px) {
    .form-horizontal .control-label {
        padding-top: 8px;
    }
}

@media (min-width: 768px) {
    .form-horizontal .form-group-lg .control-label {
        padding-top: 13px;
        font-size: 18px;
    }
}

@media (min-width: 768px) {
    .form-horizontal .form-group-sm .control-label {
        padding-top: 4px;
        font-size: 11px;
    }
}

.label {
    border-radius: 2px;
}

.label,
.label.label-default {
    background-color: #FFFFFF;
}

.label.label-inverse {
    background-color: #212121;
}

.label.label-primary {
    background-color: #9c27b0;
}

.label.label-success {
    background-color: #4caf50;
}

.label.label-info {
    background-color: #00bcd4;
}

.label.label-warning {
    background-color: #ff9800;
}

.label.label-danger {
    background-color: #f44336;
}

.label.label-rose {
    background-color: #e91e63;
}

.form-control,
.form-group .form-control {
    border: 0;
    background-image: linear-gradient(#9c27b0, #9c27b0), linear-gradient(#D2D2D2, #D2D2D2);
    background-size: 0 2px, 100% 1px;
    background-repeat: no-repeat;
    background-position: center bottom, center calc(100% - 1px);
    background-color: transparent;
    transition: background 0s ease-out;
    float: none;
    box-shadow: none;
    border-radius: 0;
    font-weight: 400;
}

.form-control::-moz-placeholder,
.form-group .form-control::-moz-placeholder {
    color: #AAAAAA;
    font-weight: 400;
}

.form-control:-ms-input-placeholder,
.form-group .form-control:-ms-input-placeholder {
    color: #AAAAAA;
    font-weight: 400;
}

.form-control::-webkit-input-placeholder,
.form-group .form-control::-webkit-input-placeholder {
    color: #AAAAAA;
    font-weight: 400;
}

.form-control[readonly],
.form-control[disabled],
fieldset[disabled] .form-control,
.form-group .form-control[readonly],
.form-group .form-control[disabled],
fieldset[disabled] .form-group .form-control {
    background-color: transparent;
}

.form-control[disabled],
fieldset[disabled] .form-control,
.form-group .form-control[disabled],
fieldset[disabled] .form-group .form-control {
    background-image: none;
    border-bottom: 1px dotted #D2D2D2;
}

.form-group {
    position: relative;
}

.form-group.label-static label.control-label,
.form-group.label-placeholder label.control-label,
.form-group.label-floating label.control-label {
    position: absolute;
    pointer-events: none;
    transition: 0.3s ease all;
}

.form-group.label-floating label.control-label {
    will-change: left, top, contents;
}

.form-group.label-placeholder:not(.is-empty) label.control-label {
    display: none;
}

.form-group .help-block {
    position: absolute;
    display: none;
}

.form-group.is-focused .form-control {
    outline: none;
    background-image: linear-gradient(#9c27b0, #9c27b0), linear-gradient(#D2D2D2, #D2D2D2);
    background-size: 100% 2px, 100% 1px;
    box-shadow: none;
    transition-duration: 0.3s;
}

.form-group.is-focused .form-control .material-input:after {
    background-color: #9c27b0;
}

.form-group.is-focused.form-info .form-control {
    background-image: linear-gradient(#00bcd4, #00bcd4), linear-gradient(#D2D2D2, #D2D2D2);
}

.form-group.is-focused.form-success .form-control {
    background-image: linear-gradient(#4caf50, #4caf50), linear-gradient(#D2D2D2, #D2D2D2);
}

.form-group.is-focused.form-warning .form-control {
    background-image: linear-gradient(#ff9800, #ff9800), linear-gradient(#D2D2D2, #D2D2D2);
}

.form-group.is-focused.form-danger .form-control {
    background-image: linear-gradient(#f44336, #f44336), linear-gradient(#D2D2D2, #D2D2D2);
}

.form-group.is-focused.form-white .form-control {
    background-image: linear-gradient(#FFFFFF, #FFFFFF), linear-gradient(#D2D2D2, #D2D2D2);
}

.form-group.is-focused.label-placeholder label,
.form-group.is-focused.label-placeholder label.control-label {
    color: #AAAAAA;
}

.form-group.is-focused .help-block {
    display: block;
}

.form-group.has-warning .form-control {
    box-shadow: none;
}

.form-group.has-warning.is-focused .form-control {
    background-image: linear-gradient(#ff9800, #ff9800), linear-gradient(#D2D2D2, #D2D2D2);
}

.form-group.has-warning label.control-label,
.form-group.has-warning .help-block {
    color: #ff9800;
}

.form-group.has-error .form-control {
    box-shadow: none;
}

.form-group.has-error.is-focused .form-control {
    background-image: linear-gradient(#f44336, #f44336), linear-gradient(#D2D2D2, #D2D2D2);
}

.form-group.has-error label.control-label,
.form-group.has-error .help-block {
    color: #f44336;
}

.form-group.has-success .form-control {
    box-shadow: none;
}

.form-group.has-success.is-focused .form-control {
    background-image: linear-gradient(#4caf50, #4caf50), linear-gradient(#D2D2D2, #D2D2D2);
}

.form-group.has-success label.control-label,
.form-group.has-success .help-block {
    color: #4caf50;
}

.form-group.has-info .form-control {
    box-shadow: none;
}

.form-group.has-info.is-focused .form-control {
    background-image: linear-gradient(#00bcd4, #00bcd4), linear-gradient(#D2D2D2, #D2D2D2);
}

.form-group.has-info label.control-label,
.form-group.has-info .help-block {
    color: #00bcd4;
}

.form-group textarea {
    resize: none;
}

.form-group textarea~.form-control-highlight {
    margin-top: -11px;
}

.form-group select {
    appearance: none;
}

.form-group select~.material-input:after {
    display: none;
}

.form-control::-moz-placeholder {
    font-size: 14px;
    line-height: 1.42857;
    color: #AAAAAA;
    font-weight: 400;
}

.form-control:-ms-input-placeholder {
    font-size: 14px;
    line-height: 1.42857;
    color: #AAAAAA;
    font-weight: 400;
}

.form-control::-webkit-input-placeholder {
    font-size: 14px;
    line-height: 1.42857;
    color: #AAAAAA;
    font-weight: 400;
}

.checkbox label,
.radio label,
label {
    font-size: 14px;
    line-height: 1.42857;
    color: #AAAAAA;
    font-weight: 400;
}

label.control-label {
    font-size: 11px;
    line-height: 1.07143;
    color: #AAAAAA;
    font-weight: 400;
    margin: 16px 0 0 0;
}

.help-block {
    margin-top: 0;
    font-size: 11px;
}

.form-group {
    margin: 20px 0 0 0;
}

.form-group .form-control::-moz-placeholder {
    font-size: 14px;
    line-height: 1.42857;
    color: #AAAAAA;
    font-weight: 400;
}

.form-group .form-control:-ms-input-placeholder {
    font-size: 14px;
    line-height: 1.42857;
    color: #AAAAAA;
    font-weight: 400;
}

.form-group .form-control::-webkit-input-placeholder {
    font-size: 14px;
    line-height: 1.42857;
    color: #AAAAAA;
    font-weight: 400;
}

.form-group .checkbox label,
.form-group .radio label,
.form-group label {
    font-size: 14px;
    line-height: 1.42857;
    color: #AAAAAA;
    font-weight: 400;
}

.form-group label.control-label {
    font-size: 11px;
    line-height: 1.07143;
    color: #AAAAAA;
    font-weight: 400;
    margin: 16px 0 0 0;
}

.form-group .help-block {
    margin-top: 0;
    font-size: 11px;
}

.form-group.label-floating label.control-label,
.form-group.label-placeholder label.control-label {
    top: -7px;
    font-size: 14px;
    line-height: 1.42857;
}

.form-group.label-static label.control-label,
.form-group.label-floating.is-focused label.control-label,
.form-group.label-floating:not(.is-empty) label.control-label {
    top: -28px;
    left: 0;
    font-size: 11px;
    line-height: 1.07143;
}

.form-group.label-floating input.form-control:-webkit-autofill~label.control-label label.control-label {
    top: -28px;
    left: 0;
    font-size: 11px;
    line-height: 1.07143;
}

.form-group.form-group-sm {
    padding-bottom: 10px;
    margin: 21px 0 0 0;
}

.form-group.form-group-sm .form-control::-moz-placeholder {
    font-size: 11px;
    line-height: 1.5;
    color: #AAAAAA;
    font-weight: 400;
}

.form-group.form-group-sm .form-control:-ms-input-placeholder {
    font-size: 11px;
    line-height: 1.5;
    color: #AAAAAA;
    font-weight: 400;
}

.form-group.form-group-sm .form-control::-webkit-input-placeholder {
    font-size: 11px;
    line-height: 1.5;
    color: #AAAAAA;
    font-weight: 400;
}

.form-group.form-group-sm .checkbox label,
.form-group.form-group-sm .radio label,
.form-group.form-group-sm label {
    font-size: 11px;
    line-height: 1.5;
    color: #AAAAAA;
    font-weight: 400;
}

.form-group.form-group-sm label.control-label {
    font-size: 9px;
    line-height: 1.125;
    color: #AAAAAA;
    font-weight: 400;
    margin: 16px 0 0 0;
}

.form-group.form-group-sm .help-block {
    margin-top: 0;
    font-size: 9px;
}

.form-group.form-group-sm.label-floating label.control-label,
.form-group.form-group-sm.label-placeholder label.control-label {
    top: -11px;
    font-size: 11px;
    line-height: 1.5;
}

.form-group.form-group-sm.label-static label.control-label,
.form-group.form-group-sm.label-floating.is-focused label.control-label,
.form-group.form-group-sm.label-floating:not(.is-empty) label.control-label {
    top: -25px;
    left: 0;
    font-size: 9px;
    line-height: 1.125;
}

.form-group.form-group-sm.label-floating input.form-control:-webkit-autofill~label.control-label label.control-label {
    top: -25px;
    left: 0;
    font-size: 9px;
    line-height: 1.125;
}

.form-group.form-group-lg {
    padding-bottom: 10px;
    margin: 30px 0 0 0;
}

.form-group.form-group-lg .form-control::-moz-placeholder {
    font-size: 18px;
    line-height: 1.33333;
    color: #AAAAAA;
    font-weight: 400;
}

.form-group.form-group-lg .form-control:-ms-input-placeholder {
    font-size: 18px;
    line-height: 1.33333;
    color: #AAAAAA;
    font-weight: 400;
}

.form-group.form-group-lg .form-control::-webkit-input-placeholder {
    font-size: 18px;
    line-height: 1.33333;
    color: #AAAAAA;
    font-weight: 400;
}

.form-group.form-group-lg .checkbox label,
.form-group.form-group-lg .radio label,
.form-group.form-group-lg label {
    font-size: 18px;
    line-height: 1.33333;
    color: #AAAAAA;
    font-weight: 400;
}

.form-group.form-group-lg label.control-label {
    font-size: 14px;
    line-height: 1;
    color: #AAAAAA;
    font-weight: 400;
    margin: 16px 0 0 0;
}

.form-group.form-group-lg .help-block {
    margin-top: 0;
    font-size: 14px;
}

.form-group.form-group-lg.label-floating label.control-label,
.form-group.form-group-lg.label-placeholder label.control-label {
    top: -5px;
    font-size: 18px;
    line-height: 1.33333;
}

.form-group.form-group-lg.label-static label.control-label,
.form-group.form-group-lg.label-floating.is-focused label.control-label,
.form-group.form-group-lg.label-floating:not(.is-empty) label.control-label {
    top: -32px;
    left: 0;
    font-size: 14px;
    line-height: 1;
}

.form-group.form-group-lg.label-floating input.form-control:-webkit-autofill~label.control-label label.control-label {
    top: -32px;
    left: 0;
    font-size: 14px;
    line-height: 1;
}

select.form-control {
    border: 0;
    box-shadow: none;
    border-radius: 0;
}

.form-group.is-focused select.form-control {
    box-shadow: none;
    border-color: #D2D2D2;
}

select.form-control[multiple],
.form-group.is-focused select.form-control[multiple] {
    height: 85px;
}

.input-group-btn .btn {
    margin: 0 0 7px 0;
}

.form-group.form-group-sm .input-group-btn .btn {
    margin: 0 0 3px 0;
}

.form-group.form-group-lg .input-group-btn .btn {
    margin: 0 0 9px 0;
}

.input-group .input-group-btn {
    padding: 0 12px;
}

.input-group .input-group-addon {
    border: 0;
    background: transparent;
    padding: 6px 15px 0px;
}

.form-group input[type=file] {
    opacity: 0;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
}

.form-control-feedback {
    opacity: 0;
}

.has-success .form-control-feedback {
    color: #4caf50;
    opacity: 1;
}

.has-error .form-control-feedback {
    color: #f44336;
    opacity: 1;
}

.form-horizontal .radio,
.form-horizontal .checkbox,
.form-horizontal .radio-inline,
.form-horizontal .checkbox-inline {
    padding-top: 0;
}

.form-horizontal .radio {
    margin-bottom: 10px;
}

.form-horizontal label {
    text-align: right;
}

.form-horizontal label.control-label {
    margin: 0;
}

.form-newsletter .input-group,
.form-newsletter .form-group {
    float: left;
    width: 78%;
    margin-right: 2%;
    margin-top: 9px;
}

.form-newsletter .btn {
    float: left;
    width: 20%;
    margin: 9px 0 0;
}

.form-group label {
    color: #000;
}

.select2-dropdown {
    padding: 5px 5px !important;
}

.select2-selection.select2-selection--multiple {
    padding: 9px 20px !important;
}

.k-filter-row th,
.k-grid-header th.k-header {
    border-style: none;
}

.select2-selection__choice {
    font-size: 13px !important;
}

.card .card-header {
    font-size: 14px;
}

.card-header.plaincolor {
    background: linear-gradient(60deg, #ab47bc, #8e24aa) !important;
    color: #fff !important;
}

table.dataTable.minipadding td,
table.dataTable.minipadding th {
    padding: 4px 2px !important;

}

.vimeo-full-width {
    padding: 56.25% 0 0 0;
    position: relative;
}

.vimeo-full-width iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.page-content {
    padding: 0 15px;
}

.card-outline {
    background: transparent;
    border: 1px solid #cec8c8 !important;
    box-shadow: 0 0 1.25rem rgba(31, 45, 61, .08) !important;
    height: 100%;
    border-radius: 0px;
}

.card-outline .card-header {
    background: white;
    border-radius: 0px;
}

.card.jumbotron {
    width: calc(100% - 20px);
    min-height: 250px;
    content: '';
    background: linear-gradient(135deg, #011D4A 0%, #448ECB 100%);
    z-index: -3;
    margin-top: -50px;
    border-radius: 0px;
}

.card.jumbotron h2,
.card.jumbotron p {
    color: #fff;
    text-shadow: 0 0 10px #000;
}

.course-widget .fa:before {
    line-height: 1.6;
    padding-right: 1em;
}

.course-widget li {
    list-style: none !important;
}

.course-widget li i {
    width: 20px;
    font-style: normal;
}

.card-light {
    display: block;
    margin-bottom: 10px;
    background: #fafafa;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 20px;
    overflow: hidden;
}

.table-hover-yellow>tbody>tr:hover {
    background-color: #ffff004d;
}

.dtable-container {
    max-width: 100% !important;

}

.dtable-container table {
    white-space: nowrap !important;
    width: 100% !important;
    border-collapse: collapse !important;
}


.red-bg {
    background: red;
    color: #fff;
}

.orange-bg {
    background: #f9af28;
    color: #000;
}

.green-bg {
    background: green;
    color: #fff;
}

.yellow-bg {
    background: yellow
}


@media screen and (max-width: 600px) {

    #portfolio .btn-primary.badge {
        margin-left: 2em
    }
}

.dataTables_filter label {
    background: #ffff000f;
    padding: 0.7em 0.5em;
    border: 1px solid #bababa;
    border-radius: 15px;
    margin-top: 10px;
}

.card .card-body {
    padding: 5px 20px !important;
}

.page-content .main-wrapper {
    padding-top: 5px;
}

select.form-control[multiple],
textarea.form-control {
    padding: 10px;
}

.bg-gradient {
    background: #2980b9 !important;
    /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #2c3e50, #2980b9) !important;
    /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #2c3e50, #2980b9) !important;
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

.group-editable-input {
    display: block;
    margin: 5px 0;
}

.editable-input-prepend {
    padding: 10px;
    border: 1px solid #ededed;
    display: inline-block;
    background: #ededed;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
    padding-left: 15px;
    min-width: 80px;
}

.editable-input-prepend i {
    margin-right: 3px;
}

.editable-input-main {
    padding: 10px;
    border: 1px solid #ededed;
    display: inline-block;
    margin-left: -4px;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    border-left: none;
}

.editable-input-with-pencil {
    text-decoration: none;
    color: inherit;
}

.editable-popup .editable-input {
    display: block;
}

#datetimepicker .datepicker>div {
    display: inherit;
}

.editable-textarea-element .editable-input-prepend {
    display: inline-block;
    border-bottom-left-radius: 0;
    border-top-right-radius: 15px;
}

.editable-textarea-element .editable-input-main {
    display: block;
    border-left: 1px solid #ededed;
    border-bottom-left-radius: 15px;
    margin-left: 0px;
}

.editableform .control-group {
    margin: -10px 0;
    padding: 5px 0 0;
}

.editable-textarea-element textarea.input-large,
.editable-textarea-element .control-group,
.editable-textarea-element .editable-input,
.editable-textarea-element .editable-container {
    width: 100%;
    display: block !important;
}

.editable-input-main.isSelect2element {
    padding: 0 10px 0 10px;
}

.editable-input-main.isSelect2element .select2-container--default .select2-selection--single {
    border: none !important;
}

.editable-input[data-type=text],
.editable-input[data-type=number] {
    margin-left: 25px;
}

.editable-clear-x {
    margin-top: 0px !important
}

.profile-header .profile-name span {
    margin-top: 0px !important
}

.bg-wa {
    color: #fff;
    background: #128C7E;
}

.bg-green {
    color: #fff;
    background: #25ab00;
}

.bg-red {
    color: #fff;
    background: #db2c00;
}

.bg-orange {
    color: #fff;
    background: #db6a00;
}


.bg-blue {
    color: #fff;
    background: #0066db;
}



.deleted {
    text-decoration: line-through;
}

.badge {
    font-size: 100% !important;
}

button[data-mce-name=wavariables] {
    background: #a1f886 !important;
    border-radius: 10px !important;
}

button[data-mce-name=mybsmarttags] {
    background: #a1f886 !important;
    border-radius: 10px !important;
}


.activity-status-4 td {
    background: #d5efcd !important;

}

.activity-status-2 td {
    color: #1d7a00 !important;
    font-weight: bold;
    text-decoration: line-through;
    background: #d5efcd !important;

}

.activity-status-6 td {
    opacity: 0.65;

}

.activity-status-4 td.activityDateCell,
.activity-status-4 td.activityStatusCell {
    color: green !important;
    font-weight: bold;
}

.activity-status-3 td.activityDateCell,
.activity-status-3 td.activityStatusCell {
    color: red !important;
    font-weight: bold;
}

.activity-status-3 td {
    background: #f9e3e3 !important;
}

.activity-status-1 td {
    background: #e3feff !important;
}

table.dataTable tbody tr>.dtfc-fixed-left,
table.dataTable tbody tr>.dtfc-fixed-right {
    background-color: #f4f4f4 !important;
    border-right: 2px solid #ededed;
}





table.dataTable tbody tr>.dtfc-fixed-left,
table.dataTable tbody tr>.dtfc-fixed-right {
    background-color: #f4f4f4 !important;
    border-right: 2px solid #ededed;
}





.connect-container {
    display: flex;
}

.page-sidebar:not(.compact-sidebar .page-sidebar) {
    flex: 0 0 250px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    position: fixed;
    padding-bottom: 15px;
}

.page-container {
    flex: 1;
    margin-left: 310px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}


::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 10px;
    background-color: #ededed;
    height: 10px;

}

::-webkit-scrollbar-thumb {
    border-radius: 15px;
    background-color: rgb(156 156 156);
    box-shadow: 0 0 1px rgba(255, 255, 255, .5);
}

.accordion-menu {
    margin-top: -20px;
}

.dropzone {
    border: 2px dashed #4CAF50;
    padding: 20px;
    border-radius: 10px;
    background: linear-gradient(to right, #f0f0f0, #e0e0e0);
}

.dropzone .dz-message {
    font-size: 18px;
    text-align: center;
    color: #333;
}

.dropzone .dz-message i {
    color: #4CAF50;
}

.checkmark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 5em;
    color: #4CAF50;
    display: none;
}

.dropzone .dz-message i {
    color: #4CAF50;
}

.nav-tabs {
    margin-bottom: 0em;
}

.nav-tabs .nav-link {
    background: #ebebeb;
    border: none;
    border-radius: 15px !important;
    margin: 0.5em;
    text-transform: capitalize;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
    background-color: var(--primary);
    color: white !important;
    border: 1px solid var(--primary);
}


.plaincolor .nav-tabs .nav-link {
    background: transparent;
    border: 1px solid var(--white);
    color: var(--white) !important;
}

.plaincolor .nav-tabs .nav-link:hover {
    background: #ebebeb;
    color: var(--primary) !important;
}

.plaincolor .nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
    background-color: var(--white);
    color: var(--primary) !important;
}

.dropdown-menu.show {
    left: 15px !important;
}


.modal-header .close {
    z-index: 1000;
    padding: 0.8rem 1rem 0.8rem;
}

.modal .modal-content .modal-body .card .card-header.plaincolor {
    border-radius: 15px;
    margin-top: -15px;
}

label.error {
    color: red;
    font-weight: bold;
}

.table td .btn-primary i {
    color: white;
}

#mobile.into-input-loading {
    background-color: #ffffff;
    background-image: url("../img/loading-image.gif");
    background-size: 50px 35px;
    background-position: right center;
    background-repeat: no-repeat;
}

#mobile.into-input-greencheck {
    background-color: #ffffff;
    background-image: url("../img/check.png");
    background-size: 25px 25px;
    background-position: right center;
    background-repeat: no-repeat;
}


.drag-drawflow {
    line-height: 50px;
    padding-left: 20px;
    background: #f1f1f1;
    border-radius: 10px;
    margin: 0.2em 0;
    cursor: move;
    user-select: none;
}

.btn-export {
    float: right;
    position: absolute;
    top: 10px;
    right: 10px;
    color: white;
    font-weight: bold;
    border: 1px solid #0e5ba3;
    background: #4ea9ff;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    z-index: 5;
}

.btn-clear {
    float: right;
    position: absolute;
    top: 10px;
    right: 85px;
    color: white;
    font-weight: bold;
    border: 1px solid #96015b;
    background: #e3195a;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    z-index: 5;
}

.swal-wide {
    width: 80% !important;
}

.btn-lock {
    float: right;
    position: absolute;
    bottom: 10px;
    right: 140px;
    display: flex;
    font-size: 24px;
    color: white;
    padding: 5px 10px;
    background: #555555;
    border-radius: 4px;
    border-right: 1px solid var(--border-color);
    z-index: 5;
    cursor: pointer;
}

.bar-zoom {
    float: right;
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: flex;
    font-size: 24px;
    color: white;
    padding: 5px 10px;
    background: #555555;
    border-radius: 4px;
    border-right: 1px solid var(--border-color);
    z-index: 5;
}

.bar-zoom svg {
    cursor: pointer;
    padding-left: 10px;
}

.bar-zoom svg:nth-child(1) {
    padding-left: 0px;
}

#drawflow {
    position: relative;
    width: calc(100vw - 301px);
    height: calc(100% - 50px);
    top: 40px;
    background: var(--background-color);
    background-size: 25px 25px;
    background-image:
        linear-gradient(to right, #f1f1f1 1px, transparent 1px),
        linear-gradient(to bottom, #f1f1f1 1px, transparent 1px);
}

@media only screen and (max-width: 768px) {
    .col {
        width: 50px;
    }

    .col .drag-drawflow span {
        display: none;
    }

    #drawflow {
        width: calc(100vw - 51px);
    }
}



/* Editing Drawflow */

.drawflow .drawflow-node {
    background: var(--background-color);
    border: 1px solid var(--border-color);
    -webkit-box-shadow: 0 2px 15px 2px var(--border-color);
    box-shadow: 0 2px 15px 2px var(--border-color);
    padding: 0px;
    width: 200px;
}

.drawflow .drawflow-node.selected {
    background: white;
    border: 1px solid #4ea9ff;
    -webkit-box-shadow: 0 2px 20px 2px #4ea9ff;
    box-shadow: 0 2px 20px 2px #4ea9ff;
}

.drawflow .drawflow-node.selected .title-box {
    color: #22598c;
    /*border-bottom: 1px solid #4ea9ff;*/
}

.drawflow .connection .main-path {
    stroke: #4ea9ff;
    stroke-width: 3px;
}

.drawflow .drawflow-node .input,
.drawflow .drawflow-node .output {
    height: 15px;
    width: 15px;
    border: 2px solid var(--border-color);
}

.drawflow .drawflow-node .input:hover,
.drawflow .drawflow-node .output:hover {
    background: #4ea9ff;
}

.drawflow .drawflow-node .output {
    right: 10px;
}

.drawflow .drawflow-node .input {
    left: -10px;
    background: white;
}

.drawflow>.drawflow-delete {
    border: 2px solid #43b993;
    background: white;
    color: #43b993;
    -webkit-box-shadow: 0 2px 20px 2px #43b993;
    box-shadow: 0 2px 20px 2px #43b993;
}

.drawflow-delete {
    border: 2px solid #4ea9ff;
    background: white;
    color: #4ea9ff;
    -webkit-box-shadow: 0 2px 20px 2px #4ea9ff;
    box-shadow: 0 2px 20px 2px #4ea9ff;
}

.drawflow-node .title-box {
    height: 50px;
    line-height: 50px;
    background: var(--background-box-title);
    border-bottom: 1px solid #e9e9e9;
    border-radius: 4px 4px 0px 0px;
    padding-left: 10px;
}

.drawflow .title-box svg {
    position: initial;
}

.drawflow-node .box {
    padding: 10px 20px 20px 20px;
    font-size: 14px;
    color: #555555;

}

.drawflow-node .box p {
    margin-top: 5px;
    margin-bottom: 5px;
}

.drawflow-node.welcome {
    width: 250px;
}

.drawflow-node.slack .title-box {
    border-radius: 4px;
}

.drawflow-node input,
.drawflow-node select,
.drawflow-node textarea {
    border-radius: 4px;
    border: 1px solid var(--border-color);
    height: 30px;
    line-height: 30px;
    font-size: 16px;
    width: 158px;
    color: #555555;
}

.drawflow-node textarea {
    height: 100px;
}


.drawflow-node.personalized {
    background: red;
    height: 200px;
    text-align: center;
    color: white;
}

.drawflow-node.personalized .input {
    background: yellow;
}

.drawflow-node.personalized .output {
    background: green;
}

.drawflow-node.personalized.selected {
    background: blue;
}

.drawflow .connection .point {
    stroke: var(--border-color);
    stroke-width: 2;
    fill: white;

}

.drawflow .connection .point.selected,
.drawflow .connection .point:hover {
    fill: #4ea9ff;
}

.card-glass {
    box-shadow: 0 0 1.25rem rgba(0, 0, 0, .1) !important;
    border-radius: 15px !important;
    background: transparent !important;
    border: 0 !important;
}

.card-glass .card-body {
    padding: 1em 1.2em !important;
}

/* Modal that slides from the right */
.modal-dialog-slide {
    transition: transform 0.4s ease-out;
    /* Smooth transition */
}

.modal-dialog-slide .modal-content {
    overflow-y: auto;
    /* Enable vertical scrolling */
    min-height: 100%;

}

.modal-dialog-slide {
    box-shadow: 0 0 35px #555 !important;

}

.modal-dialog-right {
    position: fixed;
    right: 0;
    top: 50%;
    /* Centered vertically */
    transform: translateX(100%) translateY(-50%);
    /* Start off-screen to the right and centered vertically */
    margin: 0;
    height: 95%;
    /* Set height to 95% */
    width: 33%;
    /* Width to 33% of the screen */
}

.modal.fade.show .modal-dialog-right {
    transform: translateX(0) translateY(-50%);
    /* When opened, it slides in and stays centered */
    right: -10px;
    background: white;
    border-radius: 15px;
    overflow-y: auto;
}


/* Media query for small devices */
@media (max-width: 767.98px) {
    .modal-dialog-right {
        width: 100%;
        /* Occupy full screen on small devices */
        height: 95%;
        /* Maintain height at 95% on small devices */
    }
}

#remoteSideModal .modal-content .modal-body .card .card-header.plaincolor {
    margin-top: 2em !important;
}

#remoteSideModal .modal-header {
    display: none;
}

.activityDescription {

    padding: 1em;
    background: #ededed;
    margin: 1em 0;
    border-radius: 15px;

}

#duediligenceTable .duediligence-status-0 .badge-status,
#duediligenceTable .badge-status {
    border-left: 20px solid Gainsboro !important;
    border-bottom: 2px solid Gainsboro !important;
    border-bottom-right-radius: 0;
    font-size: 1.1em !important;
}

#duediligenceTable .duediligence-status-1 .badge-status,
#duediligenceTable .duediligence-status-3 .badge-status {
    border-left: 20px solid LawnGreen !important;
    border-bottom: 2px solid LawnGreen !important;
}

#duediligenceTable .duediligence-status-2 .badge-status,
#duediligenceTable .duediligence-status-6 .badge-status {
    border-left: 20px solid yellow !important;
    border-bottom: 2px solid yellow !important;
}

#duediligenceTable .duediligence-status-2 .badge-status {
    border-left: 20px solid orange !important;
    border-bottom: 2px solid orange !important;
}

#duediligenceTable .duediligence-status-4 .badge-status {
    border-left: 20px solid red !important;
    border-bottom: 2px solid red !important;
}





#marketingactionsTable .marketingaction-status-0 .badge-status,
#marketingactionsTable .badge-status {
    border-left: 20px solid Gainsboro !important;
    border-bottom: 2px solid Gainsboro !important;
    border-bottom-right-radius: 0;
    font-size: 1.1em !important;
}

#marketingactionsTable .marketingaction-status-1 .badge-status,
#marketingactionsTable .marketingaction-status-3 .badge-status {
    border-left: 20px solid LawnGreen !important;
    border-bottom: 2px solid LawnGreen !important;
}

#marketingactionsTable .marketingaction-status-2 .badge-status,
#marketingactionsTable .marketingaction-status-6 .badge-status {
    border-left: 20px solid yellow !important;
    border-bottom: 2px solid yellow !important;
}

#marketingactionsTable .marketingaction-status-2 .badge-status {
    border-left: 20px solid orange !important;
    border-bottom: 2px solid orange !important;
}

#marketingactionsTable .marketingaction-status-4 .badge-status {
    border-left: 20px solid red !important;
    border-bottom: 2px solid red !important;
}




.editable-input textarea.form-control {
    padding: 0.2em;
}

.popover.editable-container.editable-popup {
    box-shadow: 0 0 35px #4a4a4a;
}

.docunotion-paragraph {
    margin-bottom: 1rem;
    color: #000;
}

.docunotion-heading-1 {
    font-size: 1.7rem;
    font-weight: bold;
    border-bottom: 1px solid var(--primary);
    padding-bottom: 5px;
    margin-bottom: 1.5rem;
}

.docunotion-heading-2 {
    font-size: 1.5rem;
    display: inline-block;
    border-bottom: 1px solid var(--primary);
    font-weight: 300;
    color: var(--primary);
    padding-bottom: 5px;
    margin-bottom: 1.25rem;
}

.docunotion-heading-3 {
    font-size: 1.3rem;
    font-weight: bold;
    border-bottom: 1px solid var(--primary);
    color: var(--primary);
    font-weight: 300;
    padding-bottom: 5px;
    margin-bottom: 1rem;
}

.docunotion-bulleted-list,
.docunotion-numbered-list {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    color: #000;
}

.docunotion-to-do {
    margin-bottom: 1rem;
}

.docunotion-toggle {
    margin-bottom: 1rem;
}

.docunotion-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 1rem;
}

.docunotion-video {
    width: 100%;
    max-width: 600px;
    margin-bottom: 1rem;
}

.docunotion-embed {
    width: 100%;
    min-height: 450px;
    margin-bottom: 1rem;
}

.docunotion-quote {
    font-style: italic;
    border-left: 3px solid #ccc;
    padding-left: 1rem;
    margin-bottom: 1rem;
}

.docunotion-code {
    background-color: #f5f5f5;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.docunotion-callout {
    background-color: #f0f8ff;
    padding: 1rem;
    border-left: 4px solid #007bff;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.docunotion-callout-icon {
    margin-right: 1em;
}

.docunotion-unsupported {
    color: #ff0000;
    margin-bottom: 1rem;
}

.docunotion-file {
    display: inline-block;
    padding: 10px 15px 10px 35px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    position: relative;
}

.docunotion-file::before {
    content: "\f019";
    /* FontAwesome download icon */
    font-family: FontAwesome;
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.docunotion-file:hover {
    background-color: #0056b3;
    transform: scale(1.05);
    color: #fff;
}

.docunotion-file-caption {
    margin-top: 5px;
    font-size: 0.9rem;
    color: #555;
}

nav[data-toggle="toc"] {
    top: 42px;
}

/* small screens */
@media (max-width: 768px) {

    /* override stickyness so that the navigation does not follow scrolling */
    nav[data-toggle="toc"] {
        margin-bottom: 42px;
        position: static;
    }

    /* PICK ONE */
    /* don't expand nested items, which pushes down the rest of the page when navigating */
    nav[data-toggle="toc"] .nav .active .nav {
        display: none;
    }

    /* alternatively, if you *do* want the second-level navigation to be shown (as seen on this page on mobile), use this */
    /*
    nav[data-toggle='toc'] .nav .nav {
      display: block;
    }
    */
}





/* Contenitore generale di Swiper */
.swiper-container {
    max-height: 400px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin-bottom: 40px;
    /* Spazio per i pallini sotto la galleria */
    background-color: #f3f3f3;
}

/* Imposta gli slide centrati */
.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 15px;
}

/* Stile per le immagini */
.swiper-slide img {
    max-width: 100%;
    object-fit: contain;
    border-radius: 15px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* Effetto al passaggio del mouse (hover) */
.swiper-slide img:hover {
    transform: scale(1.07);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Personalizzazione dei pulsanti di navigazione */
.swiper-button-next,
.swiper-button-prev {
    color: #ffffff;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: #007bff;
    /* Colore di sfondo al passaggio del mouse */
}

/* Ridimensiona le frecce all'interno dei pulsanti */
.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 14px;
}

/* Stile per la paginazione (puntini) */
.swiper-pagination {
    position: relative;
    bottom: -10px;
    text-align: center;
    width: 100%;
    margin-top: 10px;
}

/* Personalizzazione dei pallini */
.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #007bff;
    opacity: 0.7;
    border-radius: 50%;
    transition: opacity 0.3s ease, transform 0.3s ease;
    margin: 0 6px;
}

/* Pallini attivi più visibili e con effetto di ingrandimento */
.swiper-pagination-bullet-active {
    opacity: 1;
    transform: scale(1.25);
    background: #ff6600;
}

.opacity-25 {
    opacity: 0.35;

}

.opacity-25:hover {
    cursor: not-allowed;
}


















.custom-navbar.navigation {
    position: fixed;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 350px;
    height: 70px;
    border-radius: 40px;
    background-color: #fff;
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.4);
    z-index: 9999;
}

.custom-navbar ul {
    display: flex;
    padding: 0;
    margin: 0;
    list-style: none;
    width: 100%;
}

.custom-navbar ul li {
    width: 70px;
    height: 70px;
    text-align: center;
    line-height: 70px;
    position: relative;
    z-index: 1;
}

.custom-navbar ul li a {
    color: #333;
    font-weight: 500;
    display: block;
    position: relative;
}

.custom-navbar ul li a .icon {
    font-size: 20px;
}

.custom-navbar ul li a .title {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%) translateY(15%);
    padding: 5px 10px;
    background: #fff;
    border-radius: 7px;
    opacity: 0;
    visibility: hidden;
    transition: 0.5s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.9);
}

.custom-navbar ul li:hover a .title {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(50%);
}


.custom-navbar .indicator {
    position: absolute;
    left: 0;
    width: 70px;
    height: 70px;
    transition: all 0.5s;
}

.custom-navbar .indicator::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    background-color: var(--secondary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: 0.5s;
}

.custom-navbar li:nth-child(1).active~.indicator {
    transform: translateX(calc(70px * 0));
}

.custom-navbar li:nth-child(2).active~.indicator {
    transform: translateX(calc(70px * 1));
}

.custom-navbar li:nth-child(3).active~.indicator {
    transform: translateX(calc(70px * 2));
}

.custom-navbar li:nth-child(4).active~.indicator {
    transform: translateX(calc(70px * 3));
}

.custom-navbar li:nth-child(5).active~.indicator {
    transform: translateX(calc(70px * 4));
}

.custom-navbar .list {
    flex: 1 1 auto;
    text-align: center;
}

.custom-navbar .list a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0px 0;
    font-size: 12px;
    text-decoration: none;
}

.custom-navbar .list .icon {
    font-size: 20px;
    margin-bottom: 2px;
}

.custom-navbar .list .title {
    font-size: 11px;
    line-height: 1;
    margin-top: 2px;
    color: #333;
}


@media (max-width: 768px) {
    .modal-dialog.modal-bottom {
        position: fixed;
        bottom: 0;
        margin: 0;
        width: 100%;
        height: 90%;
        max-width: 100%;
    }
}

#notifContent .notif-item {
    padding: 1rem;
    border-bottom: 1px solid #eee;
    transition: background 0.3s;
    max-height: 9em;
    overflow-y: hidden;
}

#notifContent .notif-item:hover {
    background-color: #f9f9f9;
}

#notifContent .notif-unread {
    background-color: #f1f3f5;
    font-weight: 600;
}



.notif-android-style {
    margin: 0;
    padding: 0;
    transform: translateY(-100%);
    transition: transform 0.3s ease-out;
}

.modal.show .notif-android-style {
    transform: translateY(0);
}

#notifModal .modal-content {
    border-radius: 0;
    border: none;
}

#notifBadge {
    position: relative;
    top: -5px;
    left: 25px;
    background-color: #DF3A3A;
    color: white;
    font-size: 11px;
    font-weight: 600;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    text-align: center;
    line-height: 20px;
    display: block;
    box-shadow: 0 0 0 2px white;
    /* bordo chiaro come su Android/iOS */
}





.navbar-search {
    min-width: 15em;
    background: white;
    /* box-shadow: 0 8px 32px rgba(124,58,237,0.25), 0 18px 40px -10px var(--claila-border-gradient); */
    position: relative;
}

.navbar-search::after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    border-radius: 12px;
    z-index: -1;
    background: var(--claila-border-gradient);
    opacity: 0.45;
    filter: blur(18px);
    pointer-events: none;
}


span.fc-weekday {
    font-size: 0.6em;
}



.profile-name h3 {
    color: #000;
}

.section-card-title {
    color: #5a638a !important;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: bold
}

#spotlight-search-modal {
    position: fixed;
    inset: 0;
    background: rgba(30, 32, 38, 0.0);
    z-index: 9999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

#spotlight-search-modal .spotlight-modal-content {
    margin-top: 20vh;
    background: #fff;
    border-radius: 16px;
    border: 1.5px solid transparent;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .25);
}

.spotlight-modal-content {
    border-width: 3px;
    border-style: solid;
    border-image: linear-gradient(90deg, var(--cu-cyan800) 0%, var(--cu-brightPurple800) 50%, var(--cu-magenta800) 100%) 1;
    box-shadow: 0 12px 32px -8px rgba(124, 58, 237, .25), 0 18px 40px -10px var(--claila-border-gradient);
}

.spotlight-modal-content::after {
    content: "";
    position: absolute;
    left: -3px;
    right: -3px;
    bottom: -3px;
    height: 104%;
    background: var(--claila-border-gradient);
    filter: blur(15px);
    opacity: 1;
    z-index: -1;
    border-radius: 16px;
}

#spotlight-close-btn {
    position: absolute;
    top: 1px;
    right: 3px;
    background: none;
    border: none;
    color: #bdbdbd;
    font-size: 1.3em;
    cursor: pointer;
}

#spotlight-search-modal .spotlight-search-header {
    display: flex;
    align-items: center;
    gap: .7em;
    margin-bottom: 1.2em;
}

#spotlight-search-input {
    flex: 1;
    width: 100%;
    padding: .7em 1em;
    border-radius: 8px;
    border: 1px solid #ededed;
    font-size: 1.1em;
    background: #fff;
    color: #000;
    outline: none;
}

#spotlight-search-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: .5rem;
    margin-bottom: 1em;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    overscroll-behavior-inline: contain;
    overscroll-behavior: contain;
    user-select: none;
    cursor: grab;
    mask-image: linear-gradient(to right, black calc(100% - 16px), transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black calc(100% - 16px), transparent 100%);
}

#spotlight-search-tabs::-webkit-scrollbar {
    display: none;
}

#spotlight-search-tabs.grabbing {
    cursor: grabbing;
}

#spotlight-search-tabs .spotlight-tab {
    flex: 0 0 auto;
    background: #292a33;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: .3em .7em;
    cursor: pointer;
    font-size: .7em;
    font-weight: 500;
}

#spotlight-search-tabs .spotlight-tab.active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
}

#spotlight-search-results {
    max-height: 320px;
    overflow-y: auto;
    margin-bottom: 1em;
}

.spotlight-section-title {
    font-weight: 600;
    font-size: 1.1em;
    color: #444;
    margin-bottom: .5em;
    display: flex;
    align-items: center;
    gap: 7px;
}

.spotlight-result-row {
    padding: .5em 1em;
    border-radius: 7px;
    transition: background .15s;
    display: flex;
    align-items: center;
    gap: .7em;
    cursor: pointer;
    border-bottom: 1px solid #ededed;
}

.spotlight-result-row:hover {
    background: #ededed;
}

.spotlight-result-row a {
    color: #444;
    text-decoration: none;
    font-size: 1em;
    display: flex;
    align-items: center;
    flex: 1;
}

.spotlight-result-info {
    color: #aaa;
    font-size: .89em;
    text-align: right;
    min-width: 80px;
}

:root {
    --myb-cyan: #037ef3;
    --myb-purple: #c52a92;
    --myb-orange: #e4803c;
    --claila-border-gradient: linear-gradient(90deg, var(--myb-cyan) 0%, var(--myb-purple) 50%, var(--myb-orange) 100%);
}

.spotlight-tab i {
    font-size: 10px;
}



.klaila-ai-box {
    margin: 16px 0;
    background: #ffffff;
    border-radius: 12px;
    padding: 12px 16px;
    color: #424761;
    text-align: center;
    font-weight: 500;
    border: 2px solid transparent;
    background-image: linear-gradient(#fff, #fff),
        linear-gradient(90deg, #037ef3 0%, #c52a92 50%, #e4803c 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-shadow: 0 0 8px rgba(3, 126, 243, 0.25),
        0 0 12px rgba(197, 42, 146, 0.2),
        0 0 16px rgba(228, 128, 60, 0.15);
}


.klaila-ai-box-border {

    border: 1px solid transparent !important;
    background-image: linear-gradient(#fff, #fff),
        linear-gradient(90deg, #037ef3 0%, #c52a92 50%, #e4803c 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;

}


.stat-pill {
    background: linear-gradient(135deg, #f7f9fc, #f1f5f9);
    border: 1px solid #e8edf3;
    border-radius: 12px;
    padding: 12px 16px;
    height: 100%;
}

.stat-pill .h3 {
    font-weight: 700;
}

.tag-chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: #eef2ff;
    color: #4f46e5;
    font-size: 12px;
    font-weight: 600;
}

.tag-chip i {
    font-size: 12px;
    margin-right: 6px;
}

.automation-row:hover {
    background: #f8fafc;
    transition: background .2s ease;
}

.sequence-card {
    border: 1px solid #e8edf3;
    border-radius: 12px;
    background: linear-gradient(135deg, #f8fbff, #eef5ff);
    padding: 16px;
    height: 100%;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);
}

.pill-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
}

.timeline-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #22c55e;
    margin-right: 8px;
    display: inline-block;
}

.small-label {
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 11px;
    color: #6b7280;
    font-weight: 700;
}


textarea.textarea-rounded {
    border-radius: 8px !important;
    border: 2px solid rgb(224, 224, 224) !important;
    padding: 12px 15px !important;
    font-size: 14px !important;
    resize: vertical !important;
    transition: 0.3s !important;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 2px 4px !important;
    background-image: none !important;
}

textarea.textarea-rounded:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.3) !important;
    outline: none !important;
}

/* Custom File Upload Styles */
.custom-file-upload {
    position: relative;
}

.file-input-hidden {
    display: none;
}

.file-upload-label {
    display: block;
    cursor: pointer;
    margin: 0;
}

.file-upload-design {
    border: 2px dashed var(--primary);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    background: linear-gradient(135deg, #edf0ff 0%, #ffffff 100%);
    transition: all 0.3s ease;
    color: var(--primary);
}

.file-upload-label:hover .file-upload-design {
    border-color: #0056b3;
    background: linear-gradient(135deg, #e8f0ff 0%, #d8e8ff 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);

}

.file-upload-label.drag-over .file-upload-design {
    border-color: #28a745;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    transform: scale(1.02);
}

.file-item {
    background: #f8f9fa;
    transition: background 0.2s ease;
}

.file-item:hover {
    background: #e9ecef;
}



/* ========================================
   FILE CARD PREMIUM - Modern & Elegant
   Inspired by Dropbox/Notion
   ======================================== */

.file-card-premium {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e8eaed;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    gap: 1rem;
}

.file-card-premium:hover {
    background: #f8f9fa;
    border-color: #dadce0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.file-card-icon-premium {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.file-card-premium:hover .file-card-icon-premium {
    transform: scale(1.05);
}

.file-card-content-premium {
    flex: 1;
    min-width: 0;
}

.file-card-header-premium {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.375rem;
}

.file-card-name-premium {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #202124;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.file-card-header-premium .badge {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    flex-shrink: 0;
}

.file-card-meta-premium {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: #5f6368;
}

.file-card-meta-premium i {
    font-size: 0.75rem;
    margin-right: 0.25rem;
    opacity: 0.7;
}

.file-card-meta-premium .meta-separator {
    color: #dadce0;
    font-weight: 300;
}

.file-card-actions-premium {
    display: flex;
    gap: 0.375rem;
    flex-shrink: 0;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.file-card-premium:hover .file-card-actions-premium {
    opacity: 1;
}

.file-action-btn {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #5f6368;
    transition: all 0.15s ease;
    text-decoration: none;
}

.file-action-btn:hover {
    background: #e8eaed;
    color: #202124;
    text-decoration: none;
}

.file-action-btn i {
    font-size: 0.875rem;
}

.file-card-actions-premium .btn-danger {
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-card-actions-premium .btn-danger:hover {
    background: #fce8e6;
    border-color: #fce8e6;
    color: #d93025;
}

/* Responsive */
@media (max-width: 768px) {
    .file-card-premium {
        padding: 0.875rem 1rem;
        gap: 0.75rem;
    }

    .file-card-icon-premium {
        width: 48px;
        height: 48px;
    }

    .file-card-icon-premium i {
        font-size: 1.5rem !important;
    }

    .file-card-name-premium {
        font-size: 0.875rem;
    }

    .file-card-meta-premium {
        font-size: 0.75rem;
        flex-wrap: wrap;
    }

    .file-card-actions-premium {
        opacity: 1;
    }
}

/* Animation on load */
@keyframes slideInFile {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.file-card-premium {
    animation: slideInFile 0.3s ease-out backwards;
}

.file-card-premium:nth-child(1) {
    animation-delay: 0.05s;
}

.file-card-premium:nth-child(2) {
    animation-delay: 0.1s;
}

.file-card-premium:nth-child(3) {
    animation-delay: 0.15s;
}

.file-card-premium:nth-child(4) {
    animation-delay: 0.2s;
}

.file-card-premium:nth-child(5) {
    animation-delay: 0.25s;
}

/* ========================================
   NEW TICKET BUTTON - Prominent & Modern
   ======================================== */

.new-ticket-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    font-weight: 600;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
}

.new-ticket-btn:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
    transform: translateY(-2px);
}

.new-ticket-btn:active {
    transform: translateY(0);
}

/* ========================================
   TICKET MODAL - Modern & Clean Design
   ======================================== */

.ticket-modal-modern {
    border: none;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.ticket-modal-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #e0e0e0;
    border-radius: 16px 16px 0 0;
    padding: 1.5rem 2rem;
}

.ticket-modal-header .modal-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #202124;
}

.ticket-modal-header small {
    color: #5f6368;
    font-size: 0.875rem;
}

.ticket-modal-body {
    padding: 2rem;
    background: #ffffff;
}

.ticket-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.ticket-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.ticket-section-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #202124;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
}

.ticket-section-title i {
    color: #667eea;
    font-size: 1rem;
}

.form-label-modern {
    font-size: 0.875rem;
    font-weight: 600;
    color: #3c4043;
    margin-bottom: 0.5rem;
}

.form-control-modern {
    border: 2px solid #e8eaed;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
}

.form-control-modern:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-control-modern::placeholder {
    color: #9aa0a6;
}

.ticket-modal-footer {
    background: #f8f9fa;
    border-top: 1px solid #e0e0e0;
    border-radius: 0 0 16px 16px;
    padding: 1.25rem 2rem;
}

.btn-create-ticket {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 0.625rem 1.75rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.btn-create-ticket:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .ticket-modal-body {
        padding: 1.5rem;
    }

    .ticket-section {
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
    }

    .new-ticket-btn {
        padding: 0.625rem 1.5rem;
        font-size: 0.9375rem;
    }
}


/* ========================================
   GLOBAL BOOTSTRAP 4 THEME OVERRIDE
   Modern & Consistent Design System
   ======================================== */

/* === MODALS === */
.modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.modal-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #e0e0e0;
    border-radius: 12px 12px 0 0;
    padding: 1.25rem 1.5rem;
}

.modal-title {
    font-weight: 600;
    color: #202124;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    background: #f8f9fa;
    border-top: 1px solid #e0e0e0;
    border-radius: 0 0 12px 12px;
    padding: 1rem 1.5rem;
}

/* === CARDS === */
.card {
    border: 1px solid #e8eaed;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.2s ease;
}

.card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.card-header {
    background: #ffffff;
    border-bottom: 1px solid #e8eaed;
    border-radius: 10px 10px 0 0;
    padding: 1rem 1.25rem;
    font-weight: 600;
    color: #202124;
}

.card-body {
    padding: 1.25rem;
}

.card-footer {
    background: #f8f9fa;
    border-top: 1px solid #e8eaed;
    border-radius: 0 0 10px 10px;
    padding: 1rem 1.25rem;
}

/* === BUTTONS === */
.btn {

    transition: all 0.2s ease;

}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}


/* === FORM CONTROLS === */
.form-control {

    border-radius: 6px;
    padding: 0.625rem 0.875rem;
    transition: all 0.2s ease;
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-control::placeholder {
    color: #9aa0a6;
}

label {
    font-weight: 500;
    color: #3c4043;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

/* === BADGES === */
.badge {
    border-radius: 4px;
    padding: 0.35em 0.65em;
    font-weight: 600;
    font-size: 0.8125rem;
}

.badge-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* === TABLES === */
.table {
    border-radius: 8px;
    width: 100%;
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}

.table thead th {
    background: #f8f9fa;
    border-bottom: 2px solid #e8eaed;
    font-weight: 600;
    color: #3c4043;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.875rem;
    white-space: nowrap;
}

.table tbody tr {
    transition: background-color 0.15s ease;
}

.table-hover tbody tr:hover {
    background-color: #f8f9fa;
}

.table td {
    padding: 0.875rem;
    vertical-align: middle;
}



/* === ALERTS === */
.alert {
    border: none;
    border-radius: 8px;
    padding: 1rem 1.25rem;

}

.alert-primary {
    background: #e8eeff;
    border-left-color: #667eea;
    color: #3c4043;
}

.alert-success {
    background: #e6f7ed;
    border-left-color: #28a745;
    color: #3c4043;
}

.alert-danger {
    background: #ffe6e6;
    border-left-color: #dc3545;
    color: #3c4043;
}

.alert-warning {
    background: #fff8e6;
    border-left-color: #ffc107;
    color: #3c4043;
}

/* === DROPDOWNS === */
.dropdown-menu {
    border: 1px solid #e8eaed;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 0.5rem;
}

.dropdown-item {
    border-radius: 4px;
    padding: 0.5rem 0.875rem;
    transition: all 0.15s ease;
    font-weight: 500;
}

.dropdown-item:hover {
    background: #f8f9fa;
    color: #667eea;
}

/* === PAGINATION === */
.pagination .page-link {
    border-radius: 6px;
    margin: 0 0.25rem;
    border: 1px solid #e8eaed;
    padding: 0.5rem 0.875rem;
    color: #5f6368;
    transition: all 0.2s ease;
}

.pagination .page-link:hover {
    background: #667eea;
    border-color: #667eea;
    color: #fff;
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
}

/* === BREADCRUMB === */
.breadcrumb {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 0.75rem 1rem;
}

.breadcrumb-item.active {
    color: #667eea;
    font-weight: 600;
}

/* === LIST GROUP === */
.list-group-item {
    border: 1px solid #e8eaed;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    padding: 0.875rem 1.125rem;
    transition: all 0.2s ease;
}

.list-group-item:hover {
    background: #f8f9fa;
    transform: translateX(4px);
}

.list-group-item.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
}

/* === PROGRESS === */
.progress {
    border-radius: 8px;
    height: 1rem;
    background: #e8eaed;
}

.progress-bar {
    border-radius: 8px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

/* Reduce spacing for consistency */
.modal-body .form-group {
    margin-bottom: 1rem;
}

.ticket-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
}


#pbxtable .btn {
    padding: 0.5em 1em;
}

/* --- Corporate Wiki System --- */

.wiki-page-body {
    background: radial-gradient(circle at 0% 0%, #f1f4ff 0%, #fdfdfe 100%) !important;
    min-height: 100vh;
}

.wiki-breadcrumbs {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: clamp(24px, 5vw, 40px);
    padding: 12px 28px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px) saturate(180%);
    border-radius: 100px;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.1);
    font-size: 0.9rem;
}

.wiki-breadcrumbs a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.wiki-breadcrumbs a:hover {
    color: var(--primary);
    transform: translateY(-1px);
}

.wiki-breadcrumbs i {
    font-size: 1.3rem;
}

.wiki-breadcrumbs span.separator {
    color: #e2e8f0 !important;
    font-weight: 200 !important;
    font-size: 1.4rem !important;
}

.wiki-breadcrumbs span.current-page {
    color: #6c757d;
    font-weight: 600;
}

.wiki-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: clamp(40px, 6vw, 75px) 24px;
    border-radius: 40px;
    margin-bottom: clamp(30px, 5vw, 60px);
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px -15px rgba(0,0,0,0.1);
    animation: wikiHeroAppear 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes wikiHeroAppear {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.wiki-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: wikiRotate 40s linear infinite;
}

.wiki-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(100, 116, 139, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(54, 70, 201, 0.3) 0%, transparent 50%);
    filter: blur(40px);
    animation: wikiPulseGradient 15s ease-in-out infinite alternate;
    z-index: 0;
}

@keyframes wikiPulseGradient {
    0% {
        transform: scale(1) translate(0, 0);
    }

    100% {
        transform: scale(1.2) translate(5%, 5%);
    }
}

@keyframes wikiRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.wiki-hero-content {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.wiki-hero h1 {
    font-weight: 900;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    margin-bottom: 20px;
    letter-spacing: -3px;
    line-height: 1.1;
    color: white !important;
}

.wiki-hero p {
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    opacity: 0.85;
    margin-bottom: 40px;
    max-width: 700px;
    margin-inline: auto;
    font-weight: 500;
    color: white !important;
}

.wiki-search-outer {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.wiki-search-inner input {
    width: 100%;
    padding: 20px 32px 20px 72px !important;
    border-radius: 20px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) saturate(180%);
    color: #0f172a !important;
    font-size: clamp(1rem, 1.2vw, 1.2rem) !important;
    box-shadow: 0 15px 35px -12px rgba(0, 0, 0, 0.2) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.wiki-search-inner input:focus {
    outline: none;
    transform: scale(1.01);
    box-shadow: 0 25px 50px -15px rgba(0, 0, 0, 0.25);
}

.wiki-search-inner i {
    position: absolute;
    left: 28px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    font-size: 28px;
}

.wiki-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px) saturate(180%);
    border-radius: 32px;
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    overflow: hidden;
}

.wiki-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 20px 40px -15px rgba(0,0,0,0.1);
    border-color: var(--primary);
}

.wiki-card-header {
    padding: 32px 32px 0 32px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.wiki-card-header i {
    padding: 12px;
    background: rgba(54, 70, 201, 0.08);
    color: var(--primary);
    border-radius: 16px;
    font-size: 1.8rem;
}

.wiki-card-header h3 {
    font-weight: 850;
    font-size: clamp(1.2rem, 1.8vw, 1.5rem);
    margin: 0;
    letter-spacing: -0.5px;
    color: #1e293b;
}

.wiki-card-body {
    padding: 24px 32px 32px 32px;
}

.wiki-premium-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.wiki-premium-table th {
    padding: 12px 16px;
    text-align: left;
    font-size: 0.7rem;
    font-weight: 800;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.wiki-premium-table td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.wiki-premium-table tr:last-child td {
    border-bottom: none;
}

.wiki-premium-table tr:hover td {
    background: rgba(54, 70, 201, 0.08);
}

.wiki-doc-link {
    text-decoration: none;
    color: #1e293b;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
}

.wiki-doc-link:hover {
    color: var(--primary);
    transform: translateX(8px);
}

.wiki-doc-header {
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(0,0,0,0.1) !important;
    padding-bottom: 32px !important;
}

.wiki-doc-header h1 {
    font-weight: 900;
    letter-spacing: -2px;
    font-size: clamp(2.2rem, 5vw, 3.2rem) !important;
    line-height: 1.1;
    margin-bottom: 16px;
    color: #0f172a;
}

.wiki-content-wrapper {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px) saturate(180%);
    border-radius: 32px;
    padding: clamp(24px, 4vw, 48px);
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.1);
}

.wiki-content-mdown {
    font-size: clamp(1rem, 1.2vw, 1.15rem);
    line-height: 1.7;
    color: #334155;
}

.wiki-content-mdown h1,
.wiki-content-mdown h2,
.wiki-content-mdown h3 {
    font-weight: 900 !important;
    color: #0f172a !important;
    margin-top: 1.5em !important;
    margin-bottom: 0.6em !important;
    border-bottom: 1px solid rgba(0,0,0,0.1) !important;
    padding-bottom: 0.4em !important;
    letter-spacing: -0.5px !important;
}

.wiki-content-mdown mark {
    background: #fef08a !important;
    padding: 0.1em 0.2em !important;
    border-radius: 4px !important;
}

#wiki-toc {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px) saturate(180%);
    border-radius: 24px;
    padding: 24px;
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.05);
}

#wiki-toc h4 {
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #6c757d;
    margin-bottom: 24px;
}

#wiki-toc .nav-link {
    padding: 12px 16px;
    color: #6c757d;
    font-weight: 600;
    font-size: 0.95rem;
    border-left: 3px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#wiki-toc .nav-link:hover,
#wiki-toc .nav-link.active {
    color: var(--primary) !important;
    border-left-color: var(--primary) !important;
    background: rgba(54, 70, 201, 0.08) !important;
    transform: translateX(5px);
}

.wiki-search-excerpt {
    font-size: 0.9rem;
    color: #6c757d;
    margin-top: 8px;
    font-style: italic;
}

.wiki-badge-category {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 800;
}

.wiki-pdf-viewer-wrapper {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px) saturate(180%);
    border-radius: 32px;
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 20px 40px -15px rgba(0,0,0,0.1);
    overflow: hidden;
    position: relative;
    height: 85vh;
    min-height: 600px;
    display: flex;
    flex-direction: column;
}

.wiki-pdf-viewer-header {
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.5);
    border-bottom: 1px solid rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

#wiki-pdf-render-area {
    flex-grow: 1;
    width: 100%;
    height: 100%;
    border: none;
}

.wiki-pdf-controls {
    display: flex;
    gap: 12px;
}

.wiki-btn-pdf {
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    border: 1px solid rgba(0,0,0,0.1);
    background: white;
    color: #1e293b;
    cursor: pointer;
}

.wiki-btn-pdf:hover {
    background: rgba(54, 70, 201, 0.08);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.wiki-pdf-viewer-wrapper:fullscreen {
    border-radius: 0;
    height: 100vh;
    width: 100vw;
}

.wiki-pdfobject-container {
    height: 100%;
    width: 100%;
}

.wiki-doc-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    align-items: center;
}

.wiki-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: #fff;
    color: #1e293b;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.wiki-meta-item i {
    font-size: 1.1rem;
    color: var(--primary);
}

.wiki-meta-item:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
    background: rgba(54, 70, 201, 0.08);
}

/* Media Queries for Mobile PDF Viewer */
@media (max-width: 768px) {
    .wiki-pdf-viewer-header {
        padding: 10px 12px !important;
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center !important;
    }

    .wiki-pdf-controls {
        width: 100%;
        justify-content: center;
        gap: 6px !important;
    }

    .wiki-pdf-controls>div {
        margin-right: 0 !important;
    }

    .wiki-pdf-scroll-container {
        padding: 10px 5px !important;
    }
}
/* Security: Prevent text selection on protected content */
.wiki-no-select {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* PDF Canvas Viewer Styles */
.wiki-pdf-scroll-container {
    flex-grow: 1;
    overflow-y: auto;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    gap: 20px;
}

.wiki-pdf-page-canvas {
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    background: white;
    max-width: 100%;
    border-radius: 4px;
}

/* Security: Prevent printing */
@media print {
    body * {
        visibility: hidden !important;
    }
    .wiki-pdf-viewer-wrapper,
    .wiki-pdf-viewer-wrapper * {
        display: none !important;
    }
}

/* ============================================================================
   PREMIUM ACTION BUTTONS SYSTEM
   Reusable button styles for consistent UI across the application
   ============================================================================ */

.btn-action-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.85rem;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    cursor: pointer;
    gap: 8px;
    height: 42px;
    white-space: nowrap;
    text-decoration: none;
}

.btn-action-icon i,
.btn-action-icon .material-icons {
    font-size: 1.1rem;
}

/* Primary Meta Button (WhatsApp/Facebook) */
.btn-action-icon.btn-meta {
    background: linear-gradient(135deg, #0866FF 0%, #0052D4 100%);
    color: white !important;
    box-shadow: 0 4px 12px rgba(8, 102, 255, 0.25);
    border: none;
}

.btn-action-icon.btn-meta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(8, 102, 255, 0.35);
    filter: brightness(1.1);
}

.btn-action-icon.btn-meta-synced {
    background: #f0f7ff;
    border: 1px solid #0866FF;
    color: #0866FF !important;
    cursor: default;
    pointer-events: none;
    box-shadow: none;
}

/* Primary Wiki Button (Purple gradient) */
.btn-action-icon.btn-primary-wiki {
    background: linear-gradient(135deg, #9c27b0 0%, #7b1fa2 100%);
    color: white !important;
    box-shadow: 0 4px 12px rgba(156, 39, 176, 0.25);
    border: none;
}

.btn-action-icon.btn-primary-wiki:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(156, 39, 176, 0.35);
    filter: brightness(1.1);
}

/* Edit Button */
.btn-action-icon.btn-edit {
    background: #f8f9fa;
    color: #495057;
    border-color: #dee2e6;
}

.btn-action-icon.btn-edit:hover {
    background: #e9ecef;
    border-color: #ced4da;
    transform: translateY(-2px);
}

/* Delete Button */
.btn-action-icon.btn-delete {
    background: #fff5f5;
    color: #f8285a;
    border-color: #ffe1e7;
}

.btn-action-icon.btn-delete:hover {
    background: #f8285a;
    color: white;
    border-color: #f8285a;
    transform: translateY(-2px);
}

/* Duplicate Button */
.btn-action-icon.btn-duplicate {
    background: #f0f7ff;
    color: #2196f3;
    border-color: #bbdefb;
}

.btn-action-icon.btn-duplicate:hover {
    background: #2196f3;
    color: white;
    border-color: #2196f3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.2);
}

/* Locked Button */
.btn-action-icon.btn-locked {
    background: #f1f3f5;
    color: #868e96;
    border-color: #e9ecef;
    cursor: not-allowed;
    pointer-events: auto;
}

/* =============================================
   Legal Documents Modal & Bottom Bar
   ============================================= */
#legalDocModal .modal-dialog { margin:30px auto; max-width:780px; }
#legalDocModal .modal-content {
    border:none; border-radius:16px; overflow:hidden;
    box-shadow:0 20px 60px rgba(0,0,0,0.15), 0 0 0 1px rgba(0,0,0,0.04);
    max-height:calc(100vh - 60px); display:flex; flex-direction:column;
}
#legalDocModal .modal-backdrop { background:rgba(30,30,60,0.4); }
#legalDocModal .legal-modal-topbar {
    background:#1274E7; color:#fff; padding:7px 20px;
    font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
    font-size:11px; font-weight:600; letter-spacing:0.05em; text-transform:uppercase;
    display:flex; align-items:center; gap:6px; flex-shrink:0;
}
#legalDocModal .legal-modal-topbar i { font-size:14px; }
#legalDocModal .legal-modal-header {
    padding:18px 24px 14px; background:#fff; border-bottom:1px solid #f0f0f0; flex-shrink:0;
}
#legalDocModal .legal-modal-header .legal-doc-icon {
    width:40px; height:40px; border-radius:10px; display:flex; align-items:center; justify-content:center;
    background:linear-gradient(135deg, #e3f2fd 0%, #e8f0fe 100%); flex-shrink:0;
}
#legalDocModal .legal-modal-header .legal-doc-icon i { font-size:20px; color:#1274E7; }
#legalDocModal .legal-modal-header h4 {
    margin:0; font-size:16px; font-weight:700; color:#1a1a2e; line-height:1.3;
}
#legalDocModal .legal-modal-header .legal-version-pill {
    display:inline-block; font-size:10px; font-weight:600; color:#1274E7;
    background:#e3f2fd; padding:2px 8px; border-radius:10px; margin-top:3px;
}
#legalDocModal .legal-modal-header #legalDocContext {
    background:#e3f2fd; color:#1274E7;
}
#legalDocModal .legal-modal-header #legalDocContext.ctx-update {
    background:#fff3e0; color:#e65100;
}
#legalDocModal .legal-modal-header #legalDocContext.ctx-new {
    background:#e8f5e9; color:#2e7d32;
}
#legalDocModal .legal-progress-wrap {
    padding:0; background:#fff; flex-shrink:0;
}
#legalDocModal .legal-progress-wrap .progress {
    height:3px; border-radius:0; background:#f0f0f0; margin:0;
}
#legalDocModal .legal-progress-wrap .progress-bar { background:linear-gradient(90deg, #1274E7, #42a5f5); }
#legalDocModal .legal-progress-text {
    font-size:11px; color:#aaa; padding:6px 24px 4px; margin:0;
}
#legalDocModal .modal-body { padding:0; flex:1; overflow-y:auto; min-height:0; }
#legalDocModal #legalDocContent {
    padding:20px 24px; font-size:13.5px; line-height:1.75;
    color:#333; background:#fff;
}
#legalDocModal #legalDocContent h1,
#legalDocModal #legalDocContent h2,
#legalDocModal #legalDocContent h3,
#legalDocModal #legalDocContent h4,
#legalDocModal #legalDocContent h5 { color:#1a1a2e; }
#legalDocModal .legal-pdf-scroll {
    height:100%; min-height:200px; overflow-y:auto; overflow-x:hidden; background:#f4f5f7;
    display:flex; flex-direction:column; align-items:center; padding:12px; gap:12px;
}
#legalDocModal .wiki-pdf-page-canvas {
    box-shadow:0 1px 6px rgba(0,0,0,0.08); background:#fff; max-width:100%; height:auto !important; border-radius:3px;
}
#legalDocModal .wiki-pdf-viewer-header {
    padding:6px 12px; background:#f9fafb; border-bottom:1px solid #eee;
    display:flex; justify-content:center; align-items:center; flex-shrink:0;
}
#legalDocModal .legal-modal-footer {
    padding:14px 24px 18px; background:#fafbfc; border-top:1px solid #eee; flex-shrink:0;
    box-shadow:0 -2px 12px rgba(0,0,0,0.04);
}
#legalDocModal #legalSignatureSection {
    margin-bottom:14px; padding:0; background:#fffdf5; border:2px dotted #e2c44d;
    border-radius:12px; overflow:hidden;
}
#legalDocModal #legalSignatureSection .sig-header {
    padding:10px 20px; background:#fef9e7;
    border-bottom:1px dotted #e2c44d; display:flex; align-items:center; gap:10px;
}
#legalDocModal #legalSignatureSection .sig-header .sig-icon {
    width:32px; height:32px; border-radius:8px; background:#f5c518;
    display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
#legalDocModal #legalSignatureSection .sig-header .sig-icon i { font-size:16px; color:#fff; }
#legalDocModal #legalSignatureSection .sig-header span { font-size:12.5px; color:#7a6c30; line-height:1.4; }
#legalDocModal #legalSignatureSection .sig-header strong { font-size:13px; color:#5a4e1a; display:block; }
#legalDocModal #legalSignatureSection .sig-body { padding:16px 20px 20px; background:#fffef8; }
#legalDocModal #legalSignatureSection input { font-size:28px; padding:12px 14px; }
#legalDocModal #legalSignatureSection input:focus { border-color:#f5c518; outline:none; box-shadow:inset 0 2px 6px rgba(0,0,0,0.04), 0 0 0 3px rgba(245,197,24,0.15); }
#legalDocModal #legalSignatureSection input::placeholder { color:#bbb; font-size:15px; letter-spacing:0.02em; font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif; font-style:italic; }
#legalDocModal .legal-accept-row {
    display:flex; align-items:center; justify-content:space-between; gap:16px;
}
#legalDocModal .legal-checkbox-label {
    cursor:pointer; user-select:none; display:flex; align-items:center; gap:8px;
    font-size:12.5px; font-weight:600; color:#555;
}
#legalDocModal .legal-checkbox-label input[type="checkbox"] {
    width:16px; height:16px; accent-color:#1274E7; flex-shrink:0;
}
#legalDocModal #legalDocAcceptBtn {
    background:linear-gradient(135deg, #1274E7 0%, #0d5bc4 100%); border:none;
    color:#fff; font-weight:600; font-size:12.5px; padding:9px 20px;
    border-radius:8px; white-space:nowrap; transition:all 0.2s;
}
#legalDocModal #legalDocAcceptBtn:hover:not(:disabled) {
    box-shadow:0 4px 14px rgba(18,116,231,0.35); transform:translateY(-1px);
}
#legalDocModal #legalDocAcceptBtn:disabled { opacity:0.4; cursor:not-allowed; }
@media (max-width:768px) {
    #legalDocModal .modal-dialog { margin:12px auto; width:calc(100% - 24px); max-width:calc(100% - 24px); height:calc(100% - 24px); }
    #legalDocModal .modal-content { border-radius:14px; max-height:calc(100vh - 24px); min-height:0; box-shadow:0 8px 32px rgba(0,0,0,0.25); }
    #legalDocModal .legal-modal-header { padding:14px 16px 10px; }
    #legalDocModal .legal-modal-header h4 { font-size:14px; }
    #legalDocModal .legal-progress-text { padding:6px 16px 4px; }
    #legalDocModal #legalDocContent { padding:14px 16px !important; font-size:13px !important; }
    #legalDocModal .legal-pdf-scroll { padding:8px; gap:8px; }
    #legalDocModal .wiki-pdf-page-canvas { max-width:calc(100vw - 16px); }
    #legalDocModal .legal-modal-footer { padding:10px 14px 14px !important; }
    #legalDocModal .legal-accept-row { flex-direction:column; align-items:stretch; gap:10px; }
    #legalDocModal .legal-checkbox-label { font-size:12px; }
    #legalDocModal #legalDocAcceptBtn { width:100%; text-align:center; padding:11px; font-size:13px; }
    #legalDocModal .wiki-pdf-viewer-header { padding:5px 8px !important; }
    #legalDocModal .wiki-pdf-controls { gap:4px !important; }
    #legalDocModal #legalSignatureSection { margin-bottom:10px; padding:16px 14px; }
    #legalDocModal #legalSignatureSection input { font-size:22px; padding:10px 12px; }
}

/* Legal Bottom Bar (non-blocking docs) */
#legalBottomBar {
    position:fixed; bottom:16px; left:50%; transform:translateX(-50%); z-index:10000;
    width:80%; max-width:1000px;
    background:linear-gradient(135deg, #1a237e 0%, #1565c0 100%);
    color:#fff; padding:0; display:none;
    box-shadow:0 4px 24px rgba(0,0,0,0.35);
    border-radius:16px;
    animation: legalBarSlideUp 0.4s ease-out;
}
@keyframes legalBarSlideUp {
    from { transform:translateX(-50%) translateY(120%); opacity:0; }
    to { transform:translateX(-50%) translateY(0); opacity:1; }
}
#legalBottomBar .legal-bar-badge {
    display:inline-block; font-size:10px; font-weight:700; text-transform:uppercase;
    letter-spacing:0.5px; padding:2px 8px; border-radius:10px; margin-bottom:2px;
}
#legalBottomBar .legal-bar-badge.new-doc { background:#43a047; }
#legalBottomBar .legal-bar-badge.update-doc { background:#ef6c00; }
#legalBottomBar .legal-bar-inner {
    display:flex; align-items:center; justify-content:space-between;
    padding:14px 24px; gap:12px;
}
#legalBottomBar .legal-bar-text {
    display:flex; align-items:center; gap:12px; flex:1; min-width:0;
}
#legalBottomBar .legal-bar-icon {
    width:40px; height:40px; border-radius:50%; background:rgba(255,255,255,0.15);
    display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
#legalBottomBar .legal-bar-icon i { font-size:20px; }
#legalBottomBar .legal-bar-title { font-weight:700; font-size:14px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
#legalBottomBar .legal-bar-subtitle { font-size:12px; opacity:0.85; }
#legalBottomBar .legal-bar-actions { display:flex; gap:8px; flex-shrink:0; align-items:center; }
#legalBottomBar .legal-bar-actions .btn {
    font-size:13px; font-weight:600; padding:8px 18px; border-radius:20px; white-space:nowrap;
}
@media (max-width:768px) {
    #legalBottomBar { width:calc(100% - 16px); bottom:8px; border-radius:12px; }
    #legalBottomBar .legal-bar-inner { flex-direction:column; padding:12px 16px; gap:8px; text-align:center; }
    #legalBottomBar .legal-bar-text { flex-direction:column; gap:4px; }
    #legalBottomBar .legal-bar-icon { width:32px; height:32px; }
    #legalBottomBar .legal-bar-icon i { font-size:18px; }
    #legalBottomBar .legal-bar-title { font-size:13px; white-space:normal; }
    #legalBottomBar .legal-bar-subtitle { font-size:11px; }
    #legalBottomBar .legal-bar-actions { width:100%; justify-content:center; }
    #legalBottomBar .legal-bar-actions .btn { padding:8px 14px; font-size:12px; flex:1; }
}
