/* Tema pagine di accesso, ispirato al layout Modern Web Technology.
   Il rosso corallo del template (#f15048) è sostituito dal grigio argento. */

body.login-page {
    display: block;
    min-height: 100vh;
    margin: 0;
    background: #111111;
    color: #f5f5f5;
}

body.login-page .wrapper {
    background: transparent;
}

.cmi-hero {
    position: relative;
    min-height: 78vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #0c0c0c;
}

.cmi-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48.5' height='84' viewBox='0 0 48.5 84'%3E%3Cg fill='none' stroke='%23c0c0c0' stroke-width='1.15' stroke-opacity='0.55'%3E%3Cpolygon points='24.25,0 48.5,14 48.5,42 24.25,56 0,42 0,14'/%3E%3Cpolygon points='72.75,0 97,14 97,42 72.75,56 48.5,42 48.5,14'/%3E%3Cpolygon points='0,42 24.25,56 24.25,84 0,98 -24.25,84 -24.25,56'/%3E%3Cpolygon points='48.5,42 72.75,56 72.75,84 48.5,98 24.25,84 24.25,56'/%3E%3Cpolygon points='24.25,84 48.5,98 48.5,126 24.25,140 0,126 0,98'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 97px 168px;
    pointer-events: none;
}

.cmi-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 46%, rgba(12, 12, 12, 0.15), rgba(12, 12, 12, 0.78) 72%);
    pointer-events: none;
}

.cmi-ring {
    position: relative;
    z-index: 1;
    width: min(520px, 88vw);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 32px 24px;
    background: transparent;
}

.cmi-logo {
    width: 128px;
    height: 128px;
    object-fit: contain;
    margin-bottom: 18px;
    filter: invert(1) drop-shadow(0 0 18px rgba(192, 192, 192, 0.45));
}

.cmi-ring h1,
.cmi-panel h2,
body.login-page h4 {
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.cmi-ring h1 {
    font-size: clamp(32px, 4vw, 52px);
    margin: 0 0 10px;
}

.cmi-ring p,
.cmi-panel .cmi-lead {
    color: #e8e8e8;
    margin: 0;
}

.cmi-rule {
    display: block;
    width: 72px;
    height: 4px;
    margin-top: 18px;
    background: #c0c0c0;
}

.cmi-panel {
    background: #111111;
    color: #f3f3f3;
    padding: 72px 16px 88px;
}

.cmi-panel-inner {
    max-width: 460px;
    margin: 0 auto;
    text-align: center;
}

.cmi-panel h2 {
    font-size: 36px;
    margin-bottom: 12px;
}

.cmi-panel .cmi-lead {
    margin-bottom: 28px;
    color: #d0d0d0;
}

body.login-page .cmi-panel .form-control,
body.login-page .cmi-panel .input-group-text,
body.login-page .card .form-control,
body.login-page .card .input-group-text {
    background: #1c1c1c;
    border-color: #5c5c5c;
    color: #f5f5f5;
}

body.login-page .form-control:focus {
    border-color: #c0c0c0;
    box-shadow: 0 0 0 0.2rem rgba(192, 192, 192, 0.25);
}

body.login-page .btn-primary,
body.login-page .btn-success,
body.login-page .btn-info,
body.login-page .btn-warning {
    background: #c0c0c0;
    border-color: #c0c0c0;
    color: #111111;
}

body.login-page .btn-primary:hover,
body.login-page .btn-success:hover,
body.login-page .btn-info:hover,
body.login-page .btn-warning:hover {
    background: #a3a3a3;
    border-color: #a3a3a3;
    color: #111111;
}

body.login-page a {
    color: #d6d6d6;
}

body.login-page .card,
body.login-page .card-body,
body.login-page .card-header {
    background: #161616;
    color: #f3f3f3;
}

body.login-page .card {
    border: 1px solid #2e2e2e;
    box-shadow: none;
}

body.login-page .card-header {
    border-bottom: 2px solid #c0c0c0 !important;
}

body.login-page .card-title,
body.login-page .card-header h3,
body.login-page .card-header h4 {
    color: #c0c0c0 !important;
}

body.login-page .text-muted,
body.login-page .help-block,
body.login-page label {
    color: #cfcfcf !important;
}

body.login-page .card-center-large,
body.login-page .card-center-medium {
    max-width: 1100px;
    margin: 0 auto 48px;
    border-radius: 0;
}

body.login-page .alert-warning {
    background: #c0c0c0;
    color: #111111;
    border: none;
    border-radius: 0;
    margin: 0;
    width: 100%;
    max-width: none;
}

@media (max-width: 700px) {
    .cmi-ring {
        padding: 24px 16px;
    }

    .cmi-logo {
        width: 96px;
        height: 96px;
    }

    .cmi-hero {
        min-height: 70vh;
    }
}

/* Guscio autenticato: layout tipo Webadmin (sidebar piena, barra solo sul contenuto,
   schede arrotondate) con la palette argento e nero. */

body:not(.login-page) {
    background: #f4f6f8;
}

body:not(.login-page) .content-wrapper,
body:not(.login-page) .main-header,
body:not(.login-page) .main-footer {
    background: #f4f6f8;
}

@media (min-width: 992px) {
    body.layout-fixed:not(.sidebar-collapse):not(.login-page) .main-sidebar,
    body.layout-fixed:not(.sidebar-collapse):not(.login-page) .main-sidebar::before {
        width: 260px;
    }

    body.layout-fixed:not(.sidebar-collapse):not(.login-page) .content-wrapper,
    body.layout-fixed:not(.sidebar-collapse):not(.login-page) .main-footer,
    body.layout-fixed:not(.sidebar-collapse):not(.login-page) .main-header {
        margin-left: 260px;
    }
}

body:not(.login-page) .main-header {
    border-bottom: 0;
    min-height: 70px;
    padding: 0 12px;
}

body:not(.login-page) .main-footer {
    border-top: 0;
    color: #6b7280;
    padding: 12px 22px 18px;
}

body:not(.login-page) .content {
    padding: 0 18px 24px;
}

body:not(.login-page) .content-header {
    padding: 4px 18px 12px;
}

body:not(.login-page) .content-header h1 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a1a;
}

