
.montserrat {
    font-family: "Montserrat", serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
}

:root {
    --bs-primary-rgb: 89, 74, 226;
    --bs-primary-rgba: rgba(89, 74, 226, 1);
    --bs-primary: rgb(var(--bs-primary-rgb)) !important;

    --bs-secondary-rgb: 24, 58, 103;
    --bs-secondary-rgba: rgba(24, 58, 103, 1);
    --bs-secondary: rgb(var(--bs-secondary-rgb)) !important;

    --mud-palette-primary: var(--bs-primary-rgba) !important;
    --mud-palette-primary-lighten: rgb(128, 116, 237) !important;
    --mud-palette-primary-darken: rgb(55, 42, 174) !important;
    --mud-palette-primary-hover: rgba(89, 74, 226, 0.058823529411764705) !important;

    --mud-palette-secondary: var(--bs-secondary-rgba) !important;
    --mud-palette-secondary-lighten: rgb(68, 117, 182) !important;
    --mud-palette-secondary-darken: rgb(15, 37, 66) !important;
    --mud-palette-secondary-hover: rgba(24, 58, 103, 0.058823529411764705) !important;
}

html, body {
    font-family: 'Montserrat', sans-serif;
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary,
.btn-light-primary,
.btn-danger,
.btn-secondary,
.btn-terciary {
    height: 48px !important;
    border-radius: 9999px !important;
}

/* azul escuro */
.btn-primary {
    color: #fff !important;
    background-color: #183A67 !important;
    border-color: #1861ac !important;
}


.btn-primary:focus,
.btn-primary:hover,
.btn-primary:active {
    color: #fff !important;
    background-color: #224d86 !important;
    border-color: #1861ac !important;
}

/* azul claro */
.btn-light-primary {
    color: #fff !important;
    background-color: #189CD8 !important;
    border-color: #0e7db1 !important;
}


.btn-danger {
    color: #fff !important;
    background-color: #DD5448 !important;
    border-color: #DD5448 !important;
}

.btn-light-primary:focus,
.btn-light-primary:hover,
.btn-light-primary:active {
    color: #fff !important;
    background-color: #22a9e7 !important;
    border-color: #0e7db1 !important;
}

/* cinza claro */
.btn-secondary {
    color: #183A67 !important;
    background-color: #D9D9D9 !important;
    border-color: #c7c6c6 !important;
}

.btn-secondary:focus,
.btn-secondary:hover,
.btn-secondary:active {
    color: #235494 !important;
    background-color: #C0C0C0 !important;
    border-color: #c7c6c6 !important;
}

/* verde claro */
.btn-terciary {
    color: #FFF !important;
    background-color: #02BF67 !important;
    border-color: #028649 !important;
}

.btn-terciary:focus,
.btn-terciary:hover,
.btn-terciary:active {
    color: #FFF !important;
    background-color: #03d171 !important;
    border-color: #028649 !important;
}

.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;
}

/* azul escuro */
.bg-primary {
    color: #fff !important;
    background-color: #183A67 !important;
    border-color: #1861ac !important;
}

/* azul claro */
.bg-light-primary {
    color: #fff !important;
    background-color: #189CD8 !important;
    border-color: #0e7db1 !important;
} 


.bg-secondary {
    background-color: #183A67 !important;
}

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

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

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

.bg-default {
    background-color: #CDCDCD !important;
}

.text-blue {
    color: #183A67;
}

