:root {
    --highlight-color: #B450B3;
    --main-color: #8075ff;
    /* Scrollbars of the administration (class admin-scroll): the thumb, and the track of the area. */
    --admin-scroll-thumb: #bdb7f2;
    --admin-scroll-track: #f1f0f8;
    --bs-gray-200: #f4f4f7 !important;
    --bs-gray-700: #484b56 !important;
    --ck-border-radius: 10px !important;
    --bs-info-rgb: 141, 145, 230;
}
html {
    height: 100%;
}
body {
    font-family: Sora, sans-serif!important;
    font-weight: 300;
    min-height: 100%;
    background: var(--bs-gray-100);
    font-size: 14px;
    color: var(--bs-dark);
}
.flex-fill {
    flex: 1 1 auto;
  }
.navbar-brand {
    padding-top: .75rem;
    padding-bottom: .75rem;
    background-color: rgba(0, 0, 0, .25);
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);
}
.navbar .navbar-toggler {
    top: .25rem;
    right: 1rem;
}
.navbar .form-control {
    padding: .75rem 1rem;
    border-width: 0;
    border-radius: 0;
}
.form-control-dark {
    color: #fff;
    background-color: var(--bs-dark);
    border-color: var(--bs-gray);
}
.form-control-dark:focus {
    color: #fff;
    background-color: #fff;
    border-color: transparent;
    box-shadow: none;
}
/* Sidebar styles */
#sidebarMenu {
    background: linear-gradient(45deg, #332e6b, #2c4d4f) !important;
    color: #fff;
    /* The thumb of its scrollbar over the dark background. */
    --admin-scroll-track: transparent;
}
.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    padding: 60px 0 0;
    margin-bottom: 6px;
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}
@media (max-width: 767.98px) {
    .sidebar {
        top: 5rem;
        width: 100%;
    }
}
#sidebarMenu .position-sticky {
    position: relative;
    top: 0;
    /* Height left under the top padding of .sidebar, whatever its value. */
    height: 100%;
    padding-bottom: 1rem;
    overflow-x: hidden;
    overflow-y: auto;
    /* Scrollable contents if viewport is shorter than content. */
}
#sidebarMenu .nav-link {
    font-weight: 300;
    color: var(--bs-dark);
    color: #fff;
    border: 1px solid transparent;
    margin-top: 0.2rem;
    margin-bottom: 0.2rem;
    margin-left: 0.7rem;
    margin-right: 0.7rem;
    border-radius: 6px;
}
#sidebarMenu .nav-link svg, #sidebarMenu .nav-link i {
    opacity: 0.5;
    font-size: 19px;
    vertical-align: middle;
    margin-right: 5px;
}
#sidebarMenu .nav-link:focus {
    color: #fff;
}
#sidebarMenu .nav-link.active, #sidebarMenu .nav-link:hover {
    background-color: rgba(128, 117, 255, 0.15) !important;
    color: #fff;
    border-color: #a394ff;
    box-shadow: 0 0 5px rgb(146 136 255 / 70%);
}
/* Sections of the modules menu: core modules, then one per extension. */
.menu-section {
    background: rgba(0, 0, 0, 0.2);
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
    margin-top: 0.9rem;
    margin-bottom: 0.9rem;
}
.menu-section .nav-link {
    padding-left: 30px;
}
.menu-section .menu-heading {
    color: rgba(255, 255, 255, 0.55);
    font-size: .7rem;
    letter-spacing: .06em;
    margin: .9rem 0 .2rem;
    padding-left: calc(0.7rem + 30px);
    text-transform: uppercase;
}
.menu-section .menu-heading:first-child {
    margin-top: .2rem;
}
.sidebar-heading {
    font-size: .75rem;
    text-transform: uppercase;
}
.navbar-fixed-top {
    border: none;
}
.bg-gray {
    --bs-bg-opacity: 1;
    background: linear-gradient(45deg, #332e6b, #2c4d4f) !important;
}
.affix-top {
    margin-top: 50px;
    margin-bottom: 20px;
}
.row.header {
    margin-right: calc(-2* var(--bs-gutter-x));
    margin-left: calc(-2* var(--bs-gutter-x));
    background: #fff;
    padding-right: calc(2* var(--bs-gutter-x));
    padding-left: calc(2* var(--bs-gutter-x));
    margin-bottom: calc(1.5* var(--bs-gutter-x)) !important;
}
@media (max-width: 767.98px) {
    /* The content is only padded by half a gutter on phones. */
    .row.header {
        margin-right: calc(-.5 * var(--bs-gutter-x));
        margin-left: calc(-.5 * var(--bs-gutter-x));
        padding-right: calc(.5 * var(--bs-gutter-x));
        padding-left: calc(.5 * var(--bs-gutter-x));
    }
    .page-header h1 {
        font-size: 22px;
    }
}
@media (min-width: 768px) {
    #wrapper {
        margin-left: 212px;
    }
    .page-header .container-fluid {
        padding-left: 232px;
    }
}
b, strong {
    font-weight: 600;
}
a {
    color: var(--main-color);
    text-decoration: none;
}
a:hover {
    text-decoration: none;
    color: var(--highlight-color);
}
a:active,
a:visited,
a:focus {
    outline: 0;
}
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-weight: 200;
}
h1 {
    font-weight: 600 !important;
    color: #3c404f;
}
@media (min-width: 768px) {
    h1 {
        font-size: 1.5rem;
    }
}
h1 > svg, h1 > i {
    background: var(--main-color);
    display: inline-block !important;
    border-radius: 50%;
    width: 52px;
    vertical-align: middle !important;
    height: 52px !important;
    padding: 14px;
    margin-right: 10px;
    color: #fff;
}
textarea.form-control {
    height: auto !important;
}
.form-select{
    border-radius: 3px;
    border: 1px solid #ccc;
    font-size: 14px;
}
.form-select[multiple], .form-select[size]:not([size="1"]) {
    min-width: 96px;
}
.form-control:not(.form-control-sm),
.form-select:not(.form-select-sm):not([multiple="multiple"]) {
    height: 46px;
    font-size: 0.85rem;
}
.form-control[type="file"] {
    height: 34px;
    padding-left: 12px;
}
.form-control, .form-select {
    background-color: var(--bs-gray-200);
    border-color: var(--bs-gray-200);
    border-radius: 10px;
    padding-left: 1rem;
    padding-right: 1rem;
}
.input-group > .form-control, .input-group > .form-select {
    border-radius: 10px;
}
input.form-control.form-control-color {
    padding-top: 11px;
    padding-bottom: 11px;
}
.form-control:focus,
.form-select:focus {
    border-color: var(--main-color);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px var(--main-color);
}
.form-control:focus:is([readonly]), .form-select:focus:is([readonly]) {
    border: none;
    box-shadow: none;
}
.form-control[readonly], .form-select[readonly] {
    color: #666;
    background: #e5e5e5;
}
input[type="checkbox"], input[type="radio"]  {
    cursor: pointer;
}
.input-group-text,
.input-group-sm > .input-group-text {
    border-color: var(--bs-gray-200);
    font-size: 14px;
    border-radius: 10px;
}
.form-inline .form-control-sm {
    max-width: 140px;
}
.form-inline .form-select {
    padding: .25rem 2.25rem .25rem .75rem;
    max-width: 160px;
}
.form-inline .form-select-sm,
.form-inline .form-control-sm,
.form-inline .input-group-sm > .input-group-text {
    font-size: 13px;
}
.medias-gallery .media-select-all {
    vertical-align: middle;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    cursor: pointer;
}
.medias-gallery .selectall-files {
    flex: 0 0 auto;
    float: none;
    width: 1rem;
    height: 1rem;
    margin: 0;
}
.card-header .form-control,
.card-header .form-select,
.card-header .input-group-text,
.card-footer .form-control,
.card-footer .form-select,
.card-footer .input-group-text {
    background-color: #fff;
    border-color: #fff;
}
.toggle-password {
    cursor: pointer;
}
.toggle-password::after {
    content: '\e220';
    font-family: "Pandao Icons";
    font-weight: normal;
}
.toggle-password.active::after {
    content: '\e224';
}
.form-check.form-check-inline {
    margin-top: 0.4rem !important;
}
.form-check-input {
    width: 1.2em;
    height: 1.2em;
    margin-top: 0.25em;
}
.form-check-input:checked {
    background-color: var(--main-color);
    border-color: var(--main-color);
}
@media (min-width: 1200px) {
    .col-form-label {
        text-align: right;
        font-weight: 400;
        padding-top: 12px;
    }
}
.input-datetime {
    align-items: center !important;
    justify-content: space-between !important;
    display: flex !important;
    border: 1px solid #ccc;
    border-radius: 10px;
    background: var(--bs-gray-200);
    padding: .25rem .75rem .25rem .75rem;
    border-color: var(--bs-gray-200);
}
.input-datetime select {
    padding: 0 .75rem 0 .75rem !important;
    background: none;
    border: none;
    height: 30px !important;
}
.btn {
    border-radius: 0.35rem;
}
.btn.btn-circle {
    vertical-align: top;
    border-radius: 1.35rem;
    height: 30px;
    padding: 3px !important;
    width: 30px;
}
.btn-sm {
    border-radius: 10px;
    padding-left: 13px;
    padding-right: 13px;
}
.btn:not(.btn-sm) {
    padding: 8px 20px;
}
.btn svg::before, .btn i::before {
    margin-left: -0.2em;
}
.btn-success {
    background-color: #00d692;
    border-color: #00d692;
}
.btn-success:hover {
    background-color: #2faf7a;
    border-color: #2faf7a;
}
.btn-secondary {
    background-color: var(--main-color);
    border-color: var(--main-color);
    color: #fff;
}
.btn-secondary:hover {
    background-color: #6b6fba;
    border-color: #6b6fba;
    color: #fff;
}
.btn-primary {
    background-color: var(--highlight-color);
    border-color: var(--highlight-color);
}
.btn-primary:hover {
    background-color: #843e8e;
    border-color: #843e8e;
}
.btn-reset {
    border: 0;
    background: 0;
    padding: 0;
}
.navbar-dark {
    background: var(--main-color);
}
.navbar-dark .navbar-nav>li>a,
header.navbar,
header.navbar a,
.navbar-dark .navbar-brand {
    color: #fff;
}
.navbar-fixed-top {
    z-index: 10;
}
.nav-top {
    padding: 0 15px;
}
.nav-top>li {
    float: left;
}
.nav-top>li>a {
    padding-top: 15px;
    padding-bottom: 15px;
    line-height: 20px;
    color: #999;
}
.nav-top>li>a:hover,
.nav-top>li>a:focus,
.nav-top>.open>a,
.nav-top>.open>a:hover,
.nav-top>.open>a:focus {
    color: #fff;
    background-color: #000;
}
.nav-top>.open>.dropdown-menu {
    float: left;
    position: absolute;
    margin-top: 0;
    border: 1px solid rgba(0, 0, 0, .15);
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    background-color: #fff;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
}
.nav-top>.open>.dropdown-menu>li>a {
    white-space: normal;
}
li.dropdown>ul {
    height: auto;
}
#info-header {
    padding: 15px;
}
ul.message-dropdown {
    padding: 0;
    max-height: 250px;
    overflow-x: hidden;
    overflow-y: auto;
}
li.message-preview {
    width: 275px;
    border-bottom: 1px solid rgba(0, 0, 0, .15);
}
li.message-preview>a {
    padding-top: 15px;
    padding-bottom: 15px;
}
li.message-footer {
    margin: 5px 0;
}
ul.alert-dropdown {
    width: 200px;
}
.alert-container .alert {
    display: none;
}
.alert-info {
    color: #4f517a;
    background-color: #d8e2ff;
    border-color: #d8e2ff;
}
/* Sidebar */
#sidebar {
    background-color: #3D3D3D;
    border: medium none;
    border-radius: 0;
    left: 0;
    overflow-x: hidden;
    overflow-y: auto;
    position: fixed;
    top: 0;
    width: 250px;
    height: 100%;
    z-index: 1000;
    transition: all 0.3s;
}
#sidebar .nav-link {
    color: white;
    padding: 10px 15px;
}
#sidebar .nav-link.active {
    background-color: #1a1a1a;
}
#sidebar .nav-link:hover {
    background-color: var(--bs-gray-700);
}
#sidebar .nav-link:focus {
    outline: none;
}
#sidebar .collapse-inner a {
    display: block;
    padding: 5px 15px 5px 24px;
    text-decoration: none;
    color: #ccc;
}
#sidebar .collapse-inner a:hover,
#sidebar .collapse-inner a.active {
    color: #fff;
}
/* Adjust content to not overlap with the sidebar */
.content {
    margin-left: 250px;
    padding: 20px;
}
/* Collapse button adjustments for mobile */
@media (max-width: 991.98px) {
    #sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }
    .content {
        margin-left: 0;
    }
}
/* Ensure the sidebar is positioned correctly on desktop */
@media (min-width: 992px) {
    #navbarResponsive {
        position: fixed;
        top: 0;
        left: 0;
        width: 250px;
        height: 100%;
        z-index: 1000;
    }
}
.nav-tabs>li>a {
    color: #888;
}
/* Custom panel classes */