body:not(.login-page) .cmi-welcome {
    display: inline-block;
    margin-left: 6px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.2;
}

body:not(.login-page) .cmi-period {
    font-size: 0.92rem;
    margin-left: 4px;
}

body:not(.login-page) .main-header .cmi-iconbtn {
    width: 38px;
    height: 38px;
    margin: 0 2px;
    padding: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #3a3a3a;
}

body:not(.login-page) .main-header .cmi-iconbtn:hover {
    background: #e7e7e7;
    color: #111111;
}

body:not(.login-page) .main-header .cmi-iconbtn.dropdown-toggle::after {
    display: none;
}

body:not(.login-page) .cmi-userchip {
    width: auto;
    height: 42px;
    margin-left: 6px;
    padding: 0 12px 0 4px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1a1a1a;
    font-weight: 600;
}

body:not(.login-page) .cmi-userchip:hover {
    background: #e7e7e7;
    color: #111111;
}

body:not(.login-page) .cmi-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

body:not(.login-page) .card {
    border: 1px solid #eff0f2;
    border-radius: 12px;
    box-shadow: 0 0 6px #ebeef4;
}

body:not(.login-page) .card-header:first-child {
    border-radius: 12px 12px 0 0;
}

body:not(.login-page) .card > .card-header {
    background: #ffffff;
    border-bottom: 1px solid #eff0f2;
}

body:not(.login-page) .card-title {
    font-size: 16px;
    font-weight: 600;
}

body:not(.login-page) .small-box {
    border-radius: 14px;
    overflow: hidden;
}

body:not(.login-page) .cmi-widget-top-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 8px 12px;
    padding: 4px 12px;
    border: 1px solid #eff0f2;
    border-radius: 12px;
    background: #ffffff;
    color: #1a1a1a;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
}

body:not(.login-page) .cmi-widget-top-toggle:hover {
    background: #f4f6f8;
}

