.catos-logo-text {
    display: inline-flex;
    align-items: center;
    height: 70px;
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0;
}

.catos-logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: #ffffff;
    background: #727cf5;
    font-weight: 700;
}

.leftside-menu,
[data-menu-color="dark"] .leftside-menu,
[data-menu-color="brand"] .leftside-menu {
    background: #011226;
}

.leftside-menu .logo {
    background: #011226;
}

.catos-sidebar-logo {
   /* max-width: 150px;
    max-height: 63px;
    object-fit: contain;*/
}

.catos-sidebar-logo-sm {
   /* width: 42px;
    height: 42px;
    object-fit: contain;*/
}
.logo-lg img {
    height: 60px;
}
.logo-sm img {
    height: 40px;
}
.leftside-menu .side-nav .side-nav-link,
.leftside-menu .side-nav .side-nav-title,
.leftside-menu .side-nav-second-level a {
    color: rgba(255, 255, 255, .74);
}

.leftside-menu .side-nav .side-nav-link:hover,
.leftside-menu .side-nav .side-nav-link:focus,
.leftside-menu .side-nav .menuitem-active > .side-nav-link,
.leftside-menu .side-nav-second-level a:hover,
.leftside-menu .side-nav-second-level .active {
    color: #ffffff;
}

.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0rem;
}

.page-header > div {
    min-width: 0;
}

.page-header h1,
.page-header .h3 {
    color: var(--ct-heading-color);
}

.content-panel {
    padding: 1.5rem;
    background: var(--ct-card-bg);
    border: 1px solid var(--ct-border-color);
    border-radius: .25rem;
    box-shadow: var(--ct-box-shadow-sm);
}

.metric-card {
    display: flex;
    position: relative;
    overflow: hidden;
    min-height: 128px;
    flex-direction: column;
    justify-content: space-between;
    padding: 1rem;
    background: var(--ct-card-bg);
    border: 1px solid var(--ct-border-color);
    border-radius: .25rem;
    box-shadow: var(--ct-box-shadow-sm);
}

.metric-card::after {
    content: "";
    position: absolute;
    right: -1.75rem;
    bottom: -2rem;
    width: 7rem;
    height: 7rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, .15);
    pointer-events: none;
}

.metric-card-link {
    color: #ffffff;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease;
}

.metric-card-link:hover,
.metric-card-link:focus {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 .85rem 1.85rem rgba(15, 23, 42, .2);
}