th {
    text-align: center;
}
.card {
    border-radius: 0.8rem;
}
.card-body.tab-content {
    margin-top: 1rem;
    padding-bottom: 2rem;
}

/* Administration dashboard */
.dashboard-overview-title {
    align-items: center;
    color: #3f4250;
    display: flex;
    font-weight: 600;
    gap: 0.7rem;
}
.dashboard-overview-title::before {
    background: linear-gradient(180deg, var(--highlight-color), var(--main-color));
    border-radius: 999px;
    box-shadow: 0 0.25rem 0.6rem rgba(128, 117, 255, 0.22);
    content: "";
    flex: 0 0 auto;
    height: 1.5rem;
    width: 0.42rem;
}
#dashboard-modules .col {
    display: flex;
}
.dashboard-module-card {
    background:
        radial-gradient(circle at 90% 6%, rgba(255, 255, 255, 0.2), transparent 32%),
        linear-gradient(135deg, var(--dashboard-from), var(--dashboard-to));
    border: 0;
    border-radius: 0.9rem;
    box-shadow: 0 0.45rem 1.2rem rgba(35, 38, 54, 0.14);
    color: #fff;
    display: flex;
    flex-direction: column;
    isolation: isolate;
    overflow: hidden;
    position: relative;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    width: 100%;
}
.dashboard-module-card:hover {
    box-shadow: 0 0.7rem 1.5rem rgba(35, 38, 54, 0.2);
    transform: translateY(-3px);
}
.dashboard-module-card:focus-within {
    box-shadow:
        0 0 0 3px rgba(128, 117, 255, 0.38),
        0 0.7rem 1.5rem rgba(35, 38, 54, 0.2);
}
.dashboard-module-card--default {
    --dashboard-from: #59366d;
    --dashboard-to: #714987;
    --dashboard-footer: #4d2e5f;
}
.dashboard-module-card--page {
    --dashboard-from: #943b91;
    --dashboard-to: #b348a3;
    --dashboard-footer: #84357f;
}
.dashboard-module-card--article {
    --dashboard-from: #5e52bc;
    --dashboard-to: #7568d1;
    --dashboard-footer: #5146a6;
}
.dashboard-module-card--slide {
    --dashboard-from: #1e6f79;
    --dashboard-to: #287d83;
    --dashboard-footer: #195e66;
}
.dashboard-module-card--widget {
    --dashboard-from: #386e5d;
    --dashboard-to: #4b806a;
    --dashboard-footer: #315e50;
}
.dashboard-module-card--menu {
    --dashboard-from: #875a13;
    --dashboard-to: #9c6b14;
    --dashboard-footer: #744b0f;
}
.dashboard-module-card--media {
    --dashboard-from: #345c72;
    --dashboard-to: #47768b;
    --dashboard-footer: #2e5063;
}
.dashboard-module-card--comment {
    --dashboard-from: #814071;
    --dashboard-to: #9e568d;
    --dashboard-footer: #713662;
}
.dashboard-module-card--message {
    --dashboard-from: #9b4639;
    --dashboard-to: #b65b46;
    --dashboard-footer: #893b30;
}
.dashboard-module-main {
    min-height: 9.2rem;
    padding: 1.15rem 1.25rem;
    position: relative;
}
.dashboard-module-watermark {
    bottom: -1.4rem;
    color: #fff;
    font-size: 7rem;
    left: -0.8rem;
    line-height: 1;
    opacity: 0.14;
    pointer-events: none;
    position: absolute;
    transform: rotate(-4deg);
}
.dashboard-module-heading {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}
.dashboard-module-title {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.25;
    margin: 0;
    max-width: 70%;
    text-shadow: 0 1px 2px rgba(28, 22, 38, 0.25);
}
.dashboard-module-count {
    color: #fff;
    font-size: clamp(2.35rem, 4vw, 3rem);
    font-weight: 300;
    line-height: 0.85;
    text-shadow: 0 1px 2px rgba(28, 22, 38, 0.25);
}
.dashboard-module-meta {
    align-items: center;
    display: flex;
    font-size: 0.78rem;
    gap: 0.25rem;
    justify-content: flex-end;
    margin-top: 2.5rem;
    min-height: 1rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}
