@charset "UTF-8";

.card {
    border-radius: 4px !important;
}

#th-map {
    border-radius: 4px !important;
}

.cd-clean .ui-dialog-content{
    display: none !important;
}

.cd-clean .ui-dialog-titlebar {
    border-bottom: none !important;
}

.cd-clean .ui-dialog-footer {
    display: flex !important;
    width: 100% !important;
    gap: 10px !important;
}

.cd-clean .ui-button {
    flex: 1 !important;
    margin-right: 0 !important;
}

:root {
    --primary-grad: radial-gradient(
        circle farthest-corner at 50% 50%,
        #3d125a 0%,    /* Roxo um pouco mais claro no centro (o cume da curva) */
        #240b36 45%,   /* Roxo médio do Modo 4 */
        #000000 100%   /* Preto total nas bordas (profundidade) */
        );
    --bg-dark: #121212; /* Fundo principal dark */
    --bg-card: #1E1E1E; /* Fundo do sheet e inputs */
    --text-light: #E0E0E0;
    --text-muted: #A0A0A0;
    --border-color: #333333;
    --shadow: 0px -10px 30px rgba(0, 0, 0, 0.5);
}

/* --- BOTTOM SHEET --- */
.vivi-bottom-sheet {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 100%;
    max-width: 400px;
    background: var(--bg-card);
    border-radius: 30px 30px 0 0;
    box-shadow: var(--shadow);
    transition: transform 0.5s cubic-bezier(0.32, 0.72, 0, 1);
    z-index: 99999;
    flex-direction: column;
    height: 75vh;
    border: 1px solid var(--border-color);
    border-bottom: none;
    display: none;
}

.vivi-bottom-sheet.active {
    display: flex;
}

/* Header */
.sheet-header {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
}

.drag-handle {
    width: 50px;
    height: 4px;
    background: #444;
    border-radius: 10px;
    margin: 0 auto 15px;
}