.metric-card-os {
    background: linear-gradient(135deg, #2563eb, #14b8a6);
    border-color: rgba(255, 255, 255, .2);
}

.metric-card-clientes {
    background: linear-gradient(135deg, #7c3aed, #ec4899);
    border-color: rgba(255, 255, 255, .2);
}

.metric-card-chamados {
    background: linear-gradient(135deg, #f97316, #eab308);
    border-color: rgba(255, 255, 255, .2);
    color: #ffffff;
}

.metric-card-financeiro {
    background: linear-gradient(135deg, #0f766e, #22c55e);
    border-color: rgba(255, 255, 255, .2);
    color: #ffffff;
}

.metric-icon {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: .45rem;
    background: rgba(255, 255, 255, .18);
    color: #ffffff;
    font-size: 1.35rem;
}

.metric-card strong {
    position: relative;
    z-index: 1;
    font-size: 2rem;
    line-height: 1;
}

.metric-card small,
.metric-label {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, .82);
}

.metric-label {
    font-size: .82rem;
    font-weight: 600;
    text-transform: uppercase;
}

.metric-card-placeholder {
    opacity: .9;
}

.dashboard-future-panel {
    min-height: 9rem;
}

.table-actions {
    white-space: nowrap;
}

.table.table-centered > :not(caption) > * > *,
.table.table-hover > :not(caption) > * > * {
    padding-top: .35rem;
    padding-bottom: .35rem;
    line-height: 1.15;
    vertical-align: middle;
}

.table .action-icon {
    line-height: 1;
}

.side-nav-second-level a {
    align-items: center;
    display: flex;
    gap: .25rem;
}

.side-nav-second-level a i {
    font-size: 1rem;
    line-height: 1;
    min-width: 1rem;
}

.auth-card {
    overflow: hidden;
}

.catos-alert-container {
    position: fixed;
    top: 5rem;
    right: 1rem;
    z-index: 1080;
    width: min(24rem, calc(100vw - 2rem));
}

.select2-container .select2-selection--single {
    min-height: 38px;
    border-color: var(--ct-border-color);
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 36px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    min-height: 36px;
}

@media (max-width: 575.98px) {
    .page-header {
        align-items: flex-start;
        flex-direction: column;
    }
}

.page-title-box .page-title-right {
    float: right;
    margin-top: 0px;
}

.catos-dashboard-shell {
    position: relative;
    isolation: isolate;
    min-height: calc(100vh - 160px);
}

.catos-dashboard-shell > * {
    position: relative;
    z-index: 1;
}

.catos-dashboard-shell::before,
.catos-dashboard-shell::after {
    content: "";
    position: absolute;
    inset: -1.5rem;
    pointer-events: none;
    opacity: 0;
    z-index: 0;
    border-radius: .35rem;
    transition: opacity .25s ease;
}

.catos-dashboard-shell::before {
    background-image: var(--catos-dashboard-bg-url);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(1.5px);
    transform: scale(1.01);
}

.catos-dashboard-shell::after {
    background:
        linear-gradient(120deg, rgba(255, 255, 255, .84), rgba(255, 255, 255, .72)),
        radial-gradient(circle at 18% 12%, rgba(114, 124, 245, .14), transparent 34%);
}

body.catos-dashboard-has-background .catos-dashboard-shell::before,
body.catos-dashboard-has-background .catos-dashboard-shell::after {
    opacity: 1;
}

body[data-bs-theme="dark"] .catos-dashboard-shell::after,
html[data-bs-theme="dark"] .catos-dashboard-shell::after,
[data-bs-theme="dark"] .catos-dashboard-shell::after,
body[data-layout-color="dark"] .catos-dashboard-shell::after,
html[data-layout-color="dark"] .catos-dashboard-shell::after {
    background:
        linear-gradient(120deg, rgba(25, 32, 44, .86), rgba(25, 32, 44, .74)),
        radial-gradient(circle at 18% 12%, rgba(114, 124, 245, .16), transparent 34%);
}
.agenda-filter-list {
    max-height: 260px;
    overflow: auto;
}

.agenda-grid {
    display: grid;
    gap: 1px;
    background: rgba(148, 163, 184, .25);
    border: 1px solid rgba(148, 163, 184, .25);
}

.agenda-grid-month {
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.agenda-grid-week {
    grid-template-columns: repeat(7, minmax(140px, 1fr));
    overflow-x: auto;
}

.agenda-weekday,
.agenda-day {
    background: var(--ct-card-bg, #fff);
}

.agenda-weekday {
    padding: .55rem;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--ct-secondary-color);
}

.agenda-day {
    min-height: 128px;
    padding: .45rem;
}

.agenda-day-muted {
    opacity: .55;
}

.agenda-day-number {
    font-weight: 700;
    margin-bottom: .35rem;
}

.agenda-event {
    display: block;
    width: 100%;
    border: 0;
    border-left: 3px solid #727cf5;
    border-radius: 4px;
    background: rgba(114, 124, 245, .13);
    color: inherit;
    margin-bottom: .35rem;
    padding: .35rem .45rem;
    text-align: left;
}

.agenda-event:hover {
    background: rgba(114, 124, 245, .22);
}

.agenda-event-time {
    display: inline-block;
    font-weight: 700;
    margin-right: .35rem;
}

.agenda-event-title {
    display: block;
    font-weight: 600;
    line-height: 1.2;
}

.agenda-status-1 { border-left-color: #0acf97; background: rgba(10, 207, 151, .12); }
.agenda-status-2 { border-left-color: #39afd1; background: rgba(57, 175, 209, .12); }
.agenda-status-3 { border-left-color: #ffbc00; background: rgba(255, 188, 0, .13); }
.agenda-status-4 { border-left-color: #0acf97; background: rgba(10, 207, 151, .18); }
.agenda-status-5 { border-left-color: #fa5c7c; background: rgba(250, 92, 124, .12); }

.agenda-list-day {
    border: 1px solid rgba(148, 163, 184, .25);
    border-radius: 6px;
    padding: .75rem;
}

.agenda-slot {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: .75rem;
    align-items: stretch;
    border-bottom: 1px solid rgba(148, 163, 184, .18);
    padding: .45rem 0;
}

.agenda-slot-time {
    color: var(--ct-secondary-color);
    font-weight: 700;
    padding-top: .35rem;
}

.agenda-slot-body {
    min-height: 42px;
}

.agenda-slot-free {
    width: 100%;
    min-height: 38px;
    border: 1px dashed rgba(148, 163, 184, .55);
    border-radius: 5px;
    background: transparent;
    color: var(--ct-secondary-color);
    text-align: left;
    padding: .35rem .6rem;
}

.agenda-slot-free:hover {
    border-color: #0acf97;
    color: #0acf97;
    background: rgba(10, 207, 151, .08);
}

.agenda-slot-free.agenda-slot-past {
    color: #fa5c7c;
    border-color: rgba(250, 92, 124, .45);
}

.agenda-slot-free.agenda-slot-past:hover {
    color: #fa5c7c;
    border-color: #fa5c7c;
    background: rgba(250, 92, 124, .08);
}