body:not(.login-page) .cmi-widget-top.is-collapsed #widget-top {
    display: none !important;
}

body:not(.login-page) #widget-top {
    margin-left: 0;
    margin-right: 0;
}

body:not(.login-page) #widget-top .li-widget {
    padding-left: 6px;
    padding-right: 6px;
    margin-bottom: 8px;
}

body:not(.login-page) #widget-top .info-box {
    display: flex;
    align-items: center;
    min-height: 52px;
    margin-bottom: 0;
    padding: 6px 8px;
    border: 1px solid #eff0f2;
    border-radius: 10px;
    box-shadow: none;
}

body:not(.login-page) #widget-top .info-box-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 8px;
    font-size: 18px;
    line-height: 34px;
    background: #f3f4f6 !important;
    color: #1a1a1a !important;
}

body:not(.login-page) #widget-top .info-box-icon .bx,
body:not(.login-page) #widget-top .info-box-icon .fa {
    font-size: 18px;
    line-height: 1;
    color: #1a1a1a;
}

body:not(.login-page) #widget-top .info-box-content {
    padding: 0 8px;
    line-height: 1.2;
    margin-left: 0;
}

body:not(.login-page) #widget-top .info-box-text {
    font-size: 12px;
    text-transform: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body:not(.login-page) #widget-top .info-box-number {
    font-size: 15px;
    font-weight: 700;
    margin-top: 2px;
}

body:not(.login-page) #widget-top .info-box .close {
    font-size: 14px;
    line-height: 1;
    opacity: 0;
    padding: 0;
    margin-left: 6px;
}

body:not(.login-page) #widget-top .info-box:hover .close {
    opacity: 0.55;
}

body:not(.login-page) .cmi-widget-top.is-collapsed .cmi-widget-top-toggle {
    margin-bottom: 4px;
}

body:not(.login-page) .main-sidebar,
body:not(.login-page) .main-sidebar::before,
body:not(.login-page) .sidebar-dark-secondary,
body:not(.login-page) .sidebar-dark-secondary .sidebar {
    background-color: #111111 !important;
}

body:not(.login-page) .sidebar-dark-secondary .brand-link {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
    min-height: 158px;
    padding: 14px 14px 12px;
    overflow: hidden;
    border-bottom: 1px solid #2a2a2a;
    background:
        radial-gradient(circle at 50% 42%, rgba(192, 192, 192, 0.16), transparent 58%),
        #0c0c0c;
    line-height: 1;
    text-decoration: none;
}

body:not(.login-page) .sidebar-dark-secondary .brand-link::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 100% 4px;
    pointer-events: none;
}

body:not(.login-page) .sidebar-dark-secondary .cmi-brand-clock {
    position: absolute;
    inset: 0 8px auto;
    z-index: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 18px;
    pointer-events: none;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
    font-variant-numeric: tabular-nums;
}

body:not(.login-page) .sidebar-dark-secondary .cmi-brand-time {
    color: #f2f2f2;
    font-size: 30px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-shadow: 0 0 10px rgba(192, 192, 192, 0.55);
}