.vivi-profile span {
    font-weight: 700;
    letter-spacing: 1px;
    background: var(--primary-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.3rem;
}

/* Área de Mensagens */
.chat-area {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: var(--bg-dark);
}

.message {
    max-width: 85%;
    padding: 14px 18px;
    border-radius: 20px;
    font-size: 0.95rem;
    line-height: 1.5;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message.vivi {
    align-self: flex-start;
    background: #2A2A2A;
    color: var(--text-light);
    border-bottom-left-radius: 4px;
}

.message.user {
    align-self: flex-end;
    background: var(--primary-grad);
    color: #000; /* Texto preto no gradiente para contraste */
    font-weight: 500;
    border-bottom-right-radius: 4px;
}

/* Input Area */
.sheet-footer {
    padding: 20px;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 12px;
}

.chat-input {
    flex: 1;
    background: #2A2A2A;
    border: 1px solid var(--border-color);
    padding: 14px 20px;
    border-radius: 30px;
    outline: none;
    color: white;
    transition: all 0.3s;
}

.chat-input:focus {
    border-color: #9F7AEA;
    background: #333;
}

.send-btn {
    background: var(--primary-grad);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

/* --- TRIGGER ICON (Vivi Button) --- */
.vivi-trigger {
    position: relative; /* <<< ESSENCIAL */
    width: 65px;
    height: 65px;
    background: var(--primary-grad);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 25px rgba(159, 122, 234, 0.4);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    flex-shrink: 0;
}

/* Classe para esconder o ícone */
.vivi-trigger.hidden {
    transform: scale(0) rotate(90deg);
    opacity: 0;
    pointer-events: none;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
    display: none;
    z-index: 99998;
}
.overlay.active {
    display: block;
}

/* Container que força o alinhamento horizontal */
.vivi-anchor {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10000;

    /* O SEGREDO DO ALINHAMENTO: */
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important; /* Alinha o centro do texto com o centro do ícone */
    justify-content: flex-end;
}

/* Ajuste do Tooltip */
.vivi-tooltip {
    /* Reset de posições que podem estar atrapalhando */
    position: relative !important;
    bottom: auto !important;
    right: auto !important;

    background: white;
    color: #121212;
    padding: 10px 18px;
    border-radius: 15px;
    font-size: 14px;
    font-weight: 600;

    /* DISTÂNCIA DO ÍCONE: */
    margin-right: 20px !important;

    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.4s ease;
    pointer-events: none;
}

/* Setinha na lateral direita do balão */
.vivi-tooltip::after {
    content: '';
    position: absolute;
    right: -5px; /* Metade para fora do balão */
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background: white;
}

/* Mostrar Tooltip */
.vivi-tooltip.visible {
    opacity: 1;
    transform: translateX(0);
}

/* O Botão da Vivi */
.vivi-trigger {
    flex-shrink: 0; /* Não deixa o botão esmagar se o texto for longo */
    position: relative;
    /* Remova bottom/right daqui se eles existirem, pois o container já cuida disso */
}

/* ================================
   MAP   
   ================================ */
#map-container {
    position: relative;
    width: 100%;
    height: 500px;
    font-family: Roboto, Arial, sans-serif;
}

.map {
    position: absolute;
    inset: 0;
    z-index: 1;
}

#map-ui {
    position: absolute;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
}

.map-directions {
    position: absolute;
    width: 360px;
    background: #fff;
    border-radius: 12px;
    box-shadow:
        0 1px 4px rgba(0,0,0,.3),
        0 1px 1px rgba(0,0,0,.15);
    padding: 0;
    margin: 10px 60px;
    pointer-events: auto;
}

.map-field {
    position: relative;
    display: flex;
    align-items: center;
    padding: 10px 10px 0 10px;
}

.map-field-icon {
    position: absolute;
    left: 10px;
    font-size: 14px;
    pointer-events: none;
}

.map-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.map-input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 16px;
    background: rgb(241, 243, 244);
    border-radius: 4px;
    width: 100%;
    height: 40px;
    padding: 10px 30px;
    font-size: 14px;
    color: rgb(32, 33, 36);
    background: rgb(241, 243, 244);
    border-radius: 4px;
    border-width: initial;
    border-style: none;
    border-color: initial;
    border-image: initial;
}

.map-input::placeholder {
    color: #80868b;
}

.map-dot {
    position: absolute;
    left: 18px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.origin-dot {
    background: #1a73e8;
}

.destination-dot {
    background: #ea4335;
}

.map-add-stop {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    height: 40px;
    padding: 0px 16px 0 48px;
    border: none;
    background: transparent;
    color: #1a73e8;
    font-size: 14px;
    cursor: pointer;
    margin-top: 10px;
}

.map-add-stop:hover {
    background: #f1f3f4;
    border-radius: 0 0 12px 12px;
}

.map-plus {
    position: absolute;
    left: 16px;
    font-size: 18px;
    line-height: 1;
}

.map-suggestions {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;

    max-height: 320px;
    overflow-y: auto;

    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,.15);

    list-style: none;
    padding: 4px 0;
    margin: 0;

    display: none;      /* 🔴 escondida por padrão */
    z-index: 99999;
}

.map-suggestions li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    cursor: pointer;
}

.map-suggestions li i {
    font-size: 14px;
    color: #9aa0a6;
    flex-shrink: 0;
}

.map-suggestion-text {
    display: flex;
    flex-direction: column;
}

.map-suggestion-main {
    font-size: 14px;
    font-weight: 600;
    color: #202124;
    line-height: 1.3;
}

.map-suggestion-details {
    font-size: 12px;
    color: #5f6368;
    line-height: 1.3;
}

.map-suggestions li:hover {
    background: #f1f3f4;
}

.user-location {
    position: relative;
    width: 14px;
    height: 14px;
}

.leaflet-container {
    z-index: 0 !important;
}

