/* Cabeçalho da página */
.page-header {
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #ededed;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.page-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.page_chat_icon {
    height: 32px;
    object-fit: contain;
}

.page-title-text {
    font-size: 24px;
    font-weight: 600;
    color: #323537;
}

.page-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Botões em linha alinhados à direita */
.row-buttons-right {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    margin-left: auto;
}

.form-group.buttons-right {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    gap: 10px;
    margin-left: auto;
    align-items: flex-end;
    min-width: auto;
}

/* Filtros */
.filter-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 10px;
    align-items: flex-end;
}

.filter-item {
    display: flex;
    flex-direction: column;
    min-width: 20%;
    max-width: 25%;
}

    .filter-item label {
        margin-bottom: 5px;
        font-weight: 500;
    }

.grid-actions-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0;
}

.grid-actions-left {
    display: flex;
    gap: 10px;
    align-items: center;
}

.grid-actions-right {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Componentes de exportação */
.export-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.export-button {
    width: 32px;
    height: 32px;
}

.button-images .img {
    width: 24px;
    height: 24px;
}


/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    cursor: wait;
}

.loading-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.loading-image {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

/* Estilos para SVG rotativo */
svg .rotate {
    animation: spin 1.5s linear infinite;
    transform-origin: center;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

svg .rotate {
    animation: spin 1.5s linear infinite;
    transform-origin: center;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Form Layout Styles */
.princ_col {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.employee_photo_col {
    flex: 0 0 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.employee_data_col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-row {
    display: flex;
    gap: 5px;
    width: 100%;
    align-items: flex-start;
    margin-bottom: 0;
    align-items: flex-end;
}
.form-group {
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    padding-right: 3px;
    min-width: 16%;
    max-width: 33%;
}
.form-group-min-width {
    min-width: 33%;
}

.form-group-small {
    flex: 0.15;
}

.form-group-medium {
    flex: 0.4;
}

.form-group-large {
    flex: 1.7;
    max-width: 33%;
}

.form-group label {
    margin-bottom: 2px;
    font-weight: 500;
}

.photo-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #f9f9f9;
    margin-bottom: 0;
}

.photo-actions {
    display: flex;
    gap: 5px;
    margin-top: 5px;
    align-items: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .princ_col {
        flex-direction: column;
        padding-left: 10px;
        padding-right: 10px;
    }

    .form-row {
        flex-direction: column;
        gap: 12px;
    }

    .form-group, .form-group-small, .form-group-large, .form-group-medium {
        width: 100%;
        flex: 1 1 100%;
        max-width: 100%;
    }

    .employee_photo_col {
        flex: 0 0 auto;
        display: flex;
        flex-direction: column;
        margin-bottom: 15px;
        max-width: 100%;
    }

    .photo-container {
        max-width: 200px;
        width: 100%;
    }

    .employee-photo {
        max-width: 100%;
    }

    .upload-btn-wrapper {
        max-width: 200px;
    }

    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .page-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .filter-container {
        flex-direction: column;
        align-items: stretch;
        padding-left: 10px;
        padding-right: 10px;
    }

    .filter-item {
        min-width: 100%;
    }

    .separator {
        padding-left: 10px;
        padding-right: 10px;
    }

    .employee_data_col {
        padding-left: 5px;
        padding-right: 5px;
    }
}

/* Ajustes para telas muito pequenas */
@media (max-width: 768px) {
    .grid-actions-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .grid-actions-right {
        width: 100%;
        justify-content: flex-end;
        flex-direction: column;
        gap: 8px;
        align-items: flex-end;
    }
}

.delete_photo_button {
    position: absolute;
    top: 0;
    right: 0;
    width: 24px !important;
    height: 24px !important;
    background-color: rgba(255, 255, 255, 0) !important;
    padding: 3px;
    cursor: pointer;
    box-shadow: none;
}

/* Classe para a foto do funcionário */
.employee-photo {
    width: 100%;
    height: auto;
    object-fit: cover;
    margin-bottom: 0;
}

/* Classe para as notas do funcionário */
.employee-notes {
    height: 100px;
    width: 100%;
    min-height: 80px;
}

/* Classe para campos ocultos */
.hidden-fields {
    display: none;
}

/* Estilos para o upload de foto */
.upload-btn-wrapper {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0;
    width: 100%;
}

.upload-btn {
    display: flex;
    align-items: center;
    position: relative;
}

.upload-btn-wrapper .btn {
    border: 1px solid #ccc;
    color: #555;
    background-color: #f8f8f8;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.upload-btn-wrapper .FileUpload {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.upload-btn-wrapper .IconUpload {
    width: 16px;
    height: 16px;
    margin-right: 5px;
}

.upload-btn-wrapper .LabelUpload {
    margin-top: 5px;
    font-size: 12px;
}

/* Estilos para os radio buttons */
.dxeRadioButtonList {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    margin-top: 2px;
}

    .dxeRadioButtonList td {
        padding: 2px 3px 2px 0;
    }

    .dxeRadioButtonList label {
        margin-left: 4px;
        cursor: pointer;
    }

/* Ajustes para os radio buttons em telas pequenas */
@media (max-width: 768px) {
    .dxeRadioButtonList {
        flex-direction: column;
        gap: 5px;
    }
}

/* Estilos para os campos de data */
.dxeButtonEdit {
    width: 100%;
    border-radius: 4px;
    border: 1px solid #ccc;
    margin-top: 2px;
    max-width: 100%;
}

.dxeButtonEditButton {
    background-color: #f8f8f8;
    border-left: 1px solid #ccc;
}

.dxeCalendar {
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Estilos para os labels */
.dxeLabel {
    font-weight: normal;
    color: #555;
    margin-bottom: 2px;
}

/* Estilos para os campos de texto */
.dxeTextBox {
    width: 100%;
    border-radius: 4px;
    border: 1px solid #ccc;
    padding: 4px 8px;
    margin-top: 2px;
    max-width: 100%;
}

/* Estilos para o memo */
.dxeMemo {
    width: 100%;
    border-radius: 4px;
    border: 1px solid #ccc;
    margin-top: 2px;
    max-width: 100%;
}

/* Ajustes para os componentes de data na mesma linha */
.form-row .form-group:not(:last-child) {
    padding-right: 5px;
}

/* Classes para layout mais compacto */
.compact-row {
    gap: 3px !important;
}

.compact-field {
    flex: 0.03 0 auto !important;
}

/* Ajustes para os radio buttons em linha */
.form-group-small .dxeRadioButtonList {
    white-space: nowrap;
}

.form-label {
    font-weight: 600;
    padding-bottom: 1px;
}

/* Separador de seções */
.separator {
    margin: 15px 0;
    padding-bottom: 5px;
    border-bottom: 1px solid #ededed;
}

    .separator .label-separator {
        font-size: 18px;
        font-weight: 600;
        color: #323537;
    }

.form-row-justify {
    display: flex;
    gap: 5px;
    width: 100%;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 0;
}

.form-row-between {
    display: flex;
    gap: 5px;
    width: 100%;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 0;
}

.padding-top {
    padding-top: 1rem;
}

.dropZoneExternal > div,
.dropZoneExternal > img {
    position: absolute;
}

.dropZoneExternal {
    position: relative;
    cursor: pointer;
}

.dropZoneExternal,
.dragZoneText {
    width: 200px;
    height: 235px;
}

#dragZone {
    width: 100%;
    display: table;
}

#uploadedImage {
    width: 100%;
}

.dropZoneText {
    width: 300px;
    height: 150px;
    color: #323537;
    background-color: #ededed;
}

#dropZone {
    top: 0;
    padding: 100px 25px;
}

.uploadControlDropZone,
.hidden {
    display: none;
}

.dropZoneText,
.dragZoneText {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    font-size: 20pt;
}

.dragZoneText {
    color: #323537;
}

.dxucInlineDropZoneSys span {
    color: #fff !important;
    font-size: 10pt;
    font-weight: normal !important;
}

.validationMessage {
    padding: 0 20px;
    text-align: center;
}

.uploadContainer {
    width: 100%;
    max-width: 235px;
    min-width: 235px;
    margin-top: 10px;
}

.Note {
    max-width: 500px;
}

/* Estilos para os ícones de informação e containers */
.label-with-icon {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.info-icon {
    display: inline-block;
    margin-left: 5px;
    cursor: pointer;
}

    .info-icon img {
        width: 18px;
        height: 18px;
        vertical-align: middle;
    }

/* Ajustes para o jsPanel */
.jsPanel {
    z-index: 1000 !important;
}

/* Estilo para destacar o texto selecionável no jsPanel */
.info_templates {
    user-select: text;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    padding: 5px;
    text-align: justify;
    overflow-y: auto;
    height: 100%;
}

/* Estilos para garantir consistência no painel de informações */
.site-font {
    font-family: 'Montserrat-Regular';
    font-size: 11px;
    line-height: 1.5;
    color: #333;
}

    .site-font p {
        margin-bottom: 10px;
    }

    .site-font ul, .site-font ol {
        margin-left: 20px;
        margin-bottom: 10px;
    }

    .site-font li {
        margin-bottom: 5px;
    }

    .site-font strong, .site-font b {
        font-weight: 600;
    }

    .site-font code {
        background-color: #f5f5f5;
        padding: 2px 4px;
        border-radius: 3px;
        font-family: monospace;
        font-size: 90%;
    }

/* Estilos para jsPanel e iframes */
.div_popup {
    width: 100%;
    height: 100%;
    padding: 10px;
    text-align: justify;
}

.iframestyle_popup {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Estilos para popups */
.popup-container {
    width: 100%;
    height: 100%;
    padding: 10px;
}

.button-top-right {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 100;
}

.popup-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.jsPanel-modal-backdrop {
    opacity: 0.65 !important;
    background-color: rgba(0, 0, 0, 0.65) !important;
    z-index: 999 !important;
}

/* Impede interação com elementos por baixo do backdrop */
body:has(.jsPanel-modal-backdrop) {
    overflow: hidden;
}

/* Estilos adicionais para o modal */
.jsPanel.jsPanel-modal {
    z-index: 1000 !important;
}

/* Estilo para upload de ficheiros */
.upload_documents {
    width: 100%;
    max-width: 350px;
    min-width: 286px;
    margin-top: 10px;
}

.drop_zone_documents > div,
.drop_zone_documents > img {
    position: absolute;
}

.drop_zone_documents {
    position: relative;
    border: 1px dashed #ef3f32 !important;
    cursor: pointer;
    border-radius: 4px;
    width: 100%;
    height: 100%;
}

.drop_zone_documents,
.drag_zone_text {
    width: 100%;
    height: 100%;
}

.drop_zone_text,
.drag_zone_text {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    font-size: 20pt;
}

.drop_zone_text {
    width: 100%;
    height: 100%;
    color: #323537;
    background-color: #ededed;
}

.drag_zone_text {
    color: #323537;
}

#dragZoneDocuments {
    width: 100%;
    height: 100%;
    display: table;
}

#dropZoneDocuments {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: table;
    display: none;
}

    #dropZoneDocuments.hidden {
        display: none;
    }

    #dropZoneDocuments:not(.hidden) {
        display: table;
    }