body:not(.login-page) .sidebar-dark-secondary .cmi-brand-date {
    margin-top: 7px;
    color: #bdbdbd;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

body:not(.login-page) .sidebar-dark-secondary .brand-text {
    display: none;
}

body:not(.login-page) .sidebar-dark-secondary .brand-image {
    position: relative;
    z-index: 1;
    float: none;
    width: 52px;
    max-height: none;
    height: auto;
    margin: 68px 0 0;
    opacity: 1;
    filter: invert(1);
}

body.sidebar-collapse:not(.login-page) .sidebar-dark-secondary .brand-link {
    min-height: 70px;
    justify-content: center;
    padding: 10px 0;
}

body.sidebar-collapse:not(.login-page) .sidebar-dark-secondary .cmi-brand-clock {
    display: none;
}

body.sidebar-collapse:not(.login-page) .sidebar-dark-secondary .brand-image {
    width: 36px;
    margin: 0;
}

body.sidebar-mini.sidebar-collapse:not(.login-page) .main-sidebar:hover .cmi-brand-clock {
    display: flex;
}

body.sidebar-mini.sidebar-collapse:not(.login-page) .main-sidebar:hover .brand-link {
    min-height: 158px;
    justify-content: flex-end;
    padding: 14px 14px 12px;
}

body.sidebar-mini.sidebar-collapse:not(.login-page) .main-sidebar:hover .brand-image {
    width: 52px;
    margin: 68px 0 0;
}

body:not(.login-page) .user-panel {
    display: none !important;
}

body:not(.login-page) .sidebar-dark-secondary .nav-sidebar {
    padding: 0 10px 24px;
}

body:not(.login-page) .sidebar-dark-secondary .nav-sidebar > .nav-item > .nav-link {
    border-radius: 12px;
    margin: 2px 0;
    padding: 0.62rem 0.75rem;
}

body:not(.login-page) .sidebar-dark-secondary .form-inline {
    padding: 0 10px 8px;
}

body:not(.login-page) .sidebar-dark-secondary .form-control-sidebar {
    border-radius: 10px 0 0 10px;
}

body:not(.login-page) .sidebar-dark-secondary .btn-sidebar {
    border-radius: 0 10px 10px 0;
}

body:not(.login-page) .sidebar-dark-secondary .nav-treeview {
    margin-left: 22px;
    padding-left: 8px;
    border-left: 1px solid #3a3a3a;
}

body:not(.login-page) .sidebar-dark-secondary .user-panel .info a,
body:not(.login-page) .sidebar-dark-secondary .nav-sidebar > .nav-item > .nav-link {
    color: #e8e8e8;
}

body:not(.login-page) .sidebar-dark-secondary .nav-sidebar > .nav-item > .nav-link:hover {
    background-color: #2a2a2a;
    color: #ffffff;
}

body:not(.login-page) .sidebar-dark-secondary .nav-sidebar > .nav-item > .nav-link.active,
body:not(.login-page) .sidebar-dark-secondary .nav-sidebar > .nav-item.menu-open > .nav-link {
    background-color: #c0c0c0;
    color: #111111;
}

body:not(.login-page) .sidebar-dark-secondary .nav-treeview > .nav-item > .nav-link {
    color: #d0d0d0;
}

body:not(.login-page) .sidebar-dark-secondary .nav-treeview > .nav-item > .nav-link.active,
body:not(.login-page) .sidebar-dark-secondary .nav-treeview > .nav-item > .nav-link:hover {
    background-color: #2a2a2a;
    color: #ffffff;
}

body:not(.login-page) .sidebar-dark-secondary .form-control-sidebar,
body:not(.login-page) .sidebar-dark-secondary .btn-sidebar {
    background-color: #1c1c1c;
    border-color: #3a3a3a;
    color: #f5f5f5;
}

body:not(.login-page) .btn-primary {
    background-color: #c0c0c0;
    border-color: #a8a8a8;
    color: #111111;
}

body:not(.login-page) .btn-primary:hover,
body:not(.login-page) .btn-primary:focus,
body:not(.login-page) .btn-primary:not(:disabled):not(.disabled):active,
body:not(.login-page) .btn-primary:not(:disabled):not(.disabled).active {
    background-color: #a3a3a3;
    border-color: #8f8f8f;
    color: #111111;
}

body:not(.login-page) .bg-primary {
    background-color: #c0c0c0 !important;
    color: #111111 !important;
}

body:not(.login-page) .text-primary {
    color: #4a4a4a !important;
}

body:not(.login-page) .card-primary:not(.card-outline) > .card-header,
body:not(.login-page) .card-primary:not(.card-outline) > .card-header a {
    background-color: #111111;
    color: #f5f5f5;
}

body:not(.login-page) .card-primary.card-outline {
    border-top-color: #c0c0c0;
}

body:not(.login-page) .content .nav-pills .nav-link.active {
    background-color: #111111;
    color: #ffffff;
}

body:not(.login-page) .nav-sidebar .bx,
body:not(.login-page) .main-header .bx,
body:not(.login-page) .btn-sidebar .bx,
body:not(.login-page) .info-box-icon .bx {
    font-size: 1.2rem;
    line-height: 1;
    vertical-align: middle;
}

body:not(.login-page) .nav-sidebar > .nav-item > .nav-link > .bx {
    width: 1.35rem;
    margin-right: 0.55rem;
    text-align: center;
}

body:not(.login-page) .info-box-icon .bx {
    font-size: 1.6rem;
}

/* Calendario: stessa struttura di Webadmin (scheda bianca, toolbar a pulsanti, griglia leggera). */
body:not(.login-page) #calendar {
    background: #ffffff;
    border-radius: 14px;
    padding: 16px 16px 8px;
    box-shadow: 0 1px 2px rgba(17, 17, 17, 0.04), 0 10px 24px rgba(17, 17, 17, 0.05);
}