.dashboard-module-actions {
    background: var(--dashboard-footer);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: auto;
}
.dashboard-module-actions--single {
    grid-template-columns: 1fr;
}
.dashboard-module-action {
    align-items: center;
    color: #fff;
    display: flex;
    font-size: 0.82rem;
    justify-content: space-between;
    padding: 0.72rem 1rem;
    transition: background-color 0.18s ease;
}
.dashboard-module-action + .dashboard-module-action {
    border-left: 1px solid rgba(255, 255, 255, 0.14);
}
.dashboard-module-action:hover {
    background: rgba(0, 0, 0, 0.14);
    color: #fff;
}
.dashboard-module-action:focus-visible {
    box-shadow: inset 0 0 0 2px #fff;
    color: #fff;
    outline: 0;
    z-index: 1;
}
.dashboard-panel {
    border: 1px solid rgba(72, 75, 86, 0.12);
    border-top: 4px solid var(--dashboard-panel-accent, #6657c8);
    box-shadow: 0 0.35rem 1rem rgba(33, 37, 41, 0.06);
    overflow: hidden;
}
.dashboard-panel--activity {
    --dashboard-panel-accent: #6657c8;
    --dashboard-panel-header-from: #f0eeff;
    --dashboard-panel-header-to: #f8f7ff;
    --dashboard-panel-icon-bg: #e5e1ff;
}
.dashboard-panel--drafts {
    --dashboard-panel-accent: #946114;
    --dashboard-panel-header-from: #fff3d9;
    --dashboard-panel-header-to: #fffaef;
    --dashboard-panel-icon-bg: #ffe7b4;
}
.dashboard-panel--messages {
    --dashboard-panel-accent: #943b91;
    --dashboard-panel-header-from: #f9ecf7;
    --dashboard-panel-header-to: #fff7fd;
    --dashboard-panel-icon-bg: #f0d8ed;
}
.dashboard-panel-header {
    background: linear-gradient(
        90deg,
        var(--dashboard-panel-header-from, #f0eeff),
        var(--dashboard-panel-header-to, #f8f7ff)
    );
    border-bottom-color: rgba(72, 75, 86, 0.1);
}
.dashboard-panel-title {
    align-items: center;
    color: #343743;
    display: flex;
    font-size: 1rem;
    font-weight: 650;
    gap: 0.65rem;
    line-height: 1.25;
}
.dashboard-panel-heading-icon {
    align-items: center;
    background: var(--dashboard-panel-icon-bg, #e5e1ff);
    border-radius: 50%;
    color: var(--dashboard-panel-accent, #6657c8);
    display: inline-flex;
    flex: 0 0 auto;
    height: 2rem;
    justify-content: center;
    width: 2rem;
}
.dashboard-panel > .card-header a {
    color: #5146b8;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}
.dashboard-list-item {
    border-color: rgba(72, 75, 86, 0.08);
    padding: 1rem 1.15rem;
}
.list-group-item-action.dashboard-list-item:hover {
    background-color: #faf9ff;
    background-color: color-mix(in srgb, var(--dashboard-panel-accent, #6657c8) 5%, #fff);
}
.dashboard-panel .list-group-item-action:focus-visible {
    background-color: #f7f6ff;
    background-color: color-mix(in srgb, var(--dashboard-panel-accent, #6657c8) 7%, #fff);
    box-shadow: inset 0 0 0 2px var(--dashboard-panel-accent, #6657c8);
    outline: 0;
    z-index: 1;
}
.dashboard-panel > .card-header a:focus-visible {
    outline: 2px solid var(--dashboard-panel-accent, #6657c8);
    outline-offset: 2px;
}
.dashboard-list-icon {
    align-items: center;
    background: var(--dashboard-panel-icon-bg, #e5e1ff);
    border-radius: 50%;
    color: var(--dashboard-panel-accent, #6657c8);
    display: inline-flex;
    flex: 0 0 auto;
    height: 2.25rem;
    justify-content: center;
    width: 2.25rem;
}
.dashboard-list-content {
    min-width: 0;
}
.dashboard-item-link {
    color: var(--bs-gray-700);
    display: block;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.dashboard-list-item:hover .dashboard-item-link {
    color: var(--dashboard-panel-accent, #6657c8);
}
.dashboard-list-time {
    flex: 0 0 auto;
    white-space: nowrap;
}
.dashboard-message-excerpt {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.dashboard-empty-state {
    background-color: #fbfbff;
    background: linear-gradient(
        180deg,
        color-mix(in srgb, var(--dashboard-panel-accent, #6657c8) 3%, #fff),
        #fff
    );
}
.dashboard-empty-state svg,
.dashboard-empty-state i {
    color: var(--dashboard-panel-accent, #6657c8);
    opacity: 0.55;
}
.dashboard-shortcut {
    align-items: center;
    border-radius: 0.85rem;
    box-shadow: 0 0.4rem 1.1rem rgba(35, 38, 54, 0.12);
    color: #fff;
    display: flex;
    gap: 0.75rem;
    min-height: 5.5rem;
    overflow: hidden;
    padding: 1rem 1.15rem;
    position: relative;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.dashboard-shortcut--analytics {
    background: linear-gradient(135deg, #875a13, #9c6b14);
}
.dashboard-shortcut--business {
    background: linear-gradient(135deg, #345c72, #47768b);
}
.dashboard-shortcut-watermark {
    bottom: -1.2rem;
    color: #fff;
    font-size: 5.5rem;
    left: -0.7rem;
    line-height: 1;
    opacity: 0.14;
    pointer-events: none;
    position: absolute;
}
.dashboard-shortcut-label {
    font-size: 0.95rem;
    font-weight: 600;
    margin-left: 2.8rem;
    position: relative;
    z-index: 1;
}
.dashboard-shortcut-arrow {
    margin-left: auto;
    position: relative;
    z-index: 1;
}
.dashboard-shortcut:hover {
    box-shadow: 0 0.65rem 1.35rem rgba(35, 38, 54, 0.18);
    color: #fff;
    transform: translateY(-2px);
}
.dashboard-shortcut:focus-visible {
    outline: 3px solid var(--main-color);
    outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
    .dashboard-module-card,
    .dashboard-shortcut {
        transition: none;
    }
    .dashboard-module-card:hover,
    .dashboard-shortcut:hover {
        transform: none;
    }
}
@media (max-width: 575.98px) {
    .dashboard-module-main {
        min-height: 8.5rem;
    }
    .dashboard-list-item > .d-flex {
        flex-wrap: wrap;
    }
    .dashboard-list-time {
        margin-left: 0;
        width: 100%;
    }
    .dashboard-activity-item .dashboard-list-time {
        margin-left: 3.25rem;
        width: calc(100% - 3.25rem);
    }
}

/* Trash and settings screens */
.trash-card,
.admin-panel-card {
    border: 1px solid rgba(72, 75, 86, 0.12);
    box-shadow: 0 0.35rem 1rem rgba(33, 37, 41, 0.06);
    overflow: hidden;
}
.trash-card {
    border-top: 4px solid #946114;
}
.admin-panel-card {
    border-top: 4px solid var(--main-color);
}
.trash-toolbar {
    align-items: center;
    background: linear-gradient(90deg, #fff3d9, #fffbf2);
    border-bottom-color: rgba(148, 97, 20, 0.16);
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    padding: 0.9rem 1rem;
}
.trash-title,
.trash-bulk-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}
.trash-title {
    color: #343743;
    font-weight: 600;
}
.trash-title-icon,
.trash-module-icon {
    align-items: center;
    background: #ffe7b4;
    border-radius: 50%;
    color: #946114;
    display: inline-flex;
    flex: 0 0 auto;
    height: 2rem;
    justify-content: center;
    width: 2rem;
}
.trash-count {
    align-items: center;
    background: #fff;
    border-radius: 999px;
    color: #815113;
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 700;
    height: 1.55rem;
    justify-content: center;
    min-width: 1.55rem;
    padding: 0 0.4rem;
}
.trash-bulk-actions .form-select {
    border-color: #ead7ad;
    max-width: 13rem;
    width: auto;
}
.trash-apply-button {
    align-items: center;
    display: inline-flex;
    gap: 0.35rem;
}
.trash-row > * {
    transition: background-color 0.16s ease;
}
.trash-module-cell {
    white-space: nowrap;
}
.trash-module-icon {
    background: #f9ead0;
    height: 1.8rem;
    margin-right: 0.6rem;
    vertical-align: middle;
    width: 1.8rem;
}
.trash-item-cell {
    min-width: 14rem;
}
.trash-item-title {
    color: #343743;
    font-weight: 600;
}
.trash-actions-cell form + form {
    margin-left: 0.2rem;
}
.trash-empty-state {
    background: linear-gradient(180deg, #fffcf6, #fff);
}
.trash-empty-state i,
.trash-empty-state svg {
    color: #946114;
    opacity: 0.55;
}
.admin-panel-tabs-header {
    background: linear-gradient(90deg, #f1efff, #fbfaff);
    border-bottom-color: rgba(105, 95, 190, 0.16);
    padding: 0.65rem 0.85rem 0;
}
.admin-panel-tabs {
    border-bottom: 0;
    flex-wrap: nowrap;
    gap: 0.35rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 0.65rem;
}
.admin-panel-tabs .nav-link {
    border: 1px solid transparent;
    border-radius: 0.6rem;
    color: #5f6272;
    font-weight: 600;
    padding: 0.65rem 0.85rem;
    white-space: nowrap;
}
.admin-panel-tabs .nav-link:hover {
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(128, 117, 255, 0.2);
    color: var(--main-color);
}
.admin-panel-tabs .nav-link.active {
    background: #fff;
    border-color: #dedcf0;
    box-shadow: 0 0.25rem 0.65rem rgba(62, 58, 96, 0.09);
    color: var(--main-color);
}
.admin-panel-tabs .nav-link:focus-visible {
    outline: 2px solid var(--main-color);
    outline-offset: 2px;
}
.admin-panel-card .tab-content {
    padding: 1.1rem 1.5rem;
}
.admin-panel-card .tab-pane > .row {
    border-bottom: 1px solid rgba(72, 75, 86, 0.08);
    margin-bottom: 0 !important;
    padding: 0.85rem 0;
}
.admin-panel-card .tab-pane > .row:last-child {
    border-bottom: 0;
}
.admin-panel-card .col-form-label {
    color: #414450;
    font-weight: 600;
}
.admin-panel-card .form-text,
.admin-panel-card .form-text.text-muted {
    color: #6b6e7c !important;
}
.settings-section-heading {
    align-items: center;
    border-left: 4px solid var(--main-color);
    display: flex;
    margin-bottom: 1rem;
    padding-left: 0.85rem;
}
.admin-panel-card .tab-pane > .branding-assets-grid {
    border-bottom: 0;
    margin-bottom: 0 !important;
    padding: 0;
}
.branding-asset-card {
    background: #fff;
    border: 1px solid #e4e3ed;
    border-radius: 0.8rem;
    box-shadow: 0 0.25rem 0.8rem rgba(48, 48, 67, 0.05);
    display: grid;
    grid-template-columns: minmax(9rem, 34%) 1fr;
    min-height: 11rem;
    overflow: hidden;
}
.branding-asset-preview {
    align-items: center;
    background-color: #f4f4f8;
    background-image: linear-gradient(45deg, #e9e9ef 25%, transparent 25%),
        linear-gradient(-45deg, #e9e9ef 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #e9e9ef 75%),
        linear-gradient(-45deg, transparent 75%, #e9e9ef 75%);
    background-position: 0 0, 0 0.5rem, 0.5rem -0.5rem, -0.5rem 0;
    background-size: 1rem 1rem;
    display: flex;
    justify-content: center;
    min-height: 11rem;
    padding: 1rem;
}
.branding-asset-preview img {
    display: block;
    height: auto;
    max-height: 8rem;
    max-width: 100%;
    object-fit: contain;
}
.branding-asset-preview-banner img {
    max-height: 9rem;
}
.branding-asset-preview-favicon img {
    height: 3rem;
    image-rendering: auto;
    width: 3rem;
}
.branding-asset-content {
    align-self: center;
    padding: 1rem;
}
.branding-colors-panel {
    align-items: stretch;
    background: linear-gradient(135deg, #f7f6ff, #fff);
    border: 1px solid #e4e2f4;
    border-radius: 0.8rem;
    display: flex;
    gap: 1.25rem;
    padding: 1.1rem;
}
.branding-color-preview {
    border-radius: 0.65rem;
    display: flex;
    flex: 0 0 5rem;
    min-height: 5rem;
    overflow: hidden;
}
.branding-color-preview span {
    flex: 1 1 50%;
}
.branding-color-control .form-control-color {
    flex: 0 0 3rem;
    padding: 0.3rem;
}
@media (max-width: 767.98px) {
    .branding-asset-card {
        grid-template-columns: 1fr;
    }
    .branding-asset-preview {
        min-height: 8rem;
    }
    .branding-colors-panel {
        flex-direction: column;
    }
    .branding-color-preview {
        flex-basis: 2.5rem;
        min-height: 2.5rem;
    }
}
@media (prefers-reduced-motion: reduce) {
    .trash-row > * {
        transition: none;
    }
}
@media (max-width: 767.98px) {
    .trash-toolbar {
        align-items: stretch;
    }
    .trash-title,
    .trash-bulk-actions {
        width: 100%;
    }
    .trash-bulk-actions .form-select {
        flex: 1 1 11rem;
        max-width: none;
    }
    .admin-panel-card .tab-content {
        padding: 0.85rem 1rem;
    }
    .admin-panel-card .tab-pane > .row {
        padding: 0.75rem 0;
    }
}

.table {   
    --bs-table-striped-bg: rgba(0, 0, 0, 0.03);
}
.table>thead>tr>th {
    background: #fff;
    color: #555;
    font-weight: normal;
    text-align: center;
    vertical-align: middle;
}
thead {
    border-bottom-width: 2px;
}

/* Shared module listing */
.module-listing-card {
    border: 1px solid rgba(72, 75, 86, 0.12);
    border-top: 4px solid var(--main-color);
    box-shadow: 0 0.4rem 1.15rem rgba(35, 38, 54, 0.08);
    overflow: hidden;
}
.module-listing-toolbar,
.module-listing-footer {
    align-items: center;
    background: linear-gradient(90deg, #f2f0ff, #fbfaff);
    border-color: rgba(105, 95, 190, 0.14);
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    padding: 1rem;
}
.module-listing-filters,
.module-listing-pagination,
.module-listing-bulk {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}
.module-listing-filters {
    flex: 1 1 30rem;
}
.module-listing-filters .form-control,
.module-listing-filters .form-select,
.module-listing-filters .input-group-text,
.module-listing-pagination .form-select,
.module-listing-pagination .input-group-text,
.module-listing-bulk .form-select {
    background-color: #fff;
    border-color: #dedcf0;
    box-shadow: 0 0.15rem 0.4rem rgba(62, 58, 96, 0.04);
}
.module-listing-filters > .form-select {
    max-width: 13rem;
    width: auto;
}
.module-listing-filters > .input-group {
    flex: 0 1 auto;
    width: auto;
}
.module-listing-filters .module-listing-search-input {
    flex: 1 1 14rem;
    max-width: 22rem;
    min-width: 14rem;
}
.module-listing-search-button {
    align-items: center;
    display: inline-flex;
    gap: 0.35rem;
}
.module-listing-pagination {
    flex: 0 0 auto;
    justify-content: flex-end;
}
.module-listing-pagination .input-group {
    flex: 0 0 auto;
    width: auto;
}
.module-listing-pagination .form-select {
    max-width: 5rem;
    min-width: 4rem;
}
.module-listing-total {
    align-items: center;
    background: #e5e1ff;
    border-radius: 999px;
    color: #5048a5;
    display: inline-flex;
    font-size: 0.78rem;
    gap: 0.4rem;
    line-height: 1;
    min-height: 2rem;
    padding: 0.45rem 0.75rem;
}
.module-listing-total strong {
    align-items: center;
    background: #fff;
    border-radius: 50%;
    display: inline-flex;
    font-size: 0.8rem;
    height: 1.35rem;
    justify-content: center;
    min-width: 1.35rem;
    padding: 0 0.25rem;
}
.module-listing-table {
    --bs-table-hover-bg: #f3f1ff;
    --bs-table-striped-bg: #fafafd;
    background: #fff;
    min-width: 48rem;
}
.module-listing-table > :not(caption) > * > * {
    border-bottom-color: rgba(72, 75, 86, 0.09);
    padding: 0.82rem 0.65rem;
    vertical-align: middle;
}
.module-listing-table > thead > tr > th:first-child,
.module-listing-table > tbody > tr > td:first-child {
    padding-left: 1rem;
}
.module-listing-table > thead {
    border-bottom: 1px solid #dedde8;
}
.module-listing-table > thead > tr > th {
    background: #f8f7fd;
    color: #5f6272;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-align: center;
    white-space: nowrap;
}
.module-listing-table > thead > tr > th.module-listing-data-column {
    text-align: left;
}
.module-listing-sort {
    align-items: center;
    color: #5f6272;
    display: inline-flex;
    gap: 0.35rem;
    justify-content: center;
    min-height: 2rem;
}
.module-listing-sort:hover,
.module-listing-sort.is-active {
    color: var(--main-color);
}
.module-listing-sort svg,
.module-listing-sort i {
    color: #9698a7;
    font-size: 0.8rem;
}
.module-listing-sort.is-active svg,
.module-listing-sort.is-active i {
    color: var(--main-color);
}
.module-listing-sort:focus-visible,
.module-listing-primary-link:focus-visible,
.module-listing-action:focus-visible {
    border-radius: 0.35rem;
    outline: 2px solid var(--main-color);
    outline-offset: 2px;
}
.module-listing-rank-column {
    min-width: 6rem;
    width: 6rem;
}
.module-listing-rank-column:not(.has-ranking) {
    min-width: 3.5rem;
    width: 3.5rem;
}
.module-listing-id-column {
    min-width: 4rem;
    width: 4rem;
}
.module-listing-image-column {
    min-width: 10rem;
    width: 10rem;
}
.module-listing-data-column.is-primary,
.module-listing-primary-cell {
    min-width: 12rem;
}
.module-listing-date-column {
    min-width: 9.5rem;
}
.module-listing-state-column,
.module-listing-status-column {
    min-width: 6rem;
}
.module-listing-actions-column,
.module-listing-actions-cell {
    min-width: 10.5rem;
}
/* Wide listings: a scrollbar mirrored above the table (module-listing.js), the Actions column pinned,
   and its shadow while columns are hidden underneath. */
.module-listing-scroll-top {
    display: none;
    overflow-x: auto;
    overflow-y: hidden;
    background: #f8f7fd;
    border-bottom: 1px solid #dedde8;
}
.module-listing-scroll-top > div {
    height: 1px;
}
.module-listing-card .card-body.has-overflow .module-listing-scroll-top {
    display: block;
}
/* Scrollbars of the administration (wide listings, menu on the left, tables): a thin rounded thumb in
   the colours of the admin, over the track of its area (--admin-scroll-track). */
.admin-scroll::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
.admin-scroll::-webkit-scrollbar-track {
    background: var(--admin-scroll-track);
}
.admin-scroll::-webkit-scrollbar-thumb {
    background-color: var(--admin-scroll-thumb);
    background-clip: padding-box;
    border: 2px solid transparent;
    border-radius: 10px;
}
.admin-scroll::-webkit-scrollbar-thumb:hover {
    background-color: var(--main-color);
}
@supports not selector(::-webkit-scrollbar) {
    .admin-scroll {
        scrollbar-width: thin;
        scrollbar-color: var(--admin-scroll-thumb) var(--admin-scroll-track);
    }
}
/* Pinned from the width of a tablet: on a phone, it would take nearly half of the screen.
   The selectors beat `.table > :not(caption) > * > *` of Bootstrap, which makes the cells transparent;
   striping, hover and selection still show through its inset box-shadow. */
@media (min-width: 768px) {
    .module-listing-table > thead > tr > th.module-listing-actions-column,
    .module-listing-table > tbody > tr > td.module-listing-actions-cell {
        position: sticky;
        right: 0;
        z-index: 2;
    }
    .module-listing-table > tbody > tr > td.module-listing-actions-cell {
        background-color: #fff;
    }
    .module-listing-table > thead > tr > th.module-listing-actions-column {
        background-color: #f8f7fd;
        box-shadow: inset 0 -1px 0 #dedde8;
        z-index: 3;
    }
    /* With border-collapse, the outer box-shadow of a cell is not painted: the shadow is a pseudo-element. */
    .module-listing-table > thead > tr > th.module-listing-actions-column::before,
    .module-listing-table > tbody > tr > td.module-listing-actions-cell::before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: -16px;
        width: 16px;
        pointer-events: none;
        background: linear-gradient(to left, rgba(15, 15, 25, 0.14), rgba(15, 15, 25, 0));
        opacity: 0;
        transition: opacity 0.15s ease;
    }
    .module-listing-card .has-overflow:not(.is-at-end) .module-listing-table > thead > tr > th.module-listing-actions-column::before,
    .module-listing-card .has-overflow:not(.is-at-end) .module-listing-table > tbody > tr > td.module-listing-actions-cell::before {
        opacity: 1;
    }
}
.module-listing-row > * {
    transition: background-color 0.16s ease, box-shadow 0.16s ease;
}
.module-listing-row.is-selected > * {
    --bs-table-accent-bg: rgba(128, 117, 255, 0.14);
    background-color: rgba(128, 117, 255, 0.14);
}
.module-listing-row.is-selected > *:first-child {
    box-shadow: inset 4px 0 0 var(--main-color);
}
.module-listing-row:focus-within > * {
    --bs-table-accent-bg: rgba(128, 117, 255, 0.08);
}
.module-listing-rank-cell {
    color: #6b6e7c;
    text-align: left;
    white-space: nowrap;
}
.module-listing-rank-cell:not(.has-ranking) {
    text-align: center;
}
.module-listing-check,
.module-listing-select-all {
    flex: 0 0 auto;
    margin: 0 0.55rem 0 0 !important;
    vertical-align: middle;
}
.module-listing-select-all {
    margin-right: 0 !important;
}
.module-listing-rank-cell:not(.has-ranking) .module-listing-check {
    margin-right: 0 !important;
}
.module-listing-id-cell,
.module-listing-date-cell {
    color: #6b6e7c;
    font-size: 0.86rem;
    white-space: nowrap;
}
.module-listing-primary-cell {
    color: #343743;
    font-weight: 600;
}
.module-listing-primary-link {
    color: #343743;
}
.module-listing-primary-link:hover {
    color: var(--main-color);
}
.module-listing-table > tbody > tr > td.wrap-img {
    padding: 0;
    overflow: hidden;
    position: relative;
    width: 160px;
    height: 36px;
    vertical-align: middle;
}
.module-listing-table > tbody > tr > td.wrap-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
}
.module-listing-actions {
    align-items: center;
    display: inline-flex;
    flex-wrap: nowrap;
    gap: 0.2rem;
    justify-content: center;
}
.module-listing-action {
    align-items: center;
    background: transparent;
    border-radius: 0.45rem;
    color: var(--main-color);
    cursor: pointer;
    display: inline-flex;
    flex: 0 0 auto;
    height: 2rem;
    justify-content: center;
    padding: 0;
    transition: background-color 0.16s ease, transform 0.16s ease;
    width: 2rem;
}
.module-listing-action:hover {
    background: #e9e6ff;
    color: var(--highlight-color);
    transform: translateY(-1px);
}
.module-listing-action.is-current {
    background: #f0f1f4;
    color: #9698a2;
    cursor: default;
}
.module-listing-action.is-current:hover {
    transform: none;
}
.module-listing-action svg,
.module-listing-action i {
    margin: 0;
}
.module-listing-row.tDnD_whileDrag > * {
    --bs-table-accent-bg: #e9e6ff;
    background-color: #e9e6ff;
}
.module-listing-status-cell {
    white-space: nowrap;
}
.module-listing-footer {
    border-top: 1px solid rgba(105, 95, 190, 0.14);
    padding-left: 1rem;
    padding-right: 1rem;
}
.module-listing-bulk {
    border-radius: 0.65rem;
    flex: 1 1 24rem;
    padding: 0.35rem 0;
    transition: background-color 0.16s ease, box-shadow 0.16s ease;
}
.module-listing-bulk.has-selection {
    background: #e7e3ff;
    box-shadow: inset 0 0 0 1px rgba(128, 117, 255, 0.22);
}
.module-listing-bulk .form-check {
    margin-right: 0.25rem;
}
.module-listing-bulk-select {
    padding-left: 0;
}
.module-listing-bulk-select .form-check-input {
    float: none;
    margin-left: 0 !important;
}
.module-listing-bulk .form-select {
    max-width: 13rem;
    width: auto;
}
.module-listing-selection-count {
    align-items: center;
    background: #d5d0ff;
    border-radius: 999px;
    color: #5149a6;
    display: inline-flex;
    font-size: 0.75rem;
    font-weight: 600;
    height: 1.4rem;
    justify-content: center;
    min-width: 1.4rem;
    padding: 0 0.35rem;
}
.module-listing-empty {
    background: linear-gradient(180deg, #fbfaff, #fff);
}
.module-listing-empty i,
.module-listing-empty svg {
    color: var(--main-color);
    opacity: 0.5;
}
.module-listing-translation {
    border: 1px solid rgba(72, 75, 86, 0.12);
    border-top: 4px solid var(--highlight-color);
    box-shadow: 0 0.35rem 1rem rgba(33, 37, 41, 0.05);
    overflow: hidden;
}
.module-listing-translation-header {
    align-items: center;
    background: linear-gradient(90deg, #faedf8, #fff8fe);
    display: flex;
    gap: 0.7rem;
    padding: 0.85rem 1rem;
}
.module-listing-translation-icon {
    align-items: center;
    background: #f0d8ed;
    border-radius: 50%;
    color: var(--highlight-color);
    display: inline-flex;
    flex: 0 0 auto;
    height: 2rem;
    justify-content: center;
    width: 2rem;
}
.module-listing-language-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}
.module-listing-language-option {
    align-items: center;
    background: #f8f8fb;
    border: 1px solid #e4e4ec;
    border-radius: 0.65rem;
    cursor: pointer;
    display: inline-flex;
    gap: 0.55rem;
    margin: 0;
    min-height: 2.7rem;
    padding: 0.55rem 0.75rem;
    transition: background-color 0.16s ease, border-color 0.16s ease;
}
.module-listing-language-option:hover,
.module-listing-language-option:focus-within {
    background: #f1efff;
    border-color: rgba(128, 117, 255, 0.55);
}
.module-listing-language-option .form-check-input {
    margin: 0;
}
@media (prefers-reduced-motion: reduce) {
    .module-listing-row > *,
    .module-listing-action,
    .module-listing-bulk,
    .module-listing-language-option {
        transition: none;
    }
    .module-listing-action:hover {
        transform: none;
    }
}
@media (max-width: 767.98px) {
    .module-listing-toolbar,
    .module-listing-footer {
        align-items: stretch;
    }
    .module-listing-filters,
    .module-listing-pagination,
    .module-listing-bulk {
        flex: 1 1 100%;
        width: 100%;
    }
    .module-listing-filters > .form-control,
    .module-listing-filters > .form-select,
    .module-listing-filters > .input-group {
        flex: 1 1 100%;
        max-width: none;
        width: 100%;
    }
    .module-listing-pagination {
        justify-content: space-between;
    }
    .module-listing-bulk .form-select {
        flex: 1 1 10rem;
        max-width: none;
    }
}
.badge {
    padding: 6px 10px;
    font-size: .9em;
    font-weight: 600;
    line-height: 13px;
    border-radius: 4rem;
}
.bg-success {
    background-color: #2FAF7A !important;
}
.text-success {
    color: #2FAF7A !important;
}
legend {
    font-size: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
    margin-bottom: 30px;
}
.red {
    color: #ff0000;
}
.form-language-tab.language-tab-error,
.form-language-tab.language-tab-error.active,
.admin-panel-tabs .nav-link.settings-tab-error,
.admin-panel-tabs .nav-link.settings-tab-error.active {
    animation: form-language-error-pulse 0.8s ease-in-out 2;
    background: #fff4f5;
    border-color: #f1aeb5;
    color: #b02a37;
}
.form-language-tab .language-error-count,
.admin-panel-tabs .settings-error-count {
    background: #dc3545;
    color: #fff;
    min-width: 1.35rem;
}
.language-error-summary {
    color: #842029;
}
@keyframes form-language-error-pulse {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
    }
    50% {
        box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.2);
    }
}
@media (prefers-reduced-motion: reduce) {
    .form-language-tab.language-tab-error,
    .form-language-tab.language-tab-error.active {
        animation: none;
    }
}
.form-table {
    width: auto;
}
.form-table .form-table-drag-column {
    min-width: 42px;
    text-align: center;
    width: 42px;
}
.form-table-drag-handle {
    color: var(--main-color);
    cursor: grab;
    padding: 0.35rem;
}
.form-table-drag-handle:active {
    cursor: grabbing;
}
.form-table-sortable-placeholder {
    background: rgba(128, 117, 255, 0.08);
    height: 52px;
    outline: 2px dashed rgba(128, 117, 255, 0.45);
    outline-offset: -4px;
}
.form-table-sortable .ui-sortable-helper {
    background: #fff;
    box-shadow: 0 0.5rem 1rem rgba(33, 37, 41, 0.12);
}
.form-table td {
    min-width: 50px;
    padding: 0.5rem 0.2rem;
    vertical-align: middle;
}
th .text-info small {
    font-weight: normal;
}
.form-table td.form-inline .form-control {
    display: block;
    width: 100%;
}
.form-table td.input-text:not(.numeric) .form-control {
    min-width: 290px;
    width: auto;
}
.form-table td.input-text.numeric {
    max-width: 120px;
}
.form-table td.input-date,
.form-table td.input-datetime {
    white-space: nowrap;
    width: auto;
    min-width: 295px;
}
.form-table td.input-date input.form-control,
.form-table td.input-datetime input.form-control {
    display: inline-block;
    max-width: 110px;
}
#ui-datepicker-div {
    z-index: 999 !important;
}
.form-table select.form-control {
    padding: 6px 5px;
}
.form-table td.input-date select.form-control,
.form-table td.input-datetime select.form-control {
    display: inline-block;
    max-width: 50px;
}
.form-table td.has-feedback .form-control-feedback {
    display: none;
}
.form-table td.has-feedback .form-control {
    padding-right: initial;
}
.input-group .form-control {
    z-index: 0;
}
.form-inline .form-control {
    display: inline-block;
    width: auto;
}
@media (max-width: 767px) {
    .form-inline .form-control, .form-inline .form-select, .form-inline .input-group-text {
        display: block !important;
        margin-bottom: 5px;
    }
    .form-inline .form-control, .form-inline .form-select {
        width: 100%;
    }
    .form-inline .input-group .form-select {
        width: auto;
    }
}
.row-editor > [class*="col-"] {
    width: 100% !important;
}
.row-editor label {
    text-align: left;
}
.pageflow + textarea {
    display: none;
}
.uploadify {
    margin-left: 10px;
    display: inline-block;
}
.uploadifive-button {
    cursor: pointer;
    background: var(--main-color);
    border: none;
    border-radius: 4px;
    color: #fff;
    display: inline-block;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857;
    padding: 6px 12px;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
}
ul.files-list {
    margin: 0;
    padding: 0;
    list-style-type: none;
}
ul.files-list>li {
    margin: 10px 20px 0 0;
    color: #666;
    font-size: 14px;
    position: relative;
    padding-bottom: 2rem;
}
ul.files-list.sortable>li {
    cursor: move;
}
.prev-file {
    text-align: center;
    font-size: 14px;
}
.prev-file .card-img-top {
    height: 190px;
    object-fit: cover;
    max-width: 100%;
}
.prev-file .svg-inline--fa {
    width: 100%;
    height: 70px;
    padding-top: 60px;
    padding-bottom: 60px;
}
.uploaded {
    display: none;
}
.actions-file {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 16px;
}
.actions-file img {
    float: left;
    margin: 0 0 0 5px;
    height: 100%;
}
.infos-file {
    padding: 10px;
}
.uploaded p {
    margin: 10px;
}
.filesize {
    font-size: 12px;
}
input.filename {
    width: 156px !important;
    text-align: center !important;
    border: 0 !important;
    background: transparent !important;
    min-width: 156px !important;
}
#wrap-library {
    position: fixed;
    top: 148px;
    right: -313px;
    width: 313px;
    height: 405px;
    z-index: 1;
    background: url("../images/drag-drop.png") no-repeat center bottom #fff;
    border-bottom: 1px solid #ccc;
    border-top: 1px solid #ccc;
    border-left: 1px solid #ccc;
    border-radius: 2px 0 0 2px;
}
#library {
    height: 100%;
    overflow: scroll;
}
#library .heading {
    border-bottom: 1px solid #fff;
    padding: 10px 15px;
    background: #ccc;
}
#library [class^="col-"] {
    background: #ebebeb;
    border-bottom: 1px solid #fff;
    border-right: 1px solid #fff;
    padding: 8px;
    color: #666;
    font-size: 12px;
    height: 118px;
}
#library a {
    display: block;
    height: 50px;
    overflow: hidden;
}
a.btn-slide {
    position: absolute;
    top: 192px;
    left: -17px;
    display: block;
    width: 16px;
    height: 40px;
}
a.btn-slide.left {
    background: url("../images/slide-left.png") no-repeat;
}
a.btn-slide.right {
    background: url("../images/slide-right.png") no-repeat;
}
#overlay {
    background-color: #fff;
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
}
#overlay.loading {
    background-color: rgba(255, 255, 255, 0.75);
    display: flex!important;
}
.bg-gray #overlay,
.bg-gray #overlay.loading {
    /*background-color: var(--bs-gray-700)!important;*/
    background: linear-gradient(45deg, #332e6b, #2c4d4f) !important;
}
.bg-gray::before {
    background: linear-gradient(160deg, #a81c54, transparent 50%) !important;
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    opacity: 0.2;
    position: absolute;
    z-index: 0;
}
.bg-gray .container {
    position: relative;
    z-index: 1;
}
.loader {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    display: inline-block;
    border-top: 4px solid var(--highlight-color);
    border-right: 4px solid transparent;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}
.loader::after {
    content: '';  
    box-sizing: border-box;
    position: absolute;
    left: 0;
    top: 0;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    border-bottom: 4px solid var(--main-color);
    border-left: 4px solid transparent;
}
@keyframes rotation {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
} 
.twitter-typeahead {
    display: block !important;
}
.tt-input {
    background-color: #fff !important;
}
.tt-menu {
    background-color: #fff;
    border: 1px solid #308CFC;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    min-width: 200px;
}
.tt-suggestion {
    padding: 2px 15px;
    text-align: left;
    white-space: nowrap;
}
.tt-suggestion:hover {
    cursor: pointer;
    background-color: #308CFC;
    color: #fff;
}
.tt-suggestion p {
    margin: 0;
}
.white-popup-block {
    background: #fff none repeat scroll 0 0;
    margin: 40px auto;
    max-width: 650px;
    padding: 20px 30px;
    position: relative;
    text-align: left;
}
#context-menu {
    position: absolute;
    display: none;
    background: #fff;
    width: auto;
    z-index: 8;
    min-width: 220px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}
#context-menu a {
    display: block;
    padding: 6px 10px;
    white-space: nowrap;
    color: #333;
}
#context-menu a:hover {
    background: var(--main-color);
    color: #fff;
}

.ui-datepicker {
    width: 325px;
    height: auto;
    margin: 5px auto 0;
    background: #fff;
    font-size: 14px;
    padding: 15px;
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, .2);
    display: none;
}
.ui-datepicker table {
    width: 100%;
}
.ui-datepicker-header {
    background: #fff;
    color: #333;
    padding: 10px;
}
.ui-datepicker-title {
    text-align: center;
    font-size: 15px;

}
.ui-datepicker-prev {
    float: left;
    cursor: pointer;
}
.ui-datepicker-next {
    float: right;
    cursor: pointer;
}
.ui-datepicker-next::before,
.ui-datepicker-prev::before {
    font-family: "Pandao Icons";
    font-weight: normal;
}
.ui-datepicker-next::before {
    content: '\e13a';
}
.ui-datepicker-prev::before {
    content: '\e138';
}
.ui-datepicker-next span,
.ui-datepicker-prev span {
    display: none;
}
.ui-datepicker thead {
    background-color: #f7f7f7;
    border-bottom: 1px solid #ccc;
}
.ui-datepicker th {
    background-color: #fff;
    font-size: 12px;
    color: #aaa;
}
.ui-datepicker tbody td {
    padding: 6px;
    width: 42px;
    height: 42px;
}
.ui-datepicker a {
    text-decoration: none;
}
.ui-datepicker td span, .ui-datepicker td a {
    display: inline-block;
    text-align: center;
    width: 30px;
    height: 30px;
    line-height: 30px;
    color: #ffffff;
}
td.ui-datepicker-week-end a {
    color: var(--main-color) !important;
}
.ui-datepicker-calendar .ui-state-default {
    background: #fff;
    color: #333;
    width: 100%;
    height: 100%;
    border-radius: 21px;
}
.ui-datepicker-calendar .ui-state-hover {
    background: var(--main-color);
    color: #fff !important;
    outline: none !important;
}
.ui-datepicker-calendar .ui-state-active {
    outline: 1px solid var(--main-color);
    color: var(--main-color);
}
.ui-datepicker-unselectable .ui-state-default {
    background: #D6E4BE;
    color: #000;
}

.seo-preview-section {
    margin-top: 1.5rem;
}
.seo-serp-preview {
    padding: 1rem;
    border: 1px solid #dfe1e5;
    border-radius: .35rem;
    background: #fff;
    font-family: Arial, sans-serif;
}
.seo-serp-url {
    margin-bottom: .2rem;
    color: #202124;
    font-size: .82rem;
    overflow-wrap: anywhere;
}
.seo-serp-title {
    color: #1a0dab;
    font-size: 1.18rem;
    line-height: 1.3;
}
.seo-serp-description {
    margin-top: .25rem;
    color: #4d5156;
    font-size: .88rem;
    line-height: 1.45;
}
.text-info.seo-length-good {
    color: #198754 !important;
}
.text-info.seo-length-warning {
    color: #dc3545 !important;
}

/* Diagnostic screen */
.diag-intro {
    color: var(--bs-gray-700);
    max-width: 60rem;
}
.diag-card-title {
    align-items: center;
    display: flex;
    font-size: 1.1rem;
    font-weight: 600;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.diag-subtitle {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 1.5rem 0 0.5rem;
}
.diag-headline {
    align-items: flex-start;
    border-radius: 0.6rem;
    display: flex;
    gap: 0.75rem;
    padding: 1rem 1.1rem;
}
.diag-headline > .diag-status-icon {
    font-size: 1.6rem;
}
.diag-headline-text {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0;
}
.diag-headline-help {
    margin: 0.25rem 0 0;
    max-width: 60rem;
}
.diag-headline-ok { background: #e8f6ee; }
.diag-headline-notice,
.diag-headline-none { background: #eef0fb; }
.diag-headline-warning { background: #fff4e0; }
.diag-headline-error { background: #fdecec; }
.diag-status-icon { flex: 0 0 auto; }
.diag-status-ok { color: #198754; }
.diag-status-notice { color: #5a5fc8; }
.diag-status-warning { color: #b86e00; }
.diag-status-error { color: #c62f2f; }
.diag-status-info,
.diag-status-none { color: var(--bs-gray-600); }
.diag-status-notice-text { color: #5a5fc8; }
.diag-facts {
    display: grid;
    gap: 0.75rem 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
    margin: 1.25rem 0 0;
}
.diag-facts dt,
.diag-config dt {
    color: var(--bs-gray-600);
    font-size: 0.8rem;
    font-weight: 400;
}
.diag-facts dd {
    font-weight: 500;
    margin: 0;
}
/* Above the centred headers of .table>thead>tr>th. */
.diag-tasks > thead > tr > th,
.diag-tasks > tbody > tr > * {
    text-align: start;
    white-space: nowrap;
}
.diag-tasks > tbody > tr > td:last-child {
    white-space: normal;
}
/* On a phone, each task is a card: its name, then its values with their label. */
@media (max-width: 767.98px) {
    .diag-tasks > thead {
        display: none;
    }
    .diag-tasks,
    .diag-tasks > tbody,
    .diag-tasks > tbody > tr,
    .diag-tasks > tbody > tr > * {
        display: block;
        width: 100%;
    }
    .diag-tasks > tbody > tr {
        border-bottom: 1px solid rgba(72, 75, 86, 0.12);
        padding: 0.5rem 0;
    }
    .diag-tasks > tbody > tr > * {
        border: 0;
        padding: 0.15rem 0;
        white-space: normal;
    }
    .diag-tasks > tbody > tr > td::before {
        color: var(--bs-gray-600);
        content: attr(data-label) " ";
        font-size: 0.8rem;
    }
}
.diag-tasks th[scope="row"] {
    font-weight: 500;
}
.diag-detail {
    color: var(--bs-gray-600);
    display: block;
    font-size: 0.8rem;
}
.diag-run {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}
.diag-run .diag-detail {
    display: inline;
}
.diag-advanced {
    border-top: 1px solid rgba(72, 75, 86, 0.12);
    margin-top: 1.25rem;
    padding-top: 1rem;
}
.diag-advanced summary,
.diag-report summary {
    cursor: pointer;
    font-weight: 600;
}
.diag-advanced > p {
    margin: 0.75rem 0;
    max-width: 60rem;
}
.diag-config dd {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0 0 0.75rem;
}
.diag-config dd > .diag-detail {
    flex-basis: 100%;
}
.diag-code {
    background: var(--bs-gray-200);
    border-radius: 0.4rem;
    color: var(--bs-dark);
    padding: 0.35rem 0.55rem;
    user-select: all;
    word-break: break-all;
}
.diag-sections {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr));
}
.diag-items {
    list-style: none;
    margin: 0;
    padding: 0;
}
.diag-items > li {
    align-items: flex-start;
    border-top: 1px solid rgba(72, 75, 86, 0.08);
    display: flex;
    gap: 0.6rem;
    padding: 0.6rem 0;
}
.diag-items > li:first-child {
    border-top: 0;
    padding-top: 0;
}
.diag-items .diag-status-icon {
    font-size: 1.1rem;
    margin-top: 0.1rem;
}
.diag-item {
    display: flex;
    flex: 1 1 auto;
    flex-wrap: wrap;
    gap: 0 1rem;
    justify-content: space-between;
    min-width: 0;
}
.diag-item-label {
    font-weight: 500;
}
.diag-item-value {
    overflow-wrap: anywhere;
    text-align: end;
}
.diag-item .diag-detail {
    flex-basis: 100%;
}
.diag-report textarea {
    font-size: 0.8rem;
}