.upload_area {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    width: 100%;
    height: 200px;
}

.drop_zone_documents {
    flex: 1;
}

.upload_documents {
    flex: 1;
    display: flex;
    align-items: center;
}

.sync_checkboxes {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 10px;
    align-items: center;
}

    .sync_checkboxes .filter-item {
        margin-top: 0;
        min-width: auto;
        max-width: none;
        display: inline-block;
    }


.consultMap {
    width: 100%;
    height: 100%;
}

/* escalas mensais*/

.row_month_schedule {
    display: flex;
    gap: 5px;
    width: 100%;
    align-items: flex-start;
    margin-bottom: 0;
    align-items: flex-end;
}

.group_month_schedule {
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    padding-right: 3px;
    min-width: 12%;
    max-width: 12%;
}

    .group_month_schedule label {
        margin-bottom: 2px;
        font-weight: 500;
    }



@media (max-width: 768px) {
    .row_month_schedule {
        flex-direction: column;
        gap: 12px;
    }

    .group_month_schedule {
        width: 100%;
        flex: 1 1 100%;
        max-width: 100%;
    }
}
/**/

.scales_buttons {
    margin-right: 5px;
    margin-bottom: 5px;
}

/* Legenda de cores */
.legenda_cores {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 10px;
    font-size: 10px;
}

    .legenda_cores > div {
        display: flex;
        align-items: center;
        white-space: nowrap;
    }

    .legenda_cores .espaco {
        width: 10px;
    }

    .legenda_cores .ferias {
        width: 30px;
        height: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 5px;
        font-weight: bold;
        background-color: #EFE15F;
    }

    .legenda_cores .aprovarferias {
        width: 30px;
        height: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 5px;
        font-weight: bold;
        background-color: #93C949;
    }

    .legenda_cores .alreadyaproved {
        width: 30px;
        height: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 5px;
        font-weight: bold;
        background-color: rgb(208, 119, 60);
    }

    .legenda_cores .feriados,
    .legenda_cores .fimsemana {
        width: 30px;
        height: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 5px;
        font-weight: bold;
    }

