﻿/**
 * Arquivo com customizações css da aplicação (adminlte)
 */

 .bg-app {
     background-color: #2D3F4E;
 }

.text-app {
    color: #2D3F4E;
}

:root,
[data-bs-theme=light] {
    --lte-sidebar-width: 300px;
}

.app-header {
    border-bottom: 1px solid #495057;
}

.sidebar-wrapper a {
    color: #2D3F4E;
}

.sidebar-wrapper .sidebar-menu .nav-link {
    border: 1px solid transparent;
    transition: background-color .14s ease, border-color .14s ease,
        color .14s ease;
}

.sidebar-wrapper .sidebar-menu > .nav-item > .nav-link:hover,
.sidebar-wrapper .sidebar-menu > .nav-item > .nav-link:focus {
    color: #1f2d38;
    background-color: #f0f2f4;
}

.sidebar-wrapper .sidebar-menu > .nav-item.menu-open > .nav-link,
.sidebar-wrapper .sidebar-menu > .nav-item.has-active-child > .nav-link {
    color: #2D3F4E;
    background-color: #f7f8f9;
}

/* nav-treeview */
.sidebar-wrapper .nav-treeview > .nav-item > .nav-link {
    color: #333;
}

.sidebar-wrapper .nav-treeview > .nav-item > .nav-link:hover,
.sidebar-wrapper .nav-treeview > .nav-item > .nav-link:focus {
    color: #1f2d38;
    background-color: #f1f3f5;
}

.sidebar-wrapper .nav-treeview > .nav-item > .nav-link.active,
.sidebar-wrapper .nav-treeview > .nav-item > .nav-link.active:hover,
.sidebar-wrapper .nav-treeview > .nav-item > .nav-link.active:focus {
    color: #1f2d38;
    background-color: #e9ecef;
    border-color: #dee2e6;
    box-shadow: inset 3px 0 0 #6c757d;
    font-weight: 600;
}

.sidebar-wrapper .nav-treeview > .nav-item > .nav-link.active .nav-icon {
    color: #495057;
}

.sidebar-wrapper .sidebar-menu > .nav-item > .nav-link.active,
.sidebar-wrapper .sidebar-menu > .nav-item > .nav-link.active:not(:hover),
.sidebar-wrapper .sidebar-menu > .nav-item > .nav-link.active:hover,
.sidebar-wrapper .sidebar-menu > .nav-item > .nav-link.active:focus {
    color: #1f2d38;
    background-color: #e9ecef;
    border-color: #dee2e6;
    box-shadow: inset 3px 0 0 #6c757d;
    font-weight: 600;
}

.sidebar-wrapper .sidebar-menu > .nav-item > .nav-link.active .nav-icon {
    color: #495057;
}

.sidebar-wrapper .sidebar-menu .nav-link:focus-visible {
    outline: 2px solid rgba(45, 63, 78, .35);
    outline-offset: -2px;
}

.sidebar-wrapper .sidebar-menu > .nav-item.has-active-child > .nav-link {
    font-weight: 600;
}

@media (min-width: 992px) {
    .sidebar-mini.sidebar-collapse:not(.sidebar-is-hover)
    .sidebar-wrapper .nav-treeview {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sidebar-wrapper .sidebar-menu .nav-link {
        transition: none;
    }
}

.preloader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f8f8f8;
    filter: Alpha(Opacity=90);
    opacity: 0.9;
    -moz-opacity: 0.9;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: all .4s ease;
}

.fade-out-animation {
    opacity: 0;
    visibility: hidden;
}

/* Página inicial */
.home-page .app-content-header { padding-top: 1.25rem; }

.home-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(1.35rem, 2.5vw, 2rem);
    border-radius: 1rem;
    color: #fff;
    background: radial-gradient(circle at 88% 18%, rgba(255,255,255,.12), transparent 26%),
        linear-gradient(125deg, #243541 0%, #2d3f4e 55%, #3e5668 100%);
    box-shadow: 0 .6rem 1.5rem rgba(45,63,78,.1);
}

.home-hero::after {
    content: "";
    position: absolute;
    right: -6rem;
    bottom: -9rem;
    width: 24rem;
    height: 24rem;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 50%;
    box-shadow: 0 0 0 3rem rgba(255,255,255,.025), 0 0 0 7rem rgba(255,255,255,.02);
    pointer-events: none;
}

.home-hero .row { position: relative; z-index: 1; }

.home-eyebrow {
    display: inline-flex;
    gap: .5rem;
    align-items: center;
    margin-bottom: .55rem;
    color: rgba(255,255,255,.76);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.home-hero h1 {
    margin-bottom: .35rem;
    font-size: clamp(1.65rem, 3vw, 2.2rem);
    font-weight: 700;
    letter-spacing: -.035em;
}

.home-hero p {
    max-width: 42rem;
    margin-bottom: 0;
    color: rgba(255,255,255,.78);
    font-size: 1rem;
    line-height: 1.5;
}

.home-brand-mark {
    display: flex;
    width: 12rem;
    min-height: 7rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: .9rem;
    background-color: rgba(255,255,255,.055);
    backdrop-filter: blur(3px);
}

.home-brand-mark img { width: 7.5rem; height: auto; }
.home-section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 1rem; }
.home-section-heading h2 {
    margin-bottom: .25rem;
    color: #2d3f4e;
    font-size: 1.3rem;
    font-weight: 700;
}
.home-section-heading p { margin-bottom: 0; color: #6c757d; }

.home-action-card {
    display: flex;
    min-height: 6.75rem;
    height: 100%;
    align-items: center;
    gap: 1rem;
    padding: 1.15rem;
    color: #2d3f4e;
    border: 1px solid #e2e6e9;
    border-radius: .9rem;
    background-color: #fff;
    box-shadow: 0 .25rem .8rem rgba(45,63,78,.045);
    text-decoration: none;
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.home-action-card:hover, .home-action-card:focus {
    color: #2d3f4e;
    border-color: #cbd2d8;
    box-shadow: 0 .65rem 1.4rem rgba(45,63,78,.1);
    transform: translateY(-2px);
}
.home-action-card:focus-visible { outline: 3px solid rgba(45,63,78,.22); outline-offset: 2px; }

.home-action-icon {
    display: inline-flex;
    width: 3rem;
    height: 3rem;
    flex: 0 0 3rem;
    align-items: center;
    justify-content: center;
    border-radius: .8rem;
    font-size: 1.05rem;
}
.home-action-icon-primary { color: #315f83; background-color: #eaf2f8; }
.home-action-icon-success { color: #39735a; background-color: #eaf5ef; }
.home-action-icon-warning { color: #8b6923; background-color: #fbf4e2; }
.home-action-icon-info { color: #50648a; background-color: #eef1f7; }

.home-action-content { display: flex; min-width: 0; flex: 1; flex-direction: column; }
.home-action-content strong { font-size: 1rem; }
.home-action-content small {
    margin-top: .2rem;
    overflow: hidden;
    color: #7a838a;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.home-action-arrow { color: #a8b0b6; font-size: .75rem; }

@media (max-width: 575.98px) {
    .home-hero { padding: 1.35rem; border-radius: .9rem; }
    .home-action-card { min-height: 5.75rem; }
}

@media (prefers-reduced-motion: reduce) {
    .home-action-card { transition: none; }
    .home-action-card:hover, .home-action-card:focus { transform: none; }
}
