:root {
    /*  Padrão  */
    --template1: #5cb7d3;
    /* Painel lateral */
    --template2: #0090c4;
    /* cor hover */
    --template3: #0086bb;
}
.field-icon {
  float: right;
  margin-left: -25px;
  margin-top: -25px;
  position: relative;
  z-index: 2;
  margin-right: 8px;
  cursor: pointer;
}
#mensagem-recuperar{
  color: var(--template1) !important;
  font-size: 13px;

}

.select2-selection__rendered {
    font-weight: 500;
    line-height: 36px !important;
    border-radius: 7px !important;
    border: 1px solid #c9c7c7;
}
.select2-container .select2-selection--single {
    height: 39px !important;
}
.select2-selection__arrow {
    height: 38px !important;
}


hr.separador {
  border: 1px dotted #666;
  border-radius: 5px;
}

.select2-selection__rendered {
    line-height: 35px !important;
}
.select2-container .select2-selection--single {
    height: 39px !important;
}
.select2-selection__arrow {
    height: 38px !important;
}
hr.separador {
  border: 1px dotted #666;
  border-radius: 5px;
}
.text-verde{
  color:#0e9e29;
}
.ocultar{
  display:none;
}
.textareag{
    width:1000px;
    height:550px;
}
.side-menu .slide .side-menu__item:hover {
    background-color: var(--template2);

}
.main-sidemenu {
    background-color: #2A2E3F;
}
.app-sidebar {
    background-color: #2A2E3F;
}

.slide-menu {
    border-left: 4px solid #de7b53;
    background-color: #2a2e3f !important;
    color: #ffffff;
}
.side-menu__item a{
    background-color: var(--template2);
    color: #ffffff;
}

.side-menu__item:hover .side-menu__icon,
.side-menu__item:hover .side-menu__label,
.side-menu__item:hover .angle {
    color: #ffffff !important;
    fill: #ffffff !important;

}
.slide-item.active,
.slide-item:hover,
.slide-item:focus {
    text-decoration: none;
    color: var(--template1) !important;

}
.app-sidebar .side-item.side-item-category {
    color: #7660a7;
}
.main-sidebar-header {
    background: #2A2E3F !important;
}
.main-header {
    background-color: #2A2E3F !important;
}
.slide-item .app-sidebar .slide-menu .slide-item:before:hover {
    color: var(--template1) !important;
}
.slide.is-expanded .slide-menu a:hover:before {
   color: var(--template1) !important;
}
.slide:hover .side-menu__label,
.slide:hover .angle {
    color: #fff !important;
    fill: #fff !important;
}
.header-icon-svgs {
    color: #ffffff;
    fill: #ffffff;
}
.font-size-11{
    font-size: 11px !important;
}

.slide-menu .sidebar-alert-link {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
}

.slide-menu .sidebar-alert-link::before {
    flex: 0 0 auto;
}

.sidebar-alert-link span:first-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-alert-badge {
    min-width: 18px;
    height: 18px;
    border-radius: 5px;
    padding: 0 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}

.sidebar-alert-badge-warning {
    background: #f97316;
}

.sidebar-alert-badge-success {
    background: #22c55e;
}

#calendar {
    max-width: 1320px;
    margin: 0 auto;
}

.sys-mobile-footer-menu {
    display: none;
}

.agendamento-link-group {
    width: 100%;
    margin-bottom: 0;
}

.agendamento-link-row {
    display: flex;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 0;
    width: 100%;
    min-width: 0;
}