.gray {
    color: #D9D9D9;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

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

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

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

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

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.background-full {
   min-height: 100vh;
   background-attachment: fixed;
   background-position: center;
   background-repeat: no-repeat;
   background-size: cover;
   background-image: url("back.png");
}

.background-home {
    min-height: 100vh;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url("back-start.png");
}

.background-login {
    min-height: 100vh;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url("back-login.png");
}

.background-register {
    min-height: 100vh;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url("back-register.png");
}

.bg-gray {
    background-color: #929292;
}

.background-recovery-step-1 {
    min-height: 100vh;
    background-attachment: fixed;
    background-position: center top 20%;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url("back-recovery-step-1.png");
}

.background-recovery-step-2  {
    min-height: 100vh;
    background-attachment: fixed;
    background-position: center top 20%;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url("back-recovery-step-2.png");
}

.background-white-full {
    min-height: 100vh;
    background-attachment: fixed;
    background-position: center top 20%;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #f2f2f2;
}

.brand-fidi {
    height: 52px;
    aspect-ratio: 1.05/1;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url(fidi-logo.svg);
    margin: 16px 10px;
}

.brand-fidi-blue {
    height: 52px;
    aspect-ratio: 1.05/1;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin: 16px 10px;
    background-image: url(fidi-background-blue.png);
}



.brand-fidi-menu {
    height: 42px;
    aspect-ratio: 1/1;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain ;
    background-image: url(fidi-logo.svg);
}

.form-input, 
.form-select {
    border-width: 1px;
    overflow: hidden;
    outline-width: 1px;
    color: gray;
}
.mud-input-control {
    border: 1px solid #E6E6E6 !important;
}
.mud-input-filled,
.mud-input-filled::before,
.mud-input-filled::after {
    border: none !important;
    border-color: transparent !important;
    background: none !important;
}

.mud-input-root-filled, .mud-input-filled-with-label{
    border-radius: 8px;
    background-color: #FFF !important;
}

.mud-input-label-filled {
    color: darkgray !important
}

.mud-input-helper-text {
    color: #FFF !important;
}

.container-form {
    max-width: 480px;
    display: flex;
    background-color: transparent;
}

.container-form > * {
    width: 100%;
}

.container-full-margin-negative {
    margin: 0 -16px !important;
    width: calc(100% + 32px) !important;
}

.modal-container {
    padding: 1.5rem !important;
    border-radius: 8px !important;
    max-width: 90% !important;
}


.modal-terms-container {
    padding: 1rem !important;
    border-radius: 8px !important;
    max-width: 460px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.detail-hover:hover {
    opacity: 0.7;
    cursor: pointer;
}

.input-date-search {
    width: 110px !important;
    height: 63px !important;
    border-radius: 8px !important;
    cursor: pointer !important;
}

.btn-date-search {
    height: 63px !important;
    min-width: 180px;
    max-width: auto;
    width: auto;
    border-radius: 16px !important;
    padding: 0 16px !important;
}

@media (min-width: 992px) {
    .modal-lg-50 {
        max-width: 50% !important;
    }
}

.border-bottom-dashed {
    width: 100%;
    border-bottom: 1px dashed #0a53be;
    margin-top: 8px;
}

.embeded {

}

.embeded {
    width: 100%;
    max-width: 100%;
    display: flex;
    height: auto;
    object-fit: cover;
    min-height: 560px;
}

.page-to-print {
    width: 794px !important;
    min-height: 200px !important;
    max-height: auto !important;
    height: auto !important;
}

.accessibility-toggle {
    position: fixed;
    top: 20%;
    right: 0px; 
    transform: translateY(-50%);
    z-index: 10000;
}

.accessibility-panel {
    position: fixed;
    top: 322px;
    right: -300px; /* era left: -300px */
    transform: translateY(-50%);
    width: 280px;
    max-height: 80vh;
    overflow-y: auto;
    background-color: white;
    transition: right 0.5s ease-in-out; 
    z-index: 9999;
    border-radius: 8px;
    font-size: 1rem;
}

.grayscale {
    filter: grayscale(100%);
}

.high-contrast {
    filter: contrast(200%);
}

.invert {
    filter: invert(100%);
}

.background-light {
    background-color: #fffbc1 !important;
    color: black !important;
}

.underline-links a {
    text-decoration: underline !important;
}

.readable-font * {
    font-family: 'Arial', sans-serif !important;
    letter-spacing: 0.5px;
}

.text-responsive {
    font-size: 0.875rem; 
}

@media (min-width: 992px) {
    .text-responsive {
        font-size: 1rem; 
    }
}


.text-gray {
    color: #919191 !important;
}

.text-dark-gray {
    color: #464646 !important;
}

.font-responsive {
    font-size: 12px; /* tamanho para mobile e telas pequenas */
}

@media (min-width: 992px) {
    /* a partir do desktop (lg) */
    .font-responsive {
        font-size: 18px; /* tamanho para desktop */
    }
}

.fs-7 {
    font-size: 0.9em !important;
}

.fs-8 {
    font-size: 0.87em !important;
}

.fs-9 {
    font-size: 0.82em !important;
}

.fs-10 {
    font-size: 0.78em !important;
}

.progress-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255,255,255,0.7);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.progress-bar-container {
    width: 400px;
    max-width: 90vw;
    background: #e0e0e0;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    padding: 24px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.progress-bar-label {
    margin-bottom: 12px;
    color: #183A67;
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
}

.progress-bar {
    width: 100%;
    height: 18px;
    background: #d1d1d1;
    border-radius: 9px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #189CD8 0%, #183A67 100%);
    border-radius: 9px 0 0 9px;
    animation: progressBarFillAnimation 20s linear forwards;
}

@keyframes progressBarFillAnimation {
    from {
        width: 0%;
    }
    to {
        width: 100%;
    }
}

.progress-bar-percent {
    font-size: 0.95rem;
    color: #464646;
    font-weight: 500;
    margin-top: 2px;
    counter-reset: percent 0;
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #189CD8 0%, #183A67 100%);
    border-radius: 9px 0 0 9px;
    animation: progressBarFillAnimation 20s linear forwards, progressBarPercentAnimation 20s linear forwards;
    position: relative;
}

@keyframes progressBarFillAnimation {
    from {
        width: 0%;
    }
    to {
        width: 100%;
    }
}


@keyframes progressBarPercentAnimation {
    from {
        --percent: 0;
    }
    to {
        --percent: 100;
    }
}

.progress-bar-percent::after {
    content: counter(percent) '%';
    animation: progressBarPercentText 20s linear forwards;
    counter-reset: percent 0;
}

.progress-bar-instant {
    animation: none !important;
    width: 100% !important;
}

.progress-bar-instant + .progress-bar-percent::after {
    content: '100%' !important;
    animation: none !important;
}

@keyframes progressBarPercentText {
    0%   { content: '0%'; }
    5%   { content: '5%'; }
    10%  { content: '10%'; }
    15%  { content: '15%'; }
    20%  { content: '20%'; }
    25%  { content: '25%'; }
    30%  { content: '30%'; }
    35%  { content: '35%'; }
    40%  { content: '40%'; }
    45%  { content: '45%'; }
    50%  { content: '50%'; }
    55%  { content: '55%'; }
    60%  { content: '60%'; }
    65%  { content: '65%'; }
    70%  { content: '70%'; }
    75%  { content: '75%'; }
    80%  { content: '80%'; }
    85%  { content: '85%'; }
    90%  { content: '90%'; }
    95%  { content: '95%'; }
    100% { content: '100%'; }
}


.progress-bar.progress-bar-instant .progress-bar-fill {
    animation: none !important;
    width: 100% !important;
    transition: none !important;
}


.progress-bar.progress-bar-instant ~ .progress-bar-percent::after {
    content: '100%' !important;
    animation: none !important;
}
.banner-consent {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: #FFF;
    color: #3C4043;
    padding: 24px;
    text-align: left;
    z-index: 9999;
    width: 400px;
    border-radius: 8px;
    border: 1px solid #dadce0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    font-size: 14px;
}

.banner-consent h4 {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: bold;
    color: #202124;
}

.banner-consent p {
    margin: 0 0 12px;
    font-size: 14px;
    color: #3C4043;
}

.banner-consent a {
    display: inline-block;
    margin-bottom: 16px;
    font-size: 14px;
    color: #183A67 !important;
    text-decoration: none;
}

.banner-consent a:hover {
    text-decoration: underline;
}

.banner-consent .button-group {
    display: flex;
    justify-content: flex-end; /* joga os botões para a direita */
    gap: 8px;
}

.banner-consent button {
    border: none !important;
    border-radius: 4px !important;
    padding: 10px 20px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    min-width: 100px;
}

.banner-consent .btn-secondary {
    background: #fff !important;
    border: 2px solid #1863dc !important;
    color: #1863dc !important;
}

.banner-consent .btn-secondary:hover {
    background: #f8f9fa !important;
}

.banner-consent .btn-primary {
    background: #1863dc !important;
    color: #fff !important;
    border: 1px solid #1863dc !important;
}

.banner-consent .btn-primary:hover {
    background: #1454bb !important;
}

@media (max-width: 600px) {
    .banner-consent {
        bottom: 0;
        left: 0;
        width: 100%;
        border-radius: 0;
        padding: 16px;
        box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.15);
    }

    .banner-consent .button-group {
        flex-direction: column;
        gap: 8px;
    }

    .banner-consent button {
        width: 100%;
    }
}