.user-location::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #ea4335; /* vermelho Google */
    border-radius: 50%;
    box-shadow: 0 0 0 2px #fff;
    z-index: 2;
}

.user-location::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(234, 67, 53, 0.4);
    border-radius: 50%;
    z-index: 1;
    animation: userPulse 1.8s ease-out infinite;
}

@keyframes userPulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    70% {
        transform: scale(2.8);
        opacity: 0;
    }
    100% {
        transform: scale(2.8);
        opacity: 0;
    }
}

.map-marker-tooltip {
    background: #ffffff;
    color: #202124;
    border: none;
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0,0,0,.2);
}

.leaflet-tooltip-top:before {
    border-top-color: #ffffff;
}

/* Botão posicionado no canto superior direito do card */
.map-maximize-button {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 996; /* Acima do Leaflet */
    background: white;
    border: 1px solid #ccc;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Estado Maximizado */
.map-card-wrapper.map-maximized {
    position: fixed !important;
    top: 5% !important;
    left: 5% !important;
    width: 90vw !important;
    height: 90vh !important;
    z-index: 9999 !important; /* Acima de menus e diálogos */
    margin: 0 !important;
    box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
    transition: all 0.4s ease-in-out;
}

/* Ajuste interno do mapa quando maximizado */
.map-maximized .leaflet-container {
    height: 100% !important;
    width: 100% !important;
}

/* Alternância de ícones */
.map-maximized .btn-maximize-icon {
    display: none;
}
.map-card-wrapper:not(.map-maximized) .btn-minimize-icon {
    display: none;
}

/* Overlay de fundo (Opcional: escurece a página atrás do mapa) */
.map-maximized::before {
    content: "";
    position: fixed;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: rgba(0,0,0,0.5);
    z-index: -1;
}

/* Animação de piscar para o ícone do paciente */
.blink-animation {
    animation: blinker 1.5s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: 0.3;
        transform: scale(1.1); /* Dá um leve efeito de pulsação junto */
    }
}

/* Opcional: Estilo diferenciado para o Tooltip do paciente */
.leaflet-tooltip-pane .patient-tooltip {
    border: 1px solid #ff0000;
    color: #ff0000;
}

/* ================================
   Loader inside input   
   ================================ */

.loader-inside-input {
    position: absolute;
    right: 10px;

    width: 16px;
    height: 16px;

    pointer-events: none;
    z-index: 2;

    border: 3px solid transparent;
    border-top-color: #4285F4;
    border-right-color: #EA4335;
    border-bottom-color: #FBBC05;
    border-left-color: #34A853;
    border-radius: 50%;

    animation: googleSpin 0.7s linear infinite;
    display: none;
}

@keyframes googleSpin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ================================
   Route summary (distance & time)
   ================================ */

.route-summary {
    display: flex;
    gap: 16px;
    align-items: center;

    padding: 10px 14px;
    margin: 6px 10px 10px 10px;

    background: #f8f9fa;
    border-radius: 10px;

    font-size: 13px;
    color: #202124;

    box-shadow: inset 0 0 0 1px #e0e0e0;
}

.route-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.route-item i {
    color: #1a73e8;
    font-size: 14px;
}

.ambulance-icon img {
    width: 40px;
    height: 40px;
    transform-origin: center center;
    transition: transform 0.3s linear;
}

/* ============================ | OLD | ============================ */

body .product-badge span {
    text-overflow: ellipsis !important;
}

#formContent\\:accordionPanel\\:tabRouteTrip_content {
    padding: 0 !important;
}

.route-info {
    background: #fff;
    padding: 10px 14px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,.25);
    font-family: Arial, sans-serif;
    font-size: 13px;
    line-height: 1.4;
    color: #202124;
}

.route-info strong {
    font-size: 16px;
    color: #1a73e8;
}





.ui-dialog-content-meet .ui-dialog-content {
    overflow: hidden !important;
}

