@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');


body {
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
}


/* ==============================
   HEADER
============================== */
.header-bg {
    /* background-color: #07a769; */

    background: linear-gradient(126deg, rgba(5, 62, 45, 1) 40%, rgba(39, 122, 74, 1) 100%);

}

/* ==============================
   BUSCA
============================== */
.search-container {
    border-radius: .25rem;
    border: 1px solid #ced4da;
    padding: .375rem .75rem;
    background-color: #fff;
}

/* ==============================
   NAV TABS
============================== */
.nav-tabs .nav-link {
    border: none;
    color: #6c757d;
}

.nav-tabs .nav-link.active {
    border-bottom: 3px solid #0d6efd;
    color: #0d6efd;
    font-weight: 600;
    background: transparent;
}

/* ==============================
   STATUS TAG
============================== */
.status-tag {
    background: #e8f7ef;
    color: #1e7e34;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: .75rem;
    font-weight: 600;
    white-space: nowrap;
}

/* ==============================
   PRELOADER
============================== */
#preloader {
    position: fixed;
    inset: 0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity .4s ease;
}

#preloader.hide {
    opacity: 0;
    pointer-events: none;
}

/* ==============================
   ANIMAÇÕES
============================== */
.fade-in {
    animation: fadeIn .6s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* ==============================
   CARDS
============================== */
.card-hover {
    min-height: 360px;
    transition: transform .3s ease, box-shadow .3s ease;
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
}

.card-body {
    display: flex;
    flex-direction: column;
}

.card-body .text-muted {
    flex-grow: 1;
}



.video-box,
.votacao-box {
    height: 70vh;
}

.votacao-box {
    display: flex;
    flex-direction: column;
}

.votacao-scroll {
    overflow-y: auto;
    flex: 1;
}

.card-sessao .btn {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.card-sessao:hover .btn {
    opacity: 1;
}

.card-sessao-border {
    transition: all 0.25s ease;
    cursor: pointer;
}

.card-sessao-border:hover {
    border-color: var(--bs-primary);
    transform: translateY(-4px);
    box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.15);
}


.tabs {
    display: flex;
    gap: 24px;
    border-bottom: 1px solid #dee2e6;
}

.tab {
    background: none;
    border: none;
    padding: 12px 4px;
    font-size: 16px;
    cursor: pointer;
    color: #495057;
    position: relative;
}

.tab.active {
    color: #0d6efd;
    /* azul bootstrap */
    font-weight: 500;
}

.tab.active::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #0d6efd;
}

.tab-content {
    padding-top: 20px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.pauta-item {
    display: flex;
    gap: 15px;
    position: relative;
}

.pauta-linha {
    width: 3px;
    background-color: #0d6efd;
    /* azul */
    border-radius: 2px;
}

.pauta-conteudo {
    flex: 1;
}

.pauta-titulo {
    font-weight: 600;
    margin-bottom: 6px;
}

.pauta-descricao {
    color: #444;
    font-style: italic;
    margin-bottom: 8px;
}

.pauta-meta {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 2px;
}

.nav-link {
    position: relative; 
    text-decoration: none;
    padding-bottom: 5px; 
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0; 
    height: 2px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    transition: width 0.3s ease; 
}

.nav-link:hover::after {
    width: 100%; 
}
