#overlay {
    position: fixed;
    z-index: 9999;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease-in;
}

#reconnect-modal {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-2rem);
    visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease, transform 0.2s ease-in;
}

    #overlay.show,
    #reconnect-modal.show {
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
        transform: translateY(0);
    }

#overlay.show {
    transform: translateY(0);
}

.reconnect-modal-content {
    background-color: #fefefe;
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Largura da modal */
    text-align: center; /* Centralizar texto */
    border-radius: 10px; /* Bordas arredondadas */
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); /* Sombra */
}

.loader {
    border: 8px solid #f3f3f3; /* Largura e cor do anel */
    border-radius: 50%;
    border-top: 8px solid #3498db; /* Cor do anel */
    width: 60px;
    height: 60px;
    margin: 20px auto; /* Centralizar o loader */
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*Siproc Card*/

.siproc-card {
    border-radius: 24px;
    background: #e1e7f1;
    box-shadow: -4px 4px 4px 0 rgba(98, 98, 98, 0.1);
}

    .siproc-card.disabled {
        background-color: rgba(225, 231, 241, 0.5);
        pointer-events: none;
    }

        .siproc-card.disabled * {
            color: rgba(0, 0, 0, 0.3) !important;
        }

/* Home Text Title */

.home-text-title {
    color: #0c326f;
    font-size: 36px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-align: center;
}

/* Link */

a.outstanding-link {
    text-decoration: none;
}

.outstanding-link {
    color: rgb(var(--bs-primary-rgb));
    border: 1px solid rgb(var(--bs-primary-rgb));
    border-radius: 41px;
    float: none;
    font-size: 16px;
    font-weight: 600;
    padding: 10px 24px;
    text-align: center;
}

    .outstanding-link:hover,
    .outstanding-link:active {
        color: #fff;
        font-weight: 700;
        background-color: #1351b4;
        transition-duration: 500ms;
    }

/* Siproc Shadow */

.shadow-mixed {
    box-shadow: 0 0.325rem 0.35rem rgba(0, 0, 0, 0.095) !important;
}

/* Bg Colors */

.bg-gray {
    background-color: #f8f8f8;
    border-radius: 16px;
}

.bg-danger {
    background-color: #e5220733;
}

/* Border Radius */

.border-radius-lg {
    border-radius: 24px !important;
}

.border-radius-md {
    border-radius: 12px !important;
}

.border-radius-none {
    border-radius: 0 !important;
}

/* Dots */

.dot-container {
    overflow-y: hidden;
    overflow-x: auto;
}

    .dot-container::-webkit-scrollbar {
        display: none; /* Para navegadores WebKit/Blink, como Chrome e Safari */
    }

.dot-container {
    -ms-overflow-style: none; /* Para Internet Explorer/Edge */
    scrollbar-width: none; /* Para Firefox */
}

/* Tags */

.Elder80 {
    background-color: #5c1111;
}

.Elder60,
.DisabledPerson,
.SeriousIllness {
    background-color: #b50909;
}

.BloodDonator {
    background-color: #fb5a47;
}

/* Transitions */

.zoom-effect {
    transition: transform 0.3s;
}

    .zoom-effect:hover {
        transform: scale(1.1);
    }

.mt-9 {
    margin-top: 9em;
}

.label {
    color: black;
    font-size: 1rem;
    font-weight: 700;
}

/* Icon */

.icon {
    height: 100%;
    align-items: start;
}

.icon-responsive {
    font-size: 2rem;
}

.mini-icon {
    font-size: 1rem;
}

.text-responsive {
    font-size: 30px;
}

.subtext-responsive {
    font-size: 20px;
}

.description-responsive {
    font-size: 15px;
}

.image-responsive {
    width: 100px;
    height: auto;
}

.mobile-invisible {
    display: block;
}

.mobile-visible {
    display: none;
}

.direction-responsive {
    display: flex;
    flex-direction: row;
}

.padding-responsive {
    padding: 50px;
}

.padding-mobile-none {
    padding: 16px;
}

@media (max-width: 768px) {
    .padding-mobile-none {
        padding: 0;
    }

    .description-responsive {
        font-size: 12px;
    }

    .padding-responsive {
        padding: 20px;
    }

    .direction-responsive {
        display: flex;
        flex-direction: column;
    }

    .mobile-invisible {
        display: none;
    }

    .mobile-visible {
        display: block;
    }

    .icon-responsive {
        font-size: 1.5rem;
    }

    .text-responsive {
        font-size: 25px;
    }

    .subtext-responsive {
        font-size: 15px;
    }

    .image-responsive {
        width: 50px;
    }
}

.spacer {
    opacity: 0;
}

.child-row-content-background {
    background: rgba(225, 231, 241, 0.5);
}

/* Sizes */

/* Classes base (aplicadas por padrão, sem media query) */
.text-xsl {
    font-size: 0.6875rem; /* 11px */
}

.text-xs {
    font-size: 0.75rem; /* 12px */
}

.text-sm {
    font-size: 0.875rem; /* 14px */
}

.text-md {
    font-size: 1rem; /* 16px */
}

.text-lg {
    font-size: 1.125rem; /* 18px */
}

.text-xl {
    font-size: 1.25rem; /* 20px */
}

.text-2xl {
    font-size: 1.5rem; /* 24px */
}

.text-3xl {
    font-size: 1.875rem; /* 30px */
}

.text-4xl {
    font-size: 2.25rem; /* 36px */
}

/* Breakpoint Small (sm) - ≥640px */
@media (min-width: 640px) {
    .sm-text-xsl {
        font-size: 0.6875rem; /* 11px */
    }

    .sm-text-xs {
        font-size: 0.75rem; /* 12px */
    }

    .sm-text-sm {
        font-size: 0.875rem; /* 14px */
    }

    .sm-text-md {
        font-size: 1rem; /* 16px */
    }

    .sm-text-lg {
        font-size: 1.125rem; /* 18px */
    }

    .sm-text-xl {
        font-size: 1.25rem; /* 20px */
    }

    .sm-text-2xl {
        font-size: 1.5rem; /* 24px */
    }

    .sm-text-3xl {
        font-size: 1.875rem; /* 30px */
    }

    .sm-text-4xl {
        font-size: 2.25rem; /* 36px */
    }
    .sm-text-5xl {
        font-size: 2.5rem; /* 40px */
    }
}

/* Breakpoint Medium (md) - ≥768px */
@media (min-width: 768px) {
    .md-text-xsl {
        font-size: 0.6875rem; /* 11px */
    }

    .md-text-xs {
        font-size: 0.75rem; /* 12px */
    }

    .md-text-sm {
        font-size: 0.875rem; /* 14px */
    }

    .md-text-md {
        font-size: 1rem; /* 16px */
    }

    .md-text-lg {
        font-size: 1.125rem; /* 18px */
    }

    .md-text-xl {
        font-size: 1.25rem; /* 20px */
    }

    .md-text-2xl {
        font-size: 1.5rem; /* 24px */
    }

    .md-text-3xl {
        font-size: 1.875rem; /* 30px */
    }

    .md-text-4xl {
        font-size: 2.25rem; /* 36px */
    }

    .md-text-5xl {
        font-size: 2.5rem; /* 40px */
    }
}

/* Breakpoint Large (lg) - ≥1024px */
@media (min-width: 1024px) {
    .lg-text-xsl {
        font-size: 0.6875rem; /* 11px */
    }

    .lg-text-xs {
        font-size: 0.75rem; /* 12px */
    }

    .lg-text-sm {
        font-size: 0.875rem; /* 14px */
    }

    .lg-text-md {
        font-size: 1rem; /* 16px */
    }

    .lg-text-lg {
        font-size: 1.125rem; /* 18px */
    }

    .lg-text-xl {
        font-size: 1.25rem; /* 20px */
    }

    .lg-text-2xl {
        font-size: 1.5rem; /* 24px */
    }

    .lg-text-3xl {
        font-size: 1.875rem; /* 30px */
    }

    .lg-text-4xl {
        font-size: 2.25rem; /* 36px */
    }
    .lg-text-5xl {
        font-size: 2.5rem; /* 40px */
    }
}

/* Breakpoint Extra Large (xl) - ≥1280px */
@media (min-width: 1280px) {
    .xl-text-xsl {
        font-size: 0.6875rem; /* 11px */
    }

    .xl-text-xs {
        font-size: 0.75rem; /* 12px */
    }

    .xl-text-sm {
        font-size: 0.875rem; /* 14px */
    }

    .xl-text-md {
        font-size: 1rem; /* 16px */
    }

    .xl-text-lg {
        font-size: 1.125rem; /* 18px */
    }

    .xl-text-xl {
        font-size: 1.25rem; /* 20px */
    }

    .xl-text-2xl {
        font-size: 1.5rem; /* 24px */
    }

    .xl-text-3xl {
        font-size: 1.875rem; /* 30px */
    }

    .xl-text-4xl {
        font-size: 2.25rem; /* 36px */
    }
    .xl-text-5xl {
        font-size: 2.5rem; /* 40px */
    }
}

/* Breakpoint 2x Extra Large (2xl) - ≥1536px */
@media (min-width: 1536px) {
    .xl-text-xsl {
        font-size: 0.6875rem; /* 11px */
    }

    .text-2xl-xs {
        font-size: 0.75rem; /* 12px */
    }

    .text-2xl-sm {
        font-size: 0.875rem; /* 14px */
    }

    .text-2xl-md {
        font-size: 1rem; /* 16px */
    }

    .text-2xl-lg {
        font-size: 1.125rem; /* 18px */
    }

    .text-2xl-xl {
        font-size: 1.25rem; /* 20px */
    }

    .text-2xl-2xl {
        font-size: 1.5rem; /* 24px */
    }

    .text-2xl-3xl {
        font-size: 1.875rem; /* 30px */
    }

    .text-2xl-4xl {
        font-size: 2.25rem; /* 36px */
    }
    .text-text-5xl {
        font-size: 2.5rem; /* 40px */
    }
}

/* Font Weights */

.weight-100 {
    font-weight: 100;
}

.weight-200 {
    font-weight: 200;
}

.weight-300 {
    font-weight: 300;
}

.weight-400 {
    font-weight: 400;
}

.weight-500 {
    font-weight: 500;
}

.weight-600 {
    font-weight: 600;
}

.weight-700 {
    font-weight: 700;
}

.weight-800 {
    font-weight: 800;
}

.weight-900 {
    font-weight: 900;
}

@media (min-width: 768px) {
    .weight-md-100 {
        font-weight: 100;
    }

    .weight-md-200 {
        font-weight: 200;
    }

    .weight-md-300 {
        font-weight: 300;
    }

    .weight-md-400 {
        font-weight: 400;
    }

    .weight-md-500 {
        font-weight: 500;
    }

    .weight-md-600 {
        font-weight: 600;
    }

    .weight-md-700 {
        font-weight: 700;
    }

    .weight-md-800 {
        font-weight: 800;
    }

    .weight-md-900 {
        font-weight: 900;
    }
}

.invalid-phase {
    background-color: #fad3cd;
}

/* Icons Size Default */

.icon-small svg {
    font-size: 1.25rem;
}

.icon-medium svg {
    font-size: 1.5rem;
}

.icon-large svg {
    font-size: 1.75rem;
}

.icon-default svg,
.icon-default {
    font-size: 1.25rem;
}

@media (min-width: 560px) {
    .icon-default svg,
    .icon-default {
        font-size: 1.35rem;
    }
}

@media (min-width: 768px) {
    .icon-default svg,
    .icon-default {
        font-size: 1.9rem;
    }
}

.bg-blur {
    backdrop-filter: blur(10px);
}

/* Reset Mud Grid Spacings */

.mud-grid-spacing-xs-0 {
    width: calc(100%);
    margin-left: 0;
    margin-top: 0;
}

    .mud-grid-spacing-xs-0 > .mud-grid-item {
        padding-left: 0;
        padding-top: 0;
    }

/* Muted Card */

.muted-card {
    padding: 16px;
    background-color: #f5f5f5;
    border-radius: 0.5rem;
}
/* Mud Dialog */
.mud-dialog-actions {
    padding: 8px 24px 24px 24px !important;
}

/* Mud Dialog Action Buttons */

.mud-dialog-action-buttons > button {
    display: flex;
}

.mud-dialog-action-buttons > button {
    flex: 1;
}

@media (min-width: 768px) {
    .mud-dialog-action-buttons > button {
        flex: inherit;
    }
}

/* Color */

.text-customized-color {
    color: #333333 !important;
}

.bg-blue-light {
    background: #E1E7F1;
}

/* Mud Divider */

.divider-color {
    background: #555555;
    width: 2px;
}



/* Spacings */

.spacing-y-1 > * {
    margin-top: 0.25rem !important;
}

.spacing-y-2 > * {
    margin-top: 0.5rem !important;
}

.spacing-y-3 > * {
    margin-top: 0.75rem !important;
}

.spacing-y-4 > * {
    margin-top: 1rem !important;
}

.spacing-y-5 > * {
    margin-top: 1.25rem !important;
}


/* Opacity */

.opacity-0 {
    opacity: 0%;
}

.opacity-10 {
    opacity: 10%;
}

.opacity-20 {
    opacity: 20%;
}

.opacity-30 {
    opacity: 30%;
}

.opacity-40 {
    opacity: 40%;
}

.opacity-50 {
    opacity: 50%;
}

.opacity-60 {
    opacity: 60%;
}

.opacity-70 {
    opacity: 70%;
}

.opacity-80 {
    opacity: 80%;
}

.opacity-90 {
    opacity: 90%;
}

.opacity-100 {
    opacity: 1;
}

.mud-expanded-item {
    padding: 16px;
    width: 100%;
    background: rgba(225, 231, 241, 0.50);
}

@media (max-width: 768px) {
    .mud-expanded-item {
        background: transparent;
    }
}

/* Table cell fine line */

.spacing-table-cell-0 {
    padding: 0 0 0 16px;
}


/* Image Transition */

.image-transition {
    min-height: 10rem;
    min-width: 10rem;
    position: relative;
    background: #f6f7f8;
    background-image: linear-gradient( to right, #f6f7f8 0%, #edeef1 20%, #f6f7f8 40%, #f6f7f8 100% );
    background-size: 100rem 8rem;
    border: 0;
    animation: placeholderShimmer 1s linear infinite forwards;
}

@keyframes placeholderShimmer {
    0% {
        background-position: -40rem 0;
    }

    100% {
        background-position: 40rem 0;
    }
}