.ui-datatable-header {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

.ui-inputfield.ui-state-focus {
    box-shadow: 0 0 0 0.2em #78d67a !important;
    border-color: #5BBB5D !important;
}

.ui-inputfield.ui-state-hover {
    border-color: #5BBB5D !important;
}

.ui-selectonemenu.ui-state-focus:not(.ui-state-error) {
    box-shadow: 0 0 0 0.2em #78d67a !important;
    border-color: #5BBB5D !important;
}

.ui-selectonemenu.ui-state-hover:not(.ui-state-error) {
    border-color: #5BBB5D !important;
}

.ui-radiobutton-box.ui-state-hover {
    border-color: #5BBB5D !important;
}

.ui-radiobutton-box.ui-state-active {
    box-shadow: 0 0 0 0.2em #78d67a !important;
    border-color: #5BBB5D !important;
    background: #5BBB5D !important;
}

.ui-chkbox-box.ui-state-hover {
    border-color: #5BBB5D !important;
}

.ui-chkbox-box.ui-state-active {
    box-shadow: 0 0 0 0.2em #78d67a !important;
    border-color: #5BBB5D !important;
    background: #5BBB5D !important;
}

.ui-chkbox .ui-chkbox-box.ui-state-focus {
    box-shadow: 0 0 0 0.2em #5BBB5D !important;
}

.ui-button-primary {
    background: #5BBB5D !important;
    border: 1px solid #5BBB5D !important;
}

.scroll-container {
    display: flex;
    height: 220px;
    overflow-x: auto; /* Enables horizontal scrolling */
    scroll-snap-type: x mandatory; /* Snap scrolling behavior */
    gap: 16px; /* Space between cards */
    padding: 5px 0;
    align-items: stretch;
}

.layout-wrapper.layout-topbar-blue .layout-topbar {
    background-color: #5BBB5D;
}

.layout-wrapper.layout-topbar-blue .layout-topbar .layout-topbar-icon:hover {
    background-color: #78d67a !important;
}

.w-400 {
    width: 400px !important;
}

.card-main {
    border: 1px solid #dee2e6;
    border-radius: 5px 5px 0 0;
}

.b-none {
    border: none !important;
}

.p-right-10 {
    padding-right: 10px !important;
}

.toolbar-crud {
    border-radius: 3px 3px 0 0 !important;
    border: none !important;
    border-bottom: 1px solid #dee2e6 !important;
}

.toolbar-crud-w-dtheader {
    border-radius: 3px 3px 0 0 !important;
    border: none !important;
    border-bottom: none !important;
}

.ui-splitbutton-raised {
    border-radius: 5px !important;
    box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12) !important;
}

.ui-inputgroup-raised {
    border-radius: 5px;
    box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
}

.ui-datatable .ui-paginator.ui-paginator-bottom {
    border-width: 0 0 1px 0;
    border-radius: 0;
    border-bottom: 0 !important;
}

.mini-card {
    border-radius: 3px !important;
    background-color: #E8E9EB !important;
    font-size: 10px;
}

.card-relatorio {
    border-left: 2px solid gray;
    padding: 10px;
    background-color: gainsboro;
    border-radius: 0 3px 3px 0;
}

.f-workshift .fa-solid {
    width: 25px !important;
    border: 1px solid gainsboro !important;
    border-radius: 3px 3px 0 3px !important;
    padding: 3px !important;
    text-align: center !important;
    background-color: #E8E9EB !important;
}

.f-menu .fa-solid {
    width: 25px !important;
    border: 1px solid gainsboro !important;
    border-radius: 3px !important;
    padding: 3px !important;
    text-align: center !important;
    background-color: #E8E9EB !important;
}

.f-menu .fas {
    width: 25px !important;
    border: 1px solid gainsboro !important;
    border-radius: 3px !important;
    padding: 3px !important;
    text-align: center !important;
    background-color: #E8E9EB !important;
}