/* Summary rows */
.summary-row {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 5px;
}

.summary-value {
    font-weight: bold;
    color: #323537;
}

.dropZoneExternal.dropIcon {
    width: 32px !important;
    height: 32px !important;
}

.dropZoneExternal.dropCompany {
    width: 225px !important;
    height: 75px !important;
}

.form-configuration {
    min-width: 33%;
    padding-top: 5px;
}

.separator_configuration {
    margin: 15px 0 0 0;
}

/* Dashboard */

.grid-stack-item-content {
    border: 1px solid #f2f2f2;
    text-align: center;
    border-radius: 10px;
    overflow-y: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.grid-stack-item-content::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.widget-header {
    background-color: #ffffff;
    color: #a29ea0;
    font-size: 14px;
    font-weight: 600;
    padding: 5px;
    text-align: left;
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 5px solid #f2f2f2;
    margin: 0 5px;
}

.widget-content {
    padding-top: 5px;
    overflow-y: auto; /* Adiciona scroll apenas no conteúdo */
}

/* Painel lateral fixo no canto direito */
.sidepanel-item, #dynamic {
    position: fixed;
    left: 440px;
    width: 92px;
    cursor: pointer;
    box-sizing: border-box;
    z-index: 9999;
}

/* Caixote no canto superior direito */
#trash {
    position: fixed;
    top: 10px;
    left: 400px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    cursor: pointer;
    z-index: 9999;
    border: none;
}

    /* Tamanho/cor do ícone */
    #trash i {
        font-size: 24px;
        color: #e74e34; /* Ajusta a cor conforme o teu design */
    }