.agendamento-link-prefix {
    flex: 0 0 360px;
    max-width: 360px;
    background: #eef2f7;
    color: #475569;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.agendamento-link-editable {
    flex: 1 1 auto;
    min-width: 0;
    border-left: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

@media only screen and (min-width: 992px) {
    .config-contato-row > [class*="col-"],
    .config-links-row > [class*="col-"] {
        display: flex;
        flex-direction: column;
    }

    .config-contato-row .input-group,
    .config-links-row .agendamento-link-group {
        width: 100%;
    }
}

@media only screen and (max-width: 992px) {
    body {
        padding-bottom: 86px;
    }

    .app-sidebar {
        height: 100dvh;
        max-height: 100dvh;
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }

    .main-sidebar-header {
        flex: 0 0 auto;
    }

    .main-sidemenu {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        padding-bottom: calc(108px + env(safe-area-inset-bottom, 0px));
    }

    .main-header > .main-container.container-fluid {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0;
        position: relative;
    }

    .main-header-left {
        flex: 1 1 auto;
        min-width: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .main-header-left .logo-horizontal,
    .main-header-center {
        display: none !important;
    }

    .main-header-left .responsive-logo {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: auto !important;
        min-width: 0;
        z-index: 1;
    }

    .responsive-logo .header-logo {
        position: static !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        margin: 0 !important;
    }

    .responsive-logo.logo_painel,
    .logo_painel {
        width: auto !important;
    }

    .responsive-logo.logo_painel img,
    .responsive-logo .header-logo img.logo_painel {
        display: block;
        max-width: min(170px, 44vw);
        max-height: 34px;
        width: auto !important;
        height: auto !important;
        margin: 0 !important;
    }

    .app-sidebar__toggle {
        display: none !important;
    }

    .main-header-right {
        display: none !important;
    }

    .main-header-right .navbar-nav-right {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .main-header-right .nav-item[style*="opacity: 0"] {
        display: none !important;
    }

    .main-header-right .nav-link {
        width: 40px;
        height: 40px;
        padding: 0 !important;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .main-header-right .main-profile-menu {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-right: 16px !important;
    }

    .main-header-right .profile-user {
        width: auto !important;
        height: auto !important;
        padding: 0 !important;
        margin-right: 0 !important;
        background: transparent !important;
    }

    .main-header-right .profile-user img {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        max-width: 38px !important;
        min-height: 38px !important;
        max-height: 38px !important;
        aspect-ratio: 1 / 1;
        border-radius: 999px !important;
        object-fit: cover;
        display: block;
        flex: 0 0 38px;
    }

    

    .main-header-left > div:has(#funcionario_cabecalho) {
        display: none !important;
    }

    .main-header-left > div:has(#funcionario_cabecalho) .select2-container,
    .main-header-left > div:has(#funcionario_cabecalho) .sel_funcionario_cabecalho,
    .main-header-left > div:has(#funcionario_cabecalho) #funcionario_cabecalho {
        width: 100% !important;
        max-width: 100% !important;
    }

    .sys-mobile-footer-menu {
        position: fixed;
        left: 16px;
        right: 16px;
        bottom: 14px;
        z-index: 9999;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
        padding: 8px;
        border: 1px solid rgba(219, 229, 240, 0.95);
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.92);
        box-shadow: 0 18px 42px rgba(15, 23, 42, 0.20);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
    }

    .sys-mobile-footer-menu__item {
        border: 0;
        border-radius: 18px;
        min-width: 0;
        min-height: 56px;
        padding: 7px 5px;
        background: transparent;
        color: #172b4d;
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        text-decoration: none;
        font-size: 11px;
        font-weight: 800;
        line-height: 1;
    }

    .sys-mobile-footer-menu__item i {
        font-size: 19px;
        color: #153243;
    }

    .sys-mobile-footer-menu__item:active,
    .sys-mobile-footer-menu__item:focus {
        background: #eef6f6;
        color: #0f766e;
        outline: none;
    }

    .sys-mobile-footer-menu__profile img {
        width: 30px;
        height: 30px;
        min-width: 30px;
        max-width: 30px;
        min-height: 30px;
        max-height: 30px;
        border-radius: 999px;
        object-fit: cover;
        border: 2px solid #fff;
        box-shadow: 0 8px 18px rgba(15, 23, 42, 0.14);
    }

    .sys-mobile-footer-menu__logout,
    .sys-mobile-footer-menu__logout i {
        color: #b42318;
    }

    .agendamento-link-row {
        flex-direction: column;
        gap: 8px;
    }

    .agendamento-link-prefix {
        flex: 1 1 auto;
        width: 100%;
        max-width: none;
        border-right: 1px solid #ccc;
        border-radius: 0.375rem;
    }

    .agendamento-link-editable {
        width: 100%;
        border-left: 1px solid #ced4da;
        border-radius: 0.375rem;
    }
}

@media only screen and (max-width: 540px) {
    .responsive-logo.logo_painel img,
    .responsive-logo .header-logo img.logo_painel {
        max-width: min(150px, 40vw);
    }

    .main-header-right .navbar-nav-right {
        gap: 5px;
    }

    .main-header-right .main-profile-menu {
        padding-right: 0 !important;
        margin-right: 16px !important;
    }

    .sys-mobile-footer-menu {
        left: 12px;
        right: 12px;
        bottom: 10px;
    }
}
