@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --apex-bg: #f4f6f8;
    --apex-surface: #ffffff;
    --apex-surface-soft: #f8fafc;
    --apex-text: #1f2933;
    --apex-muted: #667085;
    --apex-border: #dbe2ea;
    --apex-brand: #504cab;
    --apex-brand-dark: #38347f;
    --apex-accent: #12a594;
    --apex-warning: #fff7df;
    --apex-shadow: 0 18px 45px rgba(16, 24, 40, 0.08);
}

body {
    background: var(--apex-bg);
    color: var(--apex-text);
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

._dash-loading{
    color: rgba(255, 0, 0, 0);
}


.form-check-input[type=radio] {
    height: 25px;
    width: 25px;
    border-radius: 20%;
}


input:invalid{
    outline: 0.1px solid red
}
.form-check-input:checked[type="radio"] {
    height: 25px;
    width: 25px;
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}

.page-item .page-link {
    border-radius: 100%!important;
    height: 40px!important;
    width: 40px!important;
    font-family: 'Oswald';
    text-align: center;
}

.form-control-date {
    display: block!important;
    width: 100%!important;
}

.form-control-lg {
    min-height: calc(1.5em + 1rem + 2px);
    padding: .5rem 1rem;
    font-size: 1.25rem;
    border-radius: .3rem;
}

.page-item .page-weekdays{
    height: 40px!important;
    width: 40px!important;
    text-align: center;
    display: inline-block;
    margin-bottom:0px!important;
}

.mb-7{
    margin-bottom: 70px!important;
}

.imagedescription {
    height: 100px!important; /* altura desejada */
    overflow: hidden!important; /* recorta a imagem */
  }

.color-blue{
    color: var(--apex-brand)!important;
}

.card-event{
    border-radius: 8px;
    border: solid;
    border-top-color: #1f1f1f;
    border-bottom-color: #1f1f1f;
    border-right-color: #1f1f1f;
    border-width: 0.05em 0.05em 0.05em 0.8em;
}


.bg-blue{
    background-color: var(--apex-brand)!important;
}



.page-item.active .page-link {
    z-index: 3!important;
    color: #fff!important;
    background-color: var(--apex-brand)!important;
    border-color: var(--apex-brand)!important;
  }
/* //This changes the width for all the offcanvas in the app */
.offcanvas{
     width:60% !important;
}  

nav {
    box-shadow: 0 2px 4px 0 rgba(0,0,0,.2);
  }

.apex-shell {
    min-height: 100vh;
    background:
        linear-gradient(180deg, rgba(80, 76, 171, 0.12), rgba(244, 246, 248, 0) 310px),
        var(--apex-bg);
}

.apex-container {
    padding-bottom: 56px;
}

.apex-panel {
    background: var(--apex-surface);
    border: 1px solid var(--apex-border);
    border-radius: 8px;
    box-shadow: var(--apex-shadow);
    padding: 24px;
}

.apex-soft-panel {
    background: var(--apex-surface-soft);
    border: 1px solid var(--apex-border);
    border-radius: 8px;
    padding: 18px;
}

.apex-page-title {
    color: var(--apex-text);
    font-weight: 800;
    letter-spacing: 0;
    margin: 0;
}

.apex-page-subtitle {
    color: var(--apex-muted);
    margin: 8px 0 0;
    max-width: 780px;
}

.apex-alert {
    background: var(--apex-warning);
    border: 1px solid #f4d47a;
    border-radius: 8px;
}

.apex-search-grid {
    align-items: end;
}

.apex-tabs {
    background: var(--apex-surface);
    border: 1px solid var(--apex-border);
    border-radius: 8px;
    box-shadow: var(--apex-shadow);
    padding: 14px;
}

.apex-tabs [data-active="true"] {
    border-color: var(--apex-brand) !important;
    color: var(--apex-brand) !important;
}

.apex-tabs [role="tab"]:hover {
    color: var(--apex-brand) !important;
}

.apex-empty-state {
    min-height: 220px;
    color: var(--apex-muted);
    text-align: center;
}

.apex-empty-state svg {
    color: var(--apex-brand);
    margin-bottom: 8px;
}

.apex-report-frame {
    border: 1px solid var(--apex-border);
    border-radius: 8px;
    background: #fff;
}

.apex-report-review {
    background: #ffffff;
    border: 1px solid var(--apex-border);
    border-radius: 8px;
    padding: 24px;
}

.apex-report-review-section {
    border-bottom: 1px solid var(--apex-border);
    padding: 18px 0;
}

.apex-report-review-section:first-child {
    padding-top: 0;
}

.apex-report-review-section:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.apex-report-section-title {
    color: var(--apex-brand-dark);
    margin-bottom: 10px;
}

.apex-generated-report {
    color: #202331;
    font-family: Arial, sans-serif;
    line-height: 1.5;
}

.apex-generated-report .eyebrow {
    color: #504cab;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.apex-generated-report h1,
.apex-generated-report h2 {
    color: #202331;
}

.apex-login-page {
    background:
        linear-gradient(120deg, rgba(80, 76, 171, 0.9), rgba(18, 165, 148, 0.58)),
        url(img/bg-img-start.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.apex-login-card {
    width: min(92vw, 390px);
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(8, 20, 34, 0.32);
    padding: 28px;
}

.apex-login-logo {
    max-width: 190px;
    height: auto;
}

.apex-section-title {
    color: var(--apex-text);
    font-weight: 700;
    letter-spacing: 0;
    margin-bottom: 16px;
}

.apex-admin-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.apex-admin-table {
    margin-bottom: 0;
}

.apex-admin-table th {
    color: var(--apex-muted);
    font-size: 0.82rem;
    text-transform: uppercase;
}

.apex-dropdown .Select-control {
    border-color: var(--apex-border);
}

@media (max-width: 900px) {
    .apex-admin-grid {
        grid-template-columns: 1fr;
    }
}

.apex-navbar-top {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.apex-navbar-container {
    align-items: center;
    display: flex;
    justify-content: space-between;
    min-height: 56px;
}

.apex-brand-link {
    align-items: center;
    color: #ffffff !important;
    display: flex;
    text-decoration: none !important;
}

.apex-wordmark {
    color: #ffffff;
    display: inline-block;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1;
    text-transform: lowercase;
}

.apex-logout-link {
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 8px;
    color: #ffffff !important;
    display: inline-flex;
    font-weight: 700;
    gap: 8px;
    padding: 8px 12px;
    text-decoration: none !important;
    transition: background-color 150ms ease, border-color 150ms ease;
}

.apex-logout-link:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.42);
}

.apex-navbar-bottom {
    background: #ffffff !important;
    border-bottom: 1px solid var(--apex-border);
    box-shadow: 0 10px 24px rgba(16, 24, 40, 0.06);
}

.apex-nav-wrap {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    padding-bottom: 4px;
    padding-top: 4px;
}

.apex-nav-link {
    min-width: 132px;
    border: 1px solid transparent !important;
    border-radius: 8px;
    color: var(--apex-muted);
    font-weight: 700;
    padding: 8px 12px;
    transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}

.apex-nav-label {
    align-items: center;
    display: inline-flex;
    font-weight: 700;
    letter-spacing: 0;
    white-space: nowrap;
}

.apex-nav-link:hover {
    background: #f1f0ff;
    color: var(--apex-brand);
}

.apex-nav-link[data-active="true"],
.apex-nav-link.mantine-NavLink-root[data-active="true"] {
    background: #ecebff;
    border-color: #c8c6ff !important;
    color: var(--apex-brand-dark);
    box-shadow: inset 0 -2px 0 var(--apex-brand);
}

.apex-nav-link-muted {
    min-width: 128px;
}

.apex-result-card {
    border: 1px solid var(--apex-border);
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(16, 24, 40, 0.06);
}

.apex-result-card .card-title {
    color: var(--apex-text);
    font-weight: 700;
}

.apex-result-card p {
    color: var(--apex-muted);
}

.apex-actions-row {
    gap: 12px;
    align-items: center;
}

.apex-profile-form {
    margin-top: 24px;
}

.apex-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.apex-field-full {
    grid-column: 1 / -1;
}

.apex-instruction-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.apex-step-card {
    background: var(--apex-surface);
    border: 1px solid var(--apex-border);
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(16, 24, 40, 0.06);
    padding: 20px;
}

.apex-step-icon {
    align-items: center;
    background: #ecebff;
    border-radius: 8px;
    color: var(--apex-brand);
    display: flex;
    height: 44px;
    justify-content: center;
    margin-bottom: 14px;
    width: 44px;
}

.apex-link {
    color: var(--apex-brand) !important;
    font-weight: 700;
}

.apex-button {
    background-color: var(--apex-brand) !important;
    border-color: var(--apex-brand) !important;
    color: #ffffff !important;
}

.apex-button:hover,
.apex-button:focus,
.apex-button:active {
    background-color: var(--apex-brand-dark) !important;
    border-color: var(--apex-brand-dark) !important;
    color: #ffffff !important;
}

.apex-button:disabled,
.apex-button[data-disabled="true"] {
    background-color: #c7c5e8 !important;
    border-color: #c7c5e8 !important;
    color: #ffffff !important;
}

.apex-button-outline {
    background-color: #ffffff !important;
    border-color: var(--apex-brand) !important;
    color: var(--apex-brand) !important;
}

.apex-button-outline:hover,
.apex-button-outline:focus,
.apex-button-outline:active {
    background-color: #f1f0ff !important;
    border-color: var(--apex-brand-dark) !important;
    color: var(--apex-brand-dark) !important;
}

.apex-button-danger {
    background-color: #b42318 !important;
    border-color: #b42318 !important;
    color: #ffffff !important;
}

.apex-button-danger:hover,
.apex-button-danger:focus,
.apex-button-danger:active {
    background-color: #912018 !important;
    border-color: #912018 !important;
    color: #ffffff !important;
}

.apex-button-danger-outline {
    background-color: #ffffff !important;
    border-color: #b42318 !important;
    color: #b42318 !important;
}

.apex-button-danger-outline:hover,
.apex-button-danger-outline:focus,
.apex-button-danger-outline:active {
    background-color: #fff1f0 !important;
    border-color: #912018 !important;
    color: #912018 !important;
}

.btn-primary {
    background-color: var(--apex-brand) !important;
    border-color: var(--apex-brand) !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--apex-brand-dark) !important;
    border-color: var(--apex-brand-dark) !important;
    box-shadow: 0 0 0 0.2rem rgba(80, 76, 171, 0.24) !important;
}

.circle {
width: 33px;
height: 33px;
border-radius: 50%;
background-color: #c4c4c4;
color: #1f1f1f;
display: flex;
justify-content: center;
align-items: center;
font-size: 15px;
margin: 0 auto;
}
  
a:link { text-decoration: none; 
        color: rgb(17, 17, 17);}
a:visited { text-decoration: none; 
    color: rgb(17, 17, 17);}
a:hover { text-decoration: none; 
    color: rgb(17, 17, 17);}
a:active { text-decoration: none; 
    color: rgb(17, 17, 17);}

.descripton {
    text-decoration: none;
    color: white;
    font-size: x-large;
}

.nav-link.active-vamo{
    color: white;
    background-color: var(--apex-brand);
}

a.descripton:hover{
    color: white;
}

.fa-disabled {
    opacity: 0.6;
    cursor: not-allowed;
  }

.card-link {
    display: inline-block;
    width: 100%;
    padding: 0.5rem;
    border-radius: 0.35rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    text-decoration: none!important;
    color: inherit;
    background-color: #fff;
    border: 1px solid #dee2e6;
    text-align: center;
    line-height: 1.5;
  }
  
  .card-link:hover {
    text-decoration: none;
    background-color: #fafafa;
  }

.apex-official-links {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.apex-official-link {
    align-items: flex-start;
    background: #ffffff;
    border: 1px solid var(--apex-border);
    border-radius: 8px;
    color: var(--apex-brand-dark) !important;
    display: grid;
    gap: 12px;
    grid-template-columns: 42px minmax(0, 1fr) 18px;
    min-height: 86px;
    padding: 14px;
    text-decoration: none !important;
    transition: background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.apex-official-link:hover,
.apex-official-link:focus {
    background: #f1f0ff;
    border-color: #c8c6ff;
    box-shadow: 0 10px 24px rgba(16, 24, 40, 0.08);
    color: var(--apex-brand-dark) !important;
}

.apex-official-link-icon {
    align-items: center;
    background: #ecebff;
    border-radius: 8px;
    color: var(--apex-brand);
    display: flex;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.apex-official-link-copy {
    min-width: 0;
}

.apex-official-link-heading {
    align-items: center;
    display: flex;
    gap: 8px;
    justify-content: space-between;
    margin-bottom: 4px;
}

.apex-official-link-title {
    color: var(--apex-text);
    font-weight: 800;
    line-height: 1.2;
}

.apex-official-link-tag {
    background: #e8f7f5;
    border: 1px solid #b9e4de;
    border-radius: 999px;
    color: #087b6f;
    flex: 0 0 auto;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
    padding: 5px 8px;
}

.apex-official-link-description {
    color: var(--apex-muted);
    display: block;
    font-size: 0.9rem;
    line-height: 1.35;
}

.apex-official-link-external {
    color: var(--apex-muted);
    margin-top: 2px;
}
  

/* // If you are using multiple offcanvas in your app, add this */
.fadeInDown {
    -webkit-animation-name: fadeInDown;
    animation-name: fadeInDown;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    }
    @-webkit-keyframes fadeInDown {
    0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -30%, 0);
    transform: translate3d(0, -30%, 0);
    }
    100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
    }
    }
    @keyframes fadeInDown {
    0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -30%, 0);
    transform: translate3d(0, -30%, 0);
    }
    100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
    }
    }
    