/* Lista dinâmica de widgets, abaixo do "lixo" */
#dynamic {
    position: fixed;
    left: 440px;
    top: 0px;
    width: calc(72% - 440px);
    cursor: pointer;
    box-sizing: border-box;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    height: auto;
    max-height: 100vh;
    overflow: hidden;
    margin-top: 5px;
}

.dynamic_row {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    width: 100%;
}

#dynamic .newWidget {
    min-width: 80px;
    height: 24px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 5px;
}

#dynamic .grid-stack-item-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 5px;
    font-size: 9px;
    line-height: 1.2;
    word-break: break-word;
    white-space: normal;
    color: black;
    background-color: #93c94b7a;
}

.newWidget.grid-stack-item.ui-draggable.ui-resizable.ui-resizable-autohide {
    padding-bottom: 2px;
}

#dynamic .grid-stack-item-content {
    background-color: #93c94b7a;
}

.dashboard-trash {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.grid-stack {
    position: relative;
    width: 100%;
    height: 100%;
    min-width: 200px;
    min-height: 200px;
}

.dashboard_datetime {
    display: flex;
    align-items: center;
    gap: 20px;
}

.ASPxDateEditDatedashboard {
    flex: 0 0 auto;
}

.clock {
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.clock span {
    display: inline-block;
    min-width: 20px;
    text-align: center;
}


@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Estrutura de importação/exportação */
.import_export_container {
    display: flex;
    flex-direction: column;
    max-width: 32%;
    min-width: 260px;
    background: #fff;
    border-bottom: 6px solid #f2f2f2;
    margin: 0 12px 24px 0;
    padding: 20px 18px 18px 18px;
    box-sizing: border-box;
    flex: 1 1 33%;
}

.import_export_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    gap: 0;
}

.import_export_logo {
    width: 200px;
    object-fit: contain;
    flex-shrink: 0;
}

.import_export_title {
    font-size: 10px;
    font-weight: 500;
    color: #1a1a1a;
    background: #dde1e8;
    border-radius: 16px;
    padding: 4px 12px 4px 8px;
    width: 40%;
    min-width: 0;
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-left: auto;
}

.import_export_subtitle {
    font-size: 15px;
    color: #888;
    font-style: italic;
    margin-top: 2px;
    min-height: 23px;
}

.import_export_links {
    display: flex;
    flex-direction: column;
}

.import_export_link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #323537;
    font-size: 16px;
    padding: 3px 0;
    transition: color 0.2s;
    justify-content: space-between;
}

.import_export_link:hover {
    color: #1a73e8;
}

.import_export_link_icon {
    width: 30px;
    height: 30px;
    margin-right: 10px;
    object-fit: contain;
    margin-left: 10px;
}

.import_export_link_label {
    font-size: 13px;
    font-weight: 500;
    color: #626262;
}