.product-badge.status-lowstock {
    background: #feedaf;
    color: #8a5340;
}

.ui-panel-content-p0 .ui-panel-content {
    padding: 0 !important;
}

.bb-gray {
    border-bottom: solid 5px gainsboro !important;
}

.ui-chip.gmaps-place-chip {
    background: var(--primary-color);
    color: var(--primary-color-text);
}

.gmaps-card .ui-card-body {
    background-color: gainsboro !important;
    border-radius: 3px !important;
    padding: 0 !important;
}

.gmaps-card .ui-card-content {
    padding: 2px !important;
}

.ui-card-vehicle-operation {
    position: relative !important;
}

.ui-card-vehicle-operation .ui-card-content {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.ui-card-vehicle-operation .ui-card-footer {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    padding: 1rem !important;
}

.ui-card-vehicle-operation-team {
    height: 26px;
    white-space: nowrap;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.login-body .login-panel {
    max-height: 80% !important;
    height: auto !important;
    padding: 20px;
    border-radius: 3px !important;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 0;
}

.login-body .login-panel .login-panel-content {
    margin-top: 0;
}

.layout-right-panel {
    width: 350px;
    right: -350px;
}

.login-body .login-panel input {
    padding: 10px;
}

.overview-box {
    padding: 1em !important;
}

.ui-card-content-p0 .ui-card-content {
    padding: 0 !important;
}

.card-image {
    width: 100px;
    margin-bottom: 10px;
}

.card-image .ui-card-body {
    padding: 0 !important;
}

/*.ui-panel .ui-panel-titlebar {
    border: 1px solid #dee2e6 !important;
    border-bottom-right-radius: 4px !important;
    border-bottom-left-radius: 4px !important;
}*/

.ui-dialog .ui-dialog-titlebar {
    background: #36454F !important;
    color: #fff !important;
    padding: 1rem !important;
    /*border-bottom: solid 5px #EFF7EF !important;*/
}

.card-image .ui-card-content {
    padding: 0 !important;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-image .ui-card-footer {
    padding: 0 !important;
}

@media screen and (max-width: 40em) {
    .login-body .login-panel {
        height: calc(100% - 60px);
    }
}

.ui-confirm-dialog {
    padding: 0 !important;
}

.ui-dialog.ui-confirm-dialog .ui-dialog-content {
    padding: 10px !important;
}

.ui-dialog-status .ui-dialog-content {
    border: none !important;
    background: #fff !important;
    padding: 5px !important;
    box-shadow: none !important;
}

.ui-dialog .ui-dialog-content {
    padding: 0 !important;
}

.ui-dialog .ui-dialog-footer {
    border-top: solid 3px #d7ded7 !important;
    background: #EFF7EF !important;
    padding: 0.5rem !important;
}

.ui-tabs .ui-tabs-panels .ui-tabs-panel {
    padding: 0 0 !important;
}

.modal-label {
    line-height: 30.64px;
    vertical-align: middle;
}

body .ui-splitbutton .ui-button.ui-splitbutton-menubutton {
    padding: 0 5px !important;
}

.ui-breadcrumb {
    margin-bottom: 16px;
}

.ui-paginator-rpp-options {
    border-radius: 3px;
    border: 1px solid #ced4da;
}

.ui-paginator-rpp-options:focus {
    border-color: #0f97c7;
    outline: 0 none;
    box-shadow: 0 0 0 0.2em #91dcf7;
}

.ui-contextmenu {
    background: none !important;
    box-shadow: none !important;
    border: 0 !important;
}

/*
background: #ffffff;
    border: 0 none;
    box-shadow: 0 2px 4px -1px rgb(0 0 0 / 20%), 0 4px 5px 0 rgb(0 0 0 / 14%), 0 1px 10px 0 rgb(0 0 0 / 12%);
    border-radius: 4px;
*/

.ui-reflow-label {
    display: none !important;
}

.ui-datatable-reflow .ui-reflow-dropdown {
    border-radius: 3px;
    padding: 7px 4px;
    border: 1px solid #ced4da;
}

.ui-datatable-reflow .ui-reflow-dropdown:focus {
    border-color: #0f97c7;
    outline: 0 none;
    box-shadow: 0 0 0 0.2em #91dcf7;
}

.product-badge {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    border-radius: 2px;
    padding: 0.25em 0.5rem;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.3px;
}

.product-badge.status-instock {
    background: #C8E6C9;
    color: #256029;
}

.product-badge.status-outofstock {
    background: #FFCDD2;
    color: #C63737;
}

.layout-wrapper .layout-topbar {
    position: fixed;
    min-width: 300px;
}

.custom-ui-toolbar {
    padding: 13px !important;
    border-top: solid #5BBB5D 2px !important;
}

.ui-datatable .ui-datatable-header {
    padding: 6px !important;
}

.btn-img {
    height: 100px;
    padding: 15px;
    object-fit: cover !important;
    background: #fff;
    border-radius: 3px;
    box-shadow: 0 3px 1px -2px rgb(0 0 0 / 20%), 0 2px 2px 0 rgb(0 0 0 / 14%), 0 1px 5px 0 rgb(0 0 0 / 12%);
}

.tbl-brand {
    width: 30px;
    padding: 2px;
    object-fit: cover !important;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 3px 1px -2px rgb(0 0 0 / 20%), 0 2px 2px 0 rgb(0 0 0 / 14%), 0 1px 5px 0 rgb(0 0 0 / 12%);
}

.btn-img-bg {
    height: 100px;
    padding: 15px;
    object-fit: cover !important;
    background: #65686a;
    border-radius: 3px;
    box-shadow: 0 3px 1px -2px rgb(0 0 0 / 20%), 0 2px 2px 0 rgb(0 0 0 / 14%), 0 1px 5px 0 rgb(0 0 0 / 12%);
}

.datatable-hidden thead {
    display:none;
}

.d-none {
    display: none !important;
}

.border-blink {
    animation: blink 1s !important;
    animation-iteration-count: 400 !important;

    -webkit-animation-name: blink !important;
    -webkit-animation-iteration-count: infinite !important;
    -webkit-animation-timing-function: cubic-bezier(1.0,0,0,1.0) !important;
    -webkit-animation-duration: 3s !important;
}

.border-blink-fast {
    animation: blink 1s !important;
    animation-iteration-count: 400 !important;

    -webkit-animation-name: blink !important;
    -webkit-animation-iteration-count: infinite !important;
    -webkit-animation-timing-function: cubic-bezier(1.0,0,0,1.0) !important;
    -webkit-animation-duration: 1s !important;
}

@keyframes waveWarning {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.6); /* amarelo */
        transform: scale(1);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 193, 7, 0);
        transform: scale(1.02);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0);
        transform: scale(1);
    }
}