.fadeInRight {
    -webkit-animation-name: fadeInRight;
    animation-name: fadeInRight;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    }
    @-webkit-keyframes fadeInRight {
    0% {
    opacity: 0;
    -webkit-transform: translate3d(30%, 0, 0);
    transform: translate3d(30%, 0, 0);
    }
    100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
    }
    }
    @keyframes fadeInRight {
    0% {
    opacity: 0;
    -webkit-transform: translate3d(30%, 0, 0);
    transform: translate3d(30%, 0, 0);
    }
    100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
    }
    } 

.select-navbar{
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' style='stroke:white' stroke-width='3' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    border: none!important;
    color: white;
    background-color: var(--apex-brand);
    font-size: 18px;
    font-weight: bold;
    background-size: 20px 16px;
    padding-left: 3px!important;
}


.bg-fixed {
    /* The image used */
    background:url(img/bg-img-start.jpg)!important;
    background-repeat: repeat!important;;
    background-size: cover!important;;
    background-attachment: fixed!important;;
  }

@media (max-width: 768px) {
    .apex-container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .apex-panel,
    .apex-login-card {
        padding: 20px;
    }

    .apex-form-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .apex-instruction-grid,
    .apex-official-links {
        grid-template-columns: 1fr;
    }

    .apex-nav-wrap {
        justify-content: flex-start;
        overflow-x: auto;
        padding-left: 12px;
        padding-right: 12px;
        flex-wrap: nowrap;
    }

    .apex-nav-link {
        min-width: auto;
        flex: 0 0 auto;
    }

    .apex-navbar-container {
        gap: 14px;
    }

    .apex-actions-row {
        align-items: stretch;
        flex-direction: column;
    }

    .apex-actions-row .mantine-TextInput-root,
    .apex-actions-row .mantine-LoadingOverlay-root,
    .apex-actions-row button {
        width: 100% !important;
    }

    .apex-report-frame {
        height: 460px !important;
    }

    .apex-page-title {
        font-size: 1.65rem;
        line-height: 2rem;
    }

    .apex-tabs {
        padding: 10px;
        overflow-x: auto;
    }

    .apex-logout-link span {
        display: none;
    }
}

@media (max-width: 480px) {
    .apex-login-card {
        width: min(94vw, 390px);
        padding: 18px;
    }

    .apex-wordmark {
        font-size: 1.65rem;
    }
}