.import_export_action_icon {
    width: 30px;
    height: 30px;
    margin-left: 8px;
    object-fit: contain;
    vertical-align: middle;
    /* Garante que os ícones ficam alinhados à direita do link */
}

.import_export_link_content {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
}

.import_export_link_actions {
    display: flex;
    align-items: center;
    margin-left: auto;
    gap: 4px;
}

/* Layout para as 3 colunas lado a lado */
.import_export_row {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0;
    width: 100%;
    flex-wrap: wrap;
}

@media (max-width: 900px) {
    .import_export_container {
        max-width: 48%;
        margin-right: 2%;
    }
    .import_export_logo, .import_export_title {
        flex-basis: unset;
    }
}

@media (max-width: 768px) {
    .import_export_row {
        flex-direction: column;
        gap: 18px;
    }
    .import_export_container {
        max-width: 100%;
        width: 100%;
        margin-right: 0;
    }
}

/* ================= About Panel ================= */
.div_popup_about {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.div_popup_about iframe {
    width: 100%;
    height: 100%;
    border: 0;
    flex: 1;
    display: block;
    overflow: hidden;
}

.about_panel {
    width: 100%;
    min-height: 100vh;
    background: #ededed;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
    margin: 0;
}

.about_card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 15px;
    width: 95%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.about_card_header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    padding-bottom: 8px;
}

.about_logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.about_logo img {
    height: 40px;
    width: auto;
}

.about_title {
    font-size: 22px;
    font-family: 'Montserrat-Bold', sans-serif;
    color: #323537;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    text-align: right;
}

.about_card_body {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin-top: 15px;
}

.about_stats {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    gap: 10px;
    width: 100%;
    margin-top: 0;
    margin-bottom: 0;
}

.about_stats_col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    min-width: 0;
}

.about_stats_col:nth-child(1) {
    flex: 0.11;
}

.about_stats_col:nth-child(2) {
    flex: 0.29;
}

.about_stats_col:nth-child(3) {
    flex: 0.60;
}

.about_stats_col:not(:last-child) {
    border-right: 4px solid #ededed;
}

.about_stats_value {
    font-size: 13px;
    font-family: 'Montserrat-Bold', sans-serif;
    color: #323537;
    margin-top: 0;
    text-align: left;
    width: 100%;
}

.about_stats_label {
    font-size: 11px;
    color: #777;
    margin-top: 5px;
    margin-bottom: 0;
    text-align: left;
    width: 100%;
}

.about_sms_icon_row {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 16px;
    width: 100%;
}

.about_sms_icon_img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.about_sms_data_row {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.about_sms_data_col {
    display: flex;
    flex-direction: column;
    flex: 1;
    align-items: flex-start;
}

.about_sms_row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 5px;
    margin-bottom: 2px;
}

.about_stats_sms .about_stats_label {
    font-size: 11px;
    color: #777;
    margin: 0;
    flex: 1;
    text-align: left;
}

.about_stats_sms .about_stats_value {
    font-size: 13px;
    font-family: 'Montserrat-Bold', sans-serif;
    color: #323537;
    margin: 0;
    flex: 1;
    text-align: left;
}

.about_stats_modules {
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
}

.about_module_row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
}