@keyframes waveDanger {
    0% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.6); /* vermelho */
        transform: scale(1);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(220, 53, 69, 0);
        transform: scale(1.03);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
        transform: scale(1);
    }
}

.border-blink-warning {
    animation: waveWarning 1.5s infinite;
    border: 2px solid #ffc107;
    border-radius: 6px;
    background-color: #fffbea;
    transition: all 0.3s ease-in-out;
}

.border-blink-danger {
    animation: waveDanger 1.5s infinite;
    border: 2px solid #dc3545;
    border-radius: 6px;
    background-color: #ffe6e9;
    transition: all 0.3s ease-in-out;
}


.ui-button-dialog {
    width: auto !important;
}

.bg-imediato {
    background: tomato !important;
    padding: 5px;
}

.bg-futuro {
    background-color: #90D5FF !important;
}

.bg-success {
    background-color: #c8e6c9 !important;
}

.bg-warning {
    background-color: #feedaf !important;
}

.custom-breadCrumb {
    z-index: 998 !important;
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    top: 70px !important;
    border-radius: 0 !important;
}

.bg-danger {
    background-color: #ffcdd2 !important;
}

.ui-chip.primary-chip {
    background: var(--primary-color);
    color: var(--primary-color-text);
}

.ui-chip.danger-chip {
    background: tomato;
    color: #fff;
}

