html, body {
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 100;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4N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Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

code {
    color: #c02d76;
}

/*Minhas CSSs*/
.bg-title-card {
    background: linear-gradient(90deg, #050810 0%, #10A0F0 100%) !important;
}

.grid-format {
    max-height: 300px;
    overflow-y: auto;
    overflow-x: auto;
    width: 100%;
    border-collapse: collapse;
    font-size: small !important;
    margin: 0 !important;
}

    .grid-format th {
        background-color: #345 !important;
        color: white !important;
        text-align: left;
        padding: 2px;
        height: 22px !important;
        padding-left: 4px !important;
        padding-right: 4px !important;
        border: 1px solid #999 !important;
        font-style: normal !important;
        font-weight: 100 !important;
        white-space: nowrap;
    }

    .grid-format td {
        text-align: left;
        padding: 2px;
        height: 22px !important;
        padding-left: 4px !important;
        padding-right: 4px !important;
        border: 1px solid #999 !important;
        white-space: nowrap;
    }

    .grid-format thead {
        position: sticky; /* Mantém o cabeçalho fixo no topo */
        top: -1px;
        padding: 0px;
        height: 24px !important;
        z-index: 3;
    }

.table {
    table-layout: fixed;
    width: 100%;
    word-wrap: break-word;
    font-size: small;
    table-layout: auto;
    border-collapse: collapse;
}

.text-shadow {
    text-shadow: 1px 1px #111;
}

.input-text-uppercase {
    text-transform: uppercase;
}

.my-button {
    background-image: url('../images/imBT32.png');
    border: 1px solid #999 !important;
    background-color: #B9B9B9 !important;
    cursor: pointer;
}

    .my-button:hover {
        background-color: #EEE !important;
    }

    .my-button:disabled {
        background-color: #999;
        color: #999;
    }

.my-tab-button {
    background-image: url('../images/imBT32.png');
    border: 1px solid #999 !important;
    background-color: #B9B9B9 !important;
    cursor: pointer;
    width: 40px !important;
    height: 20px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 !important;
    overflow: hidden;
}

    .my-tab-button:hover {
        background-color: #EEE !important;
    }

    .my-tab-button:disabled {
        background-color: #999;
    }

    .my-tab-button img {
        margin-top: -4px;
    }

.my-button-transp {
    background-image: url('../images/imBT32.png');
    cursor: pointer;
    color: white;
    margin-left: 10px;
    margin-right: 10px;
}

    .my-button-transp:hover {
        color: gold;
    }

    .my-button-transp:focus {
        color: lightblue;
    }

.close-button {
    width: 25px;
    height: 20px;
    border: 0px !important;
    background-color: transparent;
    cursor: pointer;
    padding: 0;
    margin: 0;
}

.my-group-border {
    border: 1px solid #999 !important;
    padding: 3px !important;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
}

:root {
    --input-width: 100%;
}

.responsive-input {
    max-width: 95%;
    box-sizing: border-box;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-weight: normal;
    padding: 2px !important;
}

    .responsive-input.for-table {
        padding: 1px !important;
        font-size: 12px !important;
    }

.my-label {
    width: var(--input-width);
    max-width: var(--input-width);
    min-width: calc(var(--input-width) / 2);
    padding: 2px !important;
    color: black;
    text-align: right !important;
    font-weight: normal;
    text-overflow: ellipsis;
    vertical-align: central;
    font-size: 14px !important;
}

    .my-label.textarea {
        vertical-align: top !important;
    }

    .my-label.for-table {
        font-size: 12px !important;
    }

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 50;
    overflow: hidden;
}

.modal-content {
    background: white;
    padding: 0px;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
    z-index: 51;
}
    .modal-content.maximum {
        width: 1200px !important;
        max-width: 90% !important;
        max-height: 90% !important;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .modal-content.large {
        width: 1000px !important;
        max-width: 80% !important;
        max-height: 90% !important;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .modal-content.medium {
        width: 800px !important;
        max-width: 42% !important;
        max-height: 90% !important;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .modal-content.small {
        width: 600px !important;
        max-width: 32% !important;
        max-height: 90% !important;
        overflow-y: auto;
        overflow-x: hidden;
    }

.modal-print-overlay {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 50;
    overflow: hidden;
}

.modal-print-content {
    background: white;
    padding: 0px;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
    z-index: 51;
    width: 1000px !important;
    max-width: 1000px !important;
    height: 1200px;
    max-height: 100vh;
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.modal-print-body {
    flex-grow: 1;
    overflow-y: auto;
    overflow-x: hidden;
}

.scrollable-content {
    display: flex;
    flex-direction: column; /* Garante organização vertical */
    max-height: calc(90vh - 100px); /* Usa altura dinâmica, ajustada com base no espaço disponível */
    overflow-y: auto; /* Habilita a rolagem vertical quando o conteúdo excede o limite */
    padding: 10px; /* Espaçamento interno */
    border: 1px solid #ccc; /* Opcional: Adiciona uma borda para destaque visual */
    background-color: #fff; /* Fundo claro para melhor contraste */
    box-sizing: border-box;
}

textarea {
    resize: none;
}

.nav-tabs .nav-link {
    background-image: url('../images/imBT32.png');
    border: 1px solid #999 !important;
    background-color: #999;
    padding-top: 2px;
    padding-bottom: 2px;
    padding-left: 15px;
    padding-right: 15px;
    margin-right: 8px;
    color: #444 !important;
    font-size: 15px !important;
    font-weight: 400;
    border-radius: 4px 4px 0 0;
    -moz-border-radius: 4px 4px 0 0;
    -webkit-border-radius: 4px 4px 0 0;
}

    .nav-tabs .nav-link:hover {
        color: white !important;
    }

    .nav-tabs .nav-link.disabled {
        cursor: pointer !important;
    }

    .nav-tabs .nav-link.active {
        color: black !important;
        cursor: default !important;
        background-color: #DDD;
    }

.tab-content {
    padding: 5px;
    border: 1px solid #999;
    background-color: #fff;
    border-radius: 0 0 4px 4px;
    -moz-border-radius: 0 0 4px 4px;
    -webkit-border-radius: 0 0 4px 4px;
}

.disabled-container {
    pointer-events: none; /* Desabilita interações */
    opacity: 0.5; /* Visualmente desabilitado */
}

    .disabled-container input,
    .disabled-container button,
    .disabled-container select,
    .disabled-container textarea,
    .disabled-container table {
        pointer-events: none; /* Desabilita interações nos filhos */
    }

.color-square {
    width: 32px;
    height: 32px;
    display: inline-block;
    vertical-align: middle;
    border: 1px solid #000; /* Opcional: para adicionar uma borda */
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
}

.signature-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.signature-image {
    position: absolute;
    max-width: 250px;
    max-height: 217px;
    pointer-events: none; /* Impede interação com a imagem */
}

.inner-container {
    position: relative;
    min-height: 100%;
}

.footer-container-general {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    font-size: small;
}

.border-one {
    margin-top: 10mm;
    margin-left: 38mm;
    width: 190mm !important;
    height: 280mm !important;
    border: solid 1px #005;
    padding: 1px;
    align-items: center;
    vertical-align: central;
}

.border-two {
    width: 100%;
    height: 100%;
    border: solid 2px #00A;
    padding: 1px;
}

.border-three {
    width: 100%;
    height: 100%;
    border: solid 1px #00F;
    padding: 15px;
}

.logo-certificate {
    width: 220px;
    height: 73px;
}

.italic-bold-006 {
    font-style: italic;
    font-weight: bold;
    color: #006;
}

.italic-006 {
    font-style: italic;
    color: #006;
}

.italic-black {
    font-style: italic;
    color: #000;
}

.positive {
    color: blue;
}

.negative {
    color: red;
}

.company-report {
    color: black;
    font-size: large;
    font-weight: bold;
    text-align: start;
    margin: 1px;
}

.title-report {
    color: darkblue;
    font-size: large;
    font-weight: bold;
    text-align: center;
    margin: 1px;
}

.date-report {
    color: black;
    font-size: small;
    text-align: end;
    padding: 4px;
}

.text-chart {
    color: black;
    font-size: small !important;
    text-align: start;
    white-space: pre-line;
}

.text-chart-small {
    color: black;
    font-size: 11px !important;
    white-space: pre-line;
}

.text-chart-normal {
    color: black;
    font-size: medium !important;
    white-space: pre-line;
}

canvas {
    z-index: 10;
    max-width: 100%;
    display: block;
    width: auto;
    height: auto;
}

.report-dimensions {
    /*margin-top: 30px !important;*/
    margin-left: 30px !important;
    width: 770px !important;
    padding: 1px;
    vertical-align: top;
}

.center-display-block {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.evident-shadow {
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.7);
}

.success {
    color: green !important;
    font-weight: bold !important;
    background-color: mintcream !important;
}

.warning {
    color: darkorange !important;
    font-weight: bold !important;
    background-color: lemonchiffon !important;
}

.information {
    color: blue !important;
    font-weight: bold !important;
    background-color: azure !important;
}

.error {
    color: red !important;
    font-weight: bold !important;
    background-color: linen !important;
}

.max-width-800 {
    width: 800px !important;
    max-width: 800px !important;
}

.max-width-1000 {
    width: 1000px !important;
    max-width: 1000px !important;
}

.max-width-1100 {
    width: 1100px !important;
    max-width: 1100px !important;
}

.max-width-1200 {
    width: 1200px !important;
    max-width: 1200px !important;
}

.max-width-1500 {
    width: 1500px !important;
    max-width: 1500px !important;
}

.smaller-text {
    font-size: small !important;
}

.card-header-font {
    color: navy !important;
    font-size: 15px !important;
    padding: 2px !important;
}

.no-padding {
    padding: 0 !important;
}

.my-mail {
    background-color: rgba(10, 10, 20, 0.2);
    width: 300px;
    position: fixed;
    bottom: 0;
    font-size: small !important;
    text-shadow: 1px 1px #111, -1px -1px #111, -1px 1px #111, 1px -1px #111;
    color: white;
    align-items: center !important;
    text-align: center !important;
}

    .my-mail a {
        color: white;
    }

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 100;
    pointer-events: all;
}

@media print {
    .chart-container {
        page-break-inside: avoid; /* Evita cortes no meio do gráfico */
    }

    .page-break-spacer {
        height: 30px;
        display: none; /* Invisível por padrão */
    }
}

.wait-cursor * {
    cursor: wait !important;
}

.brand-image {
    width: 102px !important;
    height: auto !important;
    margin: auto;
}