body:not(.login-page) #calendar .fc-toolbar.fc-header-toolbar {
    margin-bottom: 14px;
    align-items: center;
}

body:not(.login-page) #calendar .fc-toolbar-title {
    font-size: 1.35rem;
    font-weight: 600;
    color: #1a1a1a;
}

body:not(.login-page) #calendar .fc-button {
    background: #ffffff;
    border: 1px solid #e4e6ea;
    color: #3a3a3a;
    box-shadow: none;
    text-transform: none;
    font-weight: 600;
    border-radius: 8px;
    padding: 0.35rem 0.75rem;
}

body:not(.login-page) #calendar .fc-button:hover,
body:not(.login-page) #calendar .fc-button:focus {
    background: #f3f4f6;
    border-color: #d5d7dc;
    color: #111111;
}

body:not(.login-page) #calendar .fc-button-primary:not(:disabled).fc-button-active,
body:not(.login-page) #calendar .fc-button-primary:not(:disabled):active {
    background: #111111;
    border-color: #111111;
    color: #ffffff;
}

body:not(.login-page) #calendar .fc-button-group > .fc-button {
    border-radius: 0;
}

body:not(.login-page) #calendar .fc-button-group > .fc-button:first-child {
    border-radius: 8px 0 0 8px;
}

body:not(.login-page) #calendar .fc-button-group > .fc-button:last-child {
    border-radius: 0 8px 8px 0;
}

body:not(.login-page) #calendar .fc-scrollgrid,
body:not(.login-page) #calendar .fc-theme-standard td,
body:not(.login-page) #calendar .fc-theme-standard th {
    border-color: #eef0f3;
}

body:not(.login-page) #calendar .fc-col-header-cell {
    background: #fafbfc;
    padding: 8px 0;
}

body:not(.login-page) #calendar .fc-col-header-cell-cushion,
body:not(.login-page) #calendar .fc-timegrid-slot-label-cushion {
    color: #4b5563;
    font-weight: 600;
    text-decoration: none;
}

body:not(.login-page) #calendar .fc-timegrid-slot {
    height: 2.4em;
}

body:not(.login-page) #calendar .fc-event,
body:not(.login-page) #calendar .fc-event.fc-h-event,
body:not(.login-page) #calendar .fc-event.fc-v-event {
    border: 0;
    border-top-width: 0;
    border-radius: 6px;
    padding: 1px 3px;
}

body:not(.login-page) #calendar .fc-bg-event {
    background: rgba(17, 17, 17, 0.045);
    opacity: 1;
}

body:not(.login-page) #calendar .fc-day-today {
    background: #f7f7f8;
}

/* Componenti come in UI Elements: pulsanti, avvisi, campi e finestre con raggio 12px.
   I colori di stato restano quelli del gestionale; il primario resta argento. */

body:not(.login-page) .content-wrapper .btn,
body:not(.login-page) .modal .btn,
body:not(.login-page) .control-sidebar .btn {
    border-radius: 12px;
    font-weight: 500;
    box-shadow: none;
}

body:not(.login-page) .btn-group > .btn {
    border-radius: 0;
}

body:not(.login-page) .btn-group > .btn:first-child {
    border-radius: 12px 0 0 12px;
}