.about_module_icon {
    width: 52px;
    height: 52px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.about_module_icon_telework {
    background-image: url('../Images/svg/menu/menu_teletrabalho_b.svg');
}
.about_module_icon_tasks {
    background-image: url('../Images/svg/menu/menu_gestao_tarefas_b.svg');
}
.about_module_icon_cloudservice {
    background-image: url('../images/svg/about/icon_sobre_accesstrack.svg');
}
.about_module_icon_api {
    background-image: url('../images/svg/buttons/botao_api.svg');
}

.about_module_status {
    font-size: 10px;
    font-family: 'Montserrat-Regular', sans-serif;
    border-radius: 4px;
    padding: 1px 8px;
    text-transform: lowercase;
    display: block;
    width: 100%;
    text-align: right;
}

.about_status_active {
    background: #93c949;
    color: #fff;
}

.about_status_inactive {
    background: #ef3f32;
    color: #fff;
}

.about_footer {
    border-radius: 0 0 8px 8px;
    margin-top: 0;
    padding: 15px 0;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    width: 95%;
}

.about_links {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    width: 95%;
    margin-bottom: 5px;
    padding: 15px 0;
}

.about_link {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    color: #323537;
    text-decoration: none;
    font-family: 'Montserrat-Bold', sans-serif;
    transition: color 0.2s;
    width: 33.33%;
    justify-content: flex-start;
}

.about_link:hover {
    color: #ef3f32;
}

.about_link_icon {
    width: 48px;
    height: 48px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.about_link_icon_web {
    background-image: url('../images/svg/about/icon_sobre_site.svg');
}

.about_link_icon_helpdesk {
    background-image: url('../images/svg/about/icon_sobre_helpdesk.svg');
}

.about_footer_info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    font-size: 12px;
    color: #323537;
    width: 50%;
}

.about_footer_version {
    font-size: 16px;
    font-family: 'Montserrat-Bold', sans-serif;
    color: #323537;
    text-align: left;
}

.about_footer_hardware {
    font-size: 16px;
    color: #777;
    text-align: left;
}

.about_footer_copyright {
    font-size: 16px;
    color: #777;
    text-align: left;
}

.about_footer_spacer {
    margin-top: 10px;
}

.about_footer_apps {
    display: flex;
    width: 25%;
    align-items: center;
    justify-content: center;
    padding: 5px;
}

.about_footer_apps img {
    max-width: 100%;
    width: auto;
    height: auto;
}

.jsPanel-content {
    overflow-y: hidden !important;
}

.jsPanel-titlebar .jsPanel-title {
    font-variant: normal !important;
}

.about_module_api_row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    margin-bottom: 15px;
    gap: 8px;
}

.about_modules_row {
    display: flex;
    width: 100%;
    justify-content: space-between;
    gap: 10px;
}

.about_module_col {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.about_modules_container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.about_module_item {
    display: flex;
    flex-direction: row;
    width: 29%;
    align-items: center;
    margin-bottom: 10px;
}
.about_module_item_margin {
    margin-right: 34px;
}

.about_module_icon_col {
    display: flex;
    align-items: center;
    margin-right: 4px;
}

.about_module_text_col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.about_module_label {
    font-size: 11px;
    color: #323537;
}

.about_module_status {
    font-size: 10px;
    border-radius: 4px;
    padding: 1px 8px;
    text-transform: lowercase;
    display: block;
    width: 100%;
    text-align: right;
}

.about_cloudservice_row {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    margin-bottom: 20px;
}

.about_cloudservice_row .about_module_item {
    width: auto;
}

.search_container {
    display: flex;
    align-items: center;
}

.search_input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    width: 250px;
    transition: border-color 0.3s ease;
    font-family: 'Montserrat-Regular', sans-serif;
}

.search_input:focus {
    outline: none;
    border-color: #ef3f32;
    box-shadow: 0 0 0 2px rgba(0,123,255,0.25);
}

.search_input::placeholder {
    color: #999;
}



.zoneMap {
    height: 500px;
    width: 100%;
    margin-top: 20px;
    border: 1px solid #ccc;
}

.grid_header_image {
    width: 25px;
}

.grid_employee_photo {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.grid_header_text {
    font-size: 9px;
}

/* Dashboard BI */
.dashborad_bi {
    width: 100%;
    height: calc(100vh - 110px); /* Altura da viewport menos espaço para cabeçalho/menu */
    min-height: 500px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.dashborad_bi .ASPxDashboard {
    width: 100%;
    height: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.dx-dashboard-panel-extension .dx-dashboard-edit-in-designer-button {
    position: relative !important;
    margin: 0 !important;
}

.dx-overlay-content .dx-popup-content {
    border: none !important;
}

.dx-dashboard-data-item .dx-buttongroup.dx-widget {
    position: relative !important;
}

.dx-popup-content {
    width: 100% !important;
}

.dx-row.dx-data-row td img {
    height: 69px !important;
    width: 69px !important;
    border-radius: 50% !important;
}

.dx-row.dx-data-row td {
    vertical-align: middle !important;
}

.dx-color-scheme-tree-view-container .dx-treeview-node-container:not(.dx-treeview-node-is-leaf) .dx-treeview-node:not(.dx-treeview-item-with-checkbox) .dx-treeview-toggle-item-visibility.dx-treeview-toggle-item-visibility-opened:before,
.dx-color-scheme-tree-view-container .dx-treeview-node-container:not(.dx-treeview-node-is-leaf) .dx-treeview-node:not(.dx-treeview-item-with-checkbox) .dx-treeview-toggle-item-visibility:before {
    width: 100% !important;
}

.ace_editor,
.ace_editor * {
    font-family: monospace !important;
}