.ui-datatable-overflow td {
    max-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.layout-wrapper .layout-topbar .layout-topbar-search {
    margin-left: 40px !important;
}

.custom-marker {
    display: flex;
    width: 2rem;
    height: 2rem;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    border-radius: 50%;
    z-index: 1;
}

.ui-chronoline-event-content,
.ui-chronoline-event-opposite {
    line-height: 1;
}

@media screen and (max-width: 960px) {
    .customized-chronoline .ui-chronoline-event:nth-child(even) {
        flex-direction: row !important;
    }

    .customized-chronoline .ui-chronoline-event:nth-child(even) .ui-chronoline-event-content {
        text-align: left !important;
    }

    .customized-chronoline .ui-chronoline-event-opposite {
        flex: 0;
    }

    .customized-chronoline .ui-card {
        margin-top: 1rem;
    }
}

@media screen and (max-width: 991px) {
    .layout-wrapper .layout-topbar .layout-topbar-search {
        margin-left: 0px !important;
    }
}

/*
@media screen and (min-width: 992px) {
    .layout-wrapper.layout-slim .layout-menu-container {
        width: 57px;
        overflow: auto !important;
        overflow-y: hidden !important;
    }
}*/

@-webkit-keyframes blink {
    67% {
        opacity: 0
    }
}
@-moz-keyframes blink {
    67% {
        opacity: 0
    }
    ;
}
@-o-keyframes blink {
    67% {
        opacity: 0
    }
    ;
}
@keyframes blink {
    67% {
        opacity: 0
    }
    ;
}

@media screen and (max-width: 991px) {
    .layout-wrapper .layout-topbar .layout-topbar-search {
        background-color: #f4f4f4;
        position: absolute;
        left: 0;
        width: 100%;
        top: 70px;
        margin-left: 0;
        text-align: center;
        height: 40px;
        line-height: 25px;
        -webkit-box-shadow: 0 2px 10px 0 rgb(0 0 0 / 16%);
        -moz-box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.16);
        box-shadow: 0 2px 10px 0 rgb(0 0 0 / 16%);
    }

    .layout-topbar-search .ui-selectonemenu {
        border-radius: 0px;
        display: block;
    }
}

@media screen and (min-width: 720px) {
    .ui-dialog {
        max-width: 80%;
    }

    .maxw-dn-700 {
        display: none;
    }
}

@media screen and (max-width: 720px) {
    .ui-dialog {
        max-width: 80%;
    }

    .minw-dn-700 {
        display: none;
    }
}

@media screen and (min-width: 992px) {
    .ui-dialog {
        max-width: 50%;
    }

    .layout-wrapper.layout-horizontal .layout-topbar .layout-topbar-logo {
        margin: 10px 0 0 0;
    }

    .layout-wrapper.layout-horizontal .layout-menu-container {
        width: 100%;
        overflow: visible;
        min-height: 45px;
        position: static;
        padding: 0.5em 0.5em;
    }
}

/* Customize website's scrollbar like Mac OS
Not supports in Firefox and IE */

/* total width */
::-webkit-scrollbar {
    background-color: #fff;
    width: 16px;
}

/* background of the scrollbar except button or resizer */
::-webkit-scrollbar-track {
    background-color: #fff;
}

/* scrollbar itself */
::-webkit-scrollbar-thumb {
    background-color: #babac0;
    border-radius: 16px;
    border: 4px solid #fff;
}

/* set button(top and bottom of the scrollbar) */
::-webkit-scrollbar-button {
    display:none;
}

