/*
    SIDEBAR MODERNO - GrLavaJato
*/

@import "https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700";
body {
    font-family: 'Poppins', sans-serif;
    background: #fafafa;
}

p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1.7em;
    color: #999;
}

a,
a:hover,
a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
}

.line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #ddd;
    margin: 40px 0;
}

/* ---------------------------------------------------
    SIDEBAR MODERNO
----------------------------------------------------- */
#sidebar {
    width: 280px;
    position: fixed;
    top: 0;
    left: -280px;
    height: 100vh;
    z-index: 1060;
    background: linear-gradient(180deg, #042a5a 0%, #053978 100%);
    color: white;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-shadow: 8px 0 30px rgba(0, 0, 0, 0.4);
}

#sidebar::-webkit-scrollbar {
    width: 6px;
}

#sidebar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

#sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

#sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

#sidebar.active {
    left: 0;
}

/* Botão Fechar Moderno */
#dismiss {
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    font-size: 18px;
    z-index: 10;
}

#dismiss:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(180deg);
}

.overlay {
    display: none;
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 998;
    opacity: 0;
    transition: all 0.5s ease-in-out;
    backdrop-filter: blur(5px);
}

.overlay.active {
    display: block;
    opacity: 1;
}

/* Cabeçalho Moderno */
#sidebar .sidebar-header {
    padding: 30px 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

#sidebar .sidebar-header img {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

/* Componentes da Lista */
#sidebar ul.components {
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Título Principal */
#sidebar ul p {
    color: white;
    padding: 15px 20px 10px;
    font-size: 1.3rem;
    font-weight: 700;
    text-align: center;
    margin: 0;
    letter-spacing: 0.5px;
}

/* Itens da Lista */
#sidebar ul li {
    margin: 5px 10px;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

#sidebar ul li a {
    padding: 14px 20px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 12px;
}

#sidebar ul li a svg,
#sidebar ul li a i {
    margin-right: 12px;
    font-size: 18px;
    width: 20px;
}

/* Hover nos Itens */
#sidebar ul li a:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    transform: translateX(5px);
    padding-left: 25px;
}

/* Item Ativo */
#sidebar ul li.active > a,
a[aria-expanded="true"] {
    color: white;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.4);
}

a[data-toggle="collapse"] {
    position: relative;
}

.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

/* Sub-menus */
ul ul a {
    font-size: 0.9em !important;
    padding-left: 50px !important;
    background: rgba(0, 0, 0, 0.1);
}

/* Botões de Ação (CTAs) */
ul.CTAs {
    padding: 20px 15px;
}

ul.CTAs li {
    margin-bottom: 12px;
}

ul.CTAs a {
    text-align: center;
    font-size: 1rem !important;
    font-weight: 600;
    display: block;
    border-radius: 50px;
    padding: 14px 20px !important;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Botão Criar Conta (Verde) */
a.article,
a.article:hover {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
    color: white !important;
    transform: translateY(0);
}

a.article:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
}

/* Botão Login (Azul Claro) */
a.download {
    background: linear-gradient(135deg, #4dabf7 0%, #339af0 100%);
    color: white;
}

a.download:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(77, 171, 247, 0.4);
}

/* Link Download App (Último) */
ul.CTAs li:last-child a {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 0.85rem !important;
    padding: 10px 15px !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

ul.CTAs li:last-child a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */
#content {
    width: 100%;
    padding: 20px;
    min-height: 100vh;
    transition: all 0.3s;
    position: absolute;
    top: 0;
    right: 0;
}