.ponteirotab {
    cursor: pointer;
}

.linhanormal {
    cursor: default;
}
.linhadestaque {
    cursor: pointer;
}

/* nao usar o flex direto no div pois para de funcinoar o show/hide */
#dvdadostpmedico {
    width: 100%;
    padding: 0;
    display: flex;
}

.slidebar-nav {
    left: 349px;
    list-style: none;
    height: 100%;
    margin: 0;
    margin-left: -349px;
    overflow-y: auto;
    padding: 0;
    position: fixed;
    width: 0;
    z-index: 1000;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

#wrapper.toggled .slidebar-nav {
    width: 349px;
}

#wrapper {
    padding-left: 0;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
#wrapper.toggled {
    padding-left: 349px;
}
#menu-toggle {
    display: none;
}

.carousel-control-next,
.carousel-control-prev,
.carousel-indicators {
    filter: invert(100%);
}

.csnotifica {
    position: relative;
}
.csnotifica span {
    position: absolute;
    top: 0px;
    right: 0px;
    display: block;
}

.csrevisa {
    position: relative;
}
.csrevisa span {
    position: absolute;
    top: 0px;
    right: 0px;
    display: block;
}

.hiddenRow {
    padding: 0 !important;
}
/*
	Se o viewport for maior que 768px aplica os estilos acima e em seguida os abaixo
	Se for menor, vai utilizar apenas os estilos definidos acima
*/
@media (min-width: 768px) {
    #wrapper {
        padding-left: 349px;
    }
    #wrapper.toggled {
        padding-left: 0;
    }
    .slidebar-nav {
        width: 349px;
    }
    #wrapper.toggled .slidebar-nav {
        width: 0;
    }
    #menu-toggle {
        display: block;
    }
}

/* Styles extracted from dashboard indicators */
/* Source: _laudos_mes_modalidade.blade.php, _valor_bruto_laudos_mes_modalidade.blade.php */
.dash-widget-container {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.15);
    height: 100%; /* Ensure consistent height */
}
.dash-widget-container h2 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.2em;
    color: #555;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}
.dash-bar-chart-area {
    padding-top: 10px;
}
.dash-bar-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 0.9em;
}
.dash-bar-label {
    width: 40px; /* Space for the label (CR, CT, etc.) */
    font-weight: bold;
    color: #666;
    flex-shrink: 0; /* Don't let the label shrink */
    text-align: right; /* Align label text right */
    margin-right: 5px; /* Space between label and bar container */
    white-space: nowrap; /* Added from _valor_bruto */
}
.dash-bar-container {
    flex-grow: 1; /* Occupy remaining space */
    background-color: #e9ecef;
    border-radius: 4px;
    height: 25px; /* Bar background height */
    position: relative; /* Keep for potential future use, but not strictly needed now */
}
.dash-bar {
    /* Note: Original background-color was #17a2b8 in _laudos_mes and #007bff in _valor_bruto. Using #17a2b8. */
    background-color: #17a2b8; /* Single color for all bars (Teal) */
    height: 100%;
    border-radius: 4px;
    /* Restore text styles */
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Align value to the right inside the bar */
    color: white;
    font-size: 0.8em;
    font-weight: bold;
    padding-right: 5px; /* Padding on the right of the text */
    box-sizing: border-box; /* Padding doesn't increase total size */
    /* Add overflow handling */
    overflow: hidden; /* Hide content that overflows the bar's width */
    white-space: nowrap; /* Prevent text from wrapping */
    transition: width 0.3s ease-in-out; /* Optional: Add transition */
}

/* Restore padding for the span inside the bar */
.dash-bar span {
    padding: 0 5px; /* Add padding around the number */
    display: block; /* Ensure span takes up space */
    overflow: hidden; /* Hide text within span if needed */
    /* text-overflow: ellipsis; Removed as requested */
}

/* Remove the styles for the external value span */
/* Removed .dash-bar-value rules */

.dash-no-data-message {
    color: #888;
    text-align: center;
    padding: 20px;
}
.dash-scrollable-bars {
    max-height: 140px; /* Approx 4 items (item height 25px + margin 10px) */
    overflow-y: auto;
    padding-right: 5px; /* Space for scrollbar */
}

/* Source: _laudos_hoje.blade.php */
.dash-kpi-widget {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.15);
    text-align: center;
    height: 100%; /* Ensure consistent height */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center content vertically */
}
.dash-kpi-widget h2 {
    margin-top: 0;
    margin-bottom: 10px; /* Reduced margin */
    font-size: 1.1em; /* Slightly smaller title */
    color: #555;
    font-weight: normal; /* Less emphasis on title */
}
.dash-kpi-value-container {
    display: flex;
    align-items: center; /* Align icon and value */
    justify-content: center; /* Center horizontally */
    gap: 15px; /* Space between value and icon */
}
.dash-kpi-value {
    font-size: 2.8em; /* Adjusted size */
    font-weight: bold;
    color: #17a2b8;
    line-height: 1; /* Adjust line height */
}
.dash-kpi-icon i {
    /* Element selector, no prefix needed */
    font-size: 2.5em; /* Adjusted icon size */
    color: #6c757d; /* Muted icon color */
    opacity: 0.75;
}

/* CkEditor */
.ckeditor-fullscreen:fullscreen {
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100vw !important;
    max-height: 100vh !important;
    background: #fff; /* opcional, para evitar transparência */
    z-index: 9999;
    overflow: auto;
    display: flex;
    flex-direction: column;
}

.ckeditor-fullscreen:fullscreen .row-editor {
    max-height: 100% !important;
}

.embedded-login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 11000;
}

.embedded-login-overlay.is-active {
    display: flex;
}

.embedded-login-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
}

.embedded-login-modal {
    position: relative;
    z-index: 1;
    background: #ffffff;
    width: calc(100% - 2rem);
    max-width: 420px;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

body.embedded-login-locked {
    overflow: hidden;
}