body:not(.login-page) .btn-group > .btn:last-child {
    border-radius: 0 12px 12px 0;
}

body:not(.login-page) .btn-group > .btn:only-child {
    border-radius: 12px;
}

body:not(.login-page) .alert {
    border: 0;
    border-radius: 12px;
}

body:not(.login-page) .form-control,
body:not(.login-page) .custom-select {
    border-radius: 8px;
    border-color: #e4e6ea;
}

body:not(.login-page) .form-control:focus,
body:not(.login-page) .custom-select:focus {
    border-color: #c0c0c0;
    box-shadow: 0 0 0 0.15rem rgba(192, 192, 192, 0.35);
}

body:not(.login-page) .select2-container--bootstrap4 .select2-selection {
    border-radius: 8px !important;
    border-color: #e4e6ea !important;
}

body:not(.login-page) .modal-content {
    border: 1px solid #eff0f2;
    border-radius: 12px;
    box-shadow: 0 0 6px #ebeef4;
}

body:not(.login-page) .dropdown-menu {
    border: 1px solid #eff0f2;
    border-radius: 12px;
    box-shadow: 0 0 6px #ebeef4;
}

body:not(.login-page) .content-wrapper .badge {
    border-radius: 8px;
    font-weight: 500;
}

body:not(.login-page) .content-wrapper .nav-tabs {
    border-bottom: 1px solid #eff0f2;
}

body:not(.login-page) .cmi-panorama {
    margin: 0 0 18px;
}

body:not(.login-page) .cmi-panorama-title {
    margin: 0 0 8px;
    color: #6b7280;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

body:not(.login-page) .cmi-panorama-title span {
    margin-left: 8px;
    color: #111111;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
}

body:not(.login-page) .cmi-panorama-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

body:not(.login-page) .cmi-panorama-card {
    display: block;
    min-height: 78px;
    padding: 12px 14px;
    border: 1px solid #e4e4e4;
    border-radius: 12px;
    background: #ffffff;
    color: #111111;
    text-decoration: none;
}

body:not(.login-page) .cmi-panorama-card:hover {
    background: #f4f2ec;
    color: #111111;
    text-decoration: none;
}

body:not(.login-page) .cmi-panorama-card.is-alert {
    border-color: #111111;
}

body:not(.login-page) .cmi-panorama-value {
    display: block;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
}

body:not(.login-page) .cmi-panorama-label {
    display: block;
    margin-top: 4px;
    color: #4b5563;
    font-size: 12px;
}

body:not(.login-page) .cmi-panorama-table {
    margin: 10px 0 0;
    background: #ffffff;
    border: 1px solid #e4e4e4;
    border-radius: 12px;
}

body:not(.login-page) .cmi-panorama-note {
    margin: 8px 0 0;
    color: #4b5563;
    font-size: 12px;
}

@media (max-width: 991px) {
    body:not(.login-page) .cmi-panorama-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

body:not(.login-page) .cmi-kanban {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
}

body:not(.login-page) .cmi-kanban-col {
    flex: 0 0 220px;
    min-height: 240px;
    padding: 8px;
    border: 1px solid #e4e4e4;
    border-radius: 12px;
    background: #f4f2ec;
}

body:not(.login-page) .cmi-kanban-col h3 {
    margin: 0 0 8px;
    color: #111111;
    font-size: 13px;
    font-weight: 700;
}

body:not(.login-page) .cmi-kanban-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 8px;
    padding: 8px;
    border: 1px solid #e4e4e4;
    border-radius: 10px;
    background: #ffffff;
    color: #111111;
    cursor: grab;
}

body:not(.login-page) .cmi-kanban-card span {
    color: #4b5563;
    font-size: 12px;
}

body:not(.login-page) .content-wrapper .nav-tabs .nav-link {
    border: 0;
    border-radius: 8px 8px 0 0;
    color: #4b5563;
}

body:not(.login-page) .content-wrapper .nav-tabs .nav-link.active {
    color: #111111;
    background: #ffffff;
    border-bottom: 2px solid #111111;
}
