/* Reset básico e fontes */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f4f9;
    color: #333;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
}

.container {
    width: 100%;
    max-width: 1000px;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    position: relative;
}

img {
    max-width: 100%;
    height: auto;
}

h1 {
    text-align: center;
    color: #1B365D;
    margin-bottom: 0;
}

h2 {
    text-align: center;
    color: #1B365D;
    margin-top: 0;
    margin-bottom: 10px;
}

h3 {
    text-align: center;
    color: #000;
    margin-bottom: 0;
}

/* Layout do Cabeçalho com Logo */
.header-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-area {
    flex-shrink: 0;
    width: 200px; /* Aumentado para centralizar melhor */
    display: flex;
    justify-content: center;
    align-items: center;
}

.title-area {
    flex-grow: 1;
}

/* Ajuste específico para o container do banner na Home (remove o flex row padrão) */
.header-container.home-banner {
    display: block;
    position: relative;
    overflow: hidden; /* Adicionado para o efeito de slide */
    /* Fundo unificado com imagem e transparência */
    background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url('../img/fundo-banner.png');
    background-size: cover;
    background-position: center;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Título do Banner (Fora do Card) */
.banner-title {
    text-align: center;
    font-size: 1.8rem;
    color: #1B365D;
    margin: 0 0 15px 0;
}

/* Wrapper para os slides */
.slides-wrapper {
    display: flex;
    transition: transform 1.0s ease-in-out;
}

/* Classe utilitária para remover transição (usada no loop infinito do JS) */
.no-transition {
    transition: none !important;
}

/* Estilos para os posts do banner na Home */
.banner-post {
    background-color: #f5f5f5; /* Fundo cinza claro */
    border-left: 5px solid #009879; /* Detalhe na cor verde do tema */
    border-right: 5px solid #009879; /* Adicionado borda verde na direita */
    padding: 15px 20px; /* Padding reduzido para diminuir a altura */
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Para o slider */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 0 0 calc(100% - 100px); /* Largura ajustada para compensar a margem */
    margin: 0 50px; /* Adiciona espaço entre os cards */
    box-sizing: border-box;
}


.banner-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
}

.banner-post i {
    font-size: 3.5rem;
    color: #009879;
    flex-shrink: 0;
}

.banner-text-content {
    text-align: center;
}

.banner-post p {
    font-style: italic;
    color: #555;
    margin-bottom: 10px;
    font-size: 1rem;
    margin-top: 0;
}

.banner-post span {
    color: #1B365D;
    font-weight: bold;
    font-size: 0.9rem;
    display: block;
}

/* Indicadores (Bolinhas) */
.banner-indicators {
    text-align: center;
    margin-top: 15px;
}

.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.dot.active, .dot:hover {
    background-color: #009879; /* Cor ativa (verde do tema) */
}

/* Ajustes de Responsividade para o Banner */
@media (max-width: 768px) {
    .header-container.home-banner {
        padding: 20px 10px;
    }

    .banner-title {
        margin: 0 0 10px 0;
        font-size: 1.4rem;
    }

    .banner-post {
        flex: 0 0 calc(100% - 40px);
        margin: 0 20px;
    }

    .banner-content-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .banner-post i {
        font-size: 2.5rem;
    }
}

.star-rating i {
    margin-right: 1px;
    font-size: 0.9rem;
}

/* Estilização da Tabela */
.table-wrapper {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
    
}

thead {
    background-color: #009879;
    color: #ffffff;
}

th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #dddddd;
    vertical-align: middle; /* Centraliza verticalmente o conteúdo */
}

th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    background-color: #1B365D;

}

/* Centralizar a coluna do ícone especificamente */
td.icon-column, th.icon-column {
    text-align: center;
    width: 80px; /* Largura fixa para a coluna do ícone */
}

/* Centralizar a coluna de aula */
td.aula-column, th.aula-column {
    text-align: center;
    width: 60px;
    
}

/* Centralizar a coluna de data */
td.data-column, th.data-column {
    text-align: center;
    width: 120px;
}


tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}

tbody tr:hover {
    background-color: #f1f1f1;
}

/* Estilo do Ícone PDF */
.link-pdf {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #e74c3c; /* Cor vermelha característica de PDF */
    transition: transform 0.2s ease, color 0.2s ease;
    position: relative; /* Necessário para posicionar o tooltip */
}

.link-pdf svg {
    width: 28px;
    height: 28px;
    fill: currentColor; /* O SVG herda a cor do link */
}

.link-pdf:hover {
    color: #c0392b; /* Vermelho mais escuro no hover */
    transform: scale(1.1); /* Leve aumento de tamanho */
}

/* Estilo do Tooltip (Descrição ao passar o mouse) */
.link-pdf::after {
    content: attr(data-tooltip); /* Pega o texto do atributo HTML */
    position: absolute;
    top: 100%; /* Posiciona logo abaixo do ícone */
    left: 50%;
    transform: translateX(-50%); /* Centraliza horizontalmente */
    color: #1B365D;
    border-radius: 4px;
    font-size: 0.6rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease;
    pointer-events: none; /* Evita que o tooltip atrapalhe o clique */
    z-index: 10;
}

.link-pdf:hover::after {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.2rem;
    }

    h3 {
        font-size: 1rem;
    }

    th, td {
        padding: 10px;
        font-size: 0.8rem;
    }

    .header-container {
        flex-direction: column;
    }

    /* Ajustes globais de espaçamento para mobile */
    body {
        padding: 10px;
    }

    .container {
        padding: 15px 10px;
    }

    .logo-area {
        width: auto; /* Remove largura fixa para permitir centralização fluida */
        margin-bottom: 15px;
    }
}

.feriado {
    color: red;
    font-style: italic;
    font-weight: bold;
}

/* Estilos dos Cards da Home */
.cards-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 20px;
    padding: 10px;
}

.card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    text-decoration: none;
    color: #1B365D;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    border-color: #1B365D;
}

.card-icon {
    width: 80px;
    height: 80px;
    background-color: #f0f2f5; /* Cor de fundo do ícone (placeholder) */
    border-radius: 50%;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px; /* Tamanho caso use ícones de fonte */
    color: #555;
}

.card-icon img {
    max-width: 150%;
    max-height: 150%;
}

.card h3 {
    font-size: 1.5rem;
    margin: 0;
    color: #1B365D;
}

.card .card-subtitle {
    font-size: 0.85rem;
    color: #666;
    margin-top: 8px;
    font-weight: normal;
}

@media (max-width: 992px) {
    .cards-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .cards-container {
        grid-template-columns: 1fr;
    }
}

/* --- Estilos da Página SOBRE --- */

/* Topo: Introdução com Caixa Azul */
.profile-intro {
    display: flex;
    align-items: center; /* Centraliza a foto verticalmente em relação à caixa de texto */
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 50px;
    padding: 20px 0;
}

.profile-text {
    background-color: #1B365D; /* Caixa Azul */
    color: #ffffff;
    padding: 40px;
    border-radius: 15px;
    flex: 1;
    box-shadow: 0 10px 20px rgba(27, 54, 93, 0.15);
}

.profile-text h1 {
    text-align: left;
    color: #ffffff; /* Título branco */
    margin-bottom: 15px;
}

.profile-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #e0e0e0; /* Texto claro para contraste */
}

.profile-img-container img {
    width: 260px;
    height: 260px;
    border-radius: 50%; /* Foto arredondada */
    object-fit: cover;
    border: 5px solid #1B365D;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* Ajuste para telas menores */
@media (max-width: 768px) {
    .profile-intro {
        flex-direction: column-reverse;
    }
}

/* --- Accordions (Listas Suspensas) --- */
details.cv-section {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden; /* Garante que o conteúdo não vaze ao fechar */
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

summary {
    padding: 20px;
    cursor: pointer;
    background-color: #f8f9fa;
    list-style: none; /* Remove triângulo padrão */
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s;
}

summary:hover {
    background-color: #e9ecef;
}

summary::-webkit-details-marker {
    display: none; /* Remove marcador padrão no Chrome/Safari */
}

summary h2 {
    margin: 0;
    font-size: 1.2rem;
    text-align: left;
    color: #1B365D;
}

/* Ícone de + e - */
summary::after {
    content: '+';
    font-size: 1.5rem;
    color: #1B365D;
    font-weight: bold;
}

details[open] summary::after {
    content: '-';
}

.accordion-content {
    padding: 20px;
    border-top: 1px solid #e0e0e0;
    background-color: #fff;
}

/* Grid para os Cards de Formação (3 por linha) */
.cv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Ajustado para caber em telas de celular sem quebrar */
    gap: 20px;
    padding: 10px;
}

/* Estilo dos Cards de Currículo */
.cv-card {
    background-color: #e8eff5; /* Azul acinzentado bem suave */
    border-left: 5px solid #1B365D; /* Detalhe na cor principal */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s;
    
    /* Layout Grid para ícone ao lado do texto */
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 20px;
    row-gap: 2px; /* Espaçamento reduzido entre linhas */
    align-items: center;
}

.cv-card:hover {
    transform: scale(1.05); /* Efeito de Zoom */
    box-shadow: 0 10px 20px rgba(27, 54, 93, 0.15);
    background-color: #fff; /* Fica branco ao passar o mouse para destaque */
}

/* Ícones dentro dos cards de currículo */
.cv-card i {
    font-size: 2.5rem;
    color: #1B365D;
    margin-bottom: 0;
    display: block;
    grid-row: 1 / -1; /* Ícone ocupa a altura de todo o texto */
    grid-column: 1;
}

/* Ajuste para o título dentro do summary com ícone */
.summary-title-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Estilos internos do currículo */
.cv-item h4 {
    margin: 0 0 5px 0;
    color: #1B365D;
    font-size: 1.1rem;
}

/* Ajuste específico para os cards */
.cv-card h4 {
    color: #1B365D;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    grid-column: 2;
}

.cv-card p {
    margin: 0;
    color: #666;
    grid-column: 2;
    line-height: 1.3;
}

.cv-card .date {
    margin-top: 3px;
    color: #009879;
    font-weight: bold;
    font-size: 0.9rem;
}

.cv-item p {
    margin: 0;
    color: #666;
}

.cv-item .date {
    font-size: 0.9rem;
    font-weight: bold;
    color: #009879;
}

hr {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(27, 54, 93, 0.5), rgba(0, 0, 0, 0));
    margin: 20px 0;
}

/* Ajuste Grid Pilares (3 colunas) */
.cards-container.about-pillars {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* --- NOVOS ESTILOS: PÁGINA SOBRE E MENU --- */

/* Animação de Entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-entry {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Cabeçalho de Navegação */
.main-header {
    background-color: #1B365D;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    box-shadow: none; /* Remove sombra para unir com sub-header */
    border-radius: 8px 8px 0 0; /* Arredondar topo se estiver dentro do container, ou remova se for full-width */
    margin-bottom: 0; /* Removido para colar com o sub-header */
    position: relative;
}

.header-logo img {
    height: 60px; /* Ajuste conforme a proporção do logo */
    width: auto;
    background-color: #fff; /* Fundo branco caso o logo seja transparente/escuro */
    padding: 5px;
    border-radius: 5px;
}

.nav-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

.nav-menu a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #009879; /* Cor de destaque */
}

.nav-menu a.active {
    color: #009879;
}

/* Menu Hamburguer (Mobile) */
.hamburger {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    background: none;
    border: none;
    color: white;
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-menu {
        display: none; /* Escondido por padrão no mobile */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #1B365D;
        text-align: center;
        padding: 20px 0;
        z-index: 100;
        border-top: 1px solid rgba(255,255,255,0.1);
    }

    .nav-menu.active {
        display: block; /* Mostra quando ativo */
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 15px;
    }
}

/* Sub-cabeçalho (Texto abaixo do menu) */
.sub-header {
    background-color: #ffffff;
    color: #333;
    text-align: center;
    font-weight: bold;
    margin-top: 0;
    padding: 20px;
    border-radius: 0 0 8px 8px; /* Arredonda apenas a parte de baixo */
    margin-bottom: 30px; /* Espaço para o banner de frases */
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.sub-header h1 {
    color: #1B365D;
    font-size: 1.4rem;
    margin: 0 0 5px 0;
    font-weight: 600;
    font-weight: bold;
}

.sub-header h2 {
    color: black;
    font-size: 1.1rem;
    margin: 5px 0;
    font-weight: 400;
}

/* Seção Hero (Perfil) */
.hero-profile {
    display: flex;
    align-items: center;
    gap: 40px;
    background-color: #fff;
    padding: 10px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(27, 54, 93, 0.1);
}

.hero-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.hero-photo {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid #1B365D;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: #1B365D;
    font-size: 1.8rem;
    transition: transform 0.3s, color 0.3s;
}

.social-icons a:hover {
    color: #009879;
    transform: translateY(-3px);
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    text-align: left;
    font-size: 2.5rem;
    margin-bottom: 1px;
}

.hero-text h2 {
    text-align: left;
    font-size: 1.5rem;
    color: #009879; /* Subtítulo em destaque */
    margin-bottom: 2px;
    font-weight: 600;
}

.mini-cv {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    text-align: justify;
}

@media (max-width: 768px) {
    .hero-profile {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-text h1, .hero-text h2 {
        text-align: center;
    }
    
    .mini-cv {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero-photo {
        width: 180px;
        height: 180px;
    }
}

/* --- Espaço Reservado (Meio da Página) --- */
.middle-placeholder {
    background-color: #f8f9fa;
    border: 2px dashed #cbd5e0;
    border-radius: 10px;
    padding: 60px 20px;
    text-align: center;
    margin: 40px 0;
    color: #718096;
    font-style: italic;
}

/* --- Rodapé --- */
.site-footer {
    background-color: #162e4d; /* Azul escuro profundo, combina com #1B365D */
    color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    margin-top: 40px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 80px;
    
}

.footer-social {
    flex: initial;
    min-width: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.footer-social h3 {
    text-align: left;
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 0;
    margin-top: 0;
}

.footer-icons {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-icons a {
    color: #ffffff;
    font-size: 1.5rem; /* Ícones reduzidos */
    transition: color 0.3s, transform 0.3s;
    text-decoration: none;
}

.footer-icons a:hover {
    color: #009879; /* Destaque em Verde Teal */
    transform: translateY(-3px);
}

.footer-logo {
    flex: initial;
    text-align: center;
}

.footer-logo img {
    height: 50px; /* Ajuste conforme a proporção do logo */
    width: auto;
    background-color: #fff; /* Fundo branco caso o logo seja transparente/escuro */
    padding: 5px;
    border-radius: 5px;
}

/* Texto do Copyright (Meio) */
.footer-copyright {
    text-align: center;
    color: #ffffff;
    font-size: 0.9rem;
    margin-top: 0;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column-reverse; /* Logo em cima ou embaixo no mobile? Aqui inverte a ordem */
        text-align: center;
    }

    .footer-social {
        flex-direction: column;
        gap: 10px;
        justify-content: center;
    }

    .footer-social h3 {
        text-align: center;
    }

    .footer-icons {
        justify-content: center;
    }
    
    .footer-logo {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 24px;
    }
}

/* --- Seção Pilares de Atuação --- */
.pillars-section {
    margin-bottom: 40px;
}

.section-title {
    text-align: center;
    color: #1B365D;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.grid-areas {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.grid-areas .card {
    padding: 15px 10px;
}

.grid-areas .card h3 {
    font-size: 1.1rem;
}

.grid-areas .card p {
    margin-top: 10px;
    color: #555;
    font-size: 0.8rem;
}

@media (max-width: 992px) {
    .grid-areas {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .grid-areas {
        grid-template-columns: 1fr;
    }
}

/* --- Flip Cards para Experiência Profissional --- */
.flip-card {
    background-color: transparent;
    perspective: 1000px;
    min-height: 250px; /* Altura fixa necessária para o efeito 3D funcionar bem */
    cursor: pointer;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.flip-card.flipped .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 8px;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.flip-card-front {
    background-color: #e8eff5;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 20px;
    row-gap: 0;
    align-items: center;
    text-align: left;
    align-content: center; /* Centraliza o conteúdo verticalmente */
    padding: 100px 20px 40px 20px; /* Topo maior para o H4, Base para o Hint */
}

.flip-card-front > i {
    font-size: 2.5rem;
    color: #1B365D;
    margin-bottom: 0;
    grid-row: 1 / 3; /* Ocupa as duas linhas de texto (Empresa e Data) */
    grid-column: 1;
    margin-left: 10px;
}

.flip-card-front h4 {
    position: absolute; /* Fixa no topo, fora do fluxo do grid */
    top: 0;
    left: 0;
    background-color: #1B365D;
    color: #ffffff;
    margin: 0;
    padding: 0 15px;
    font-size: 1.1rem;
    font-weight: 700;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.3;
    border-radius: 8px 8px 0 0;
    width: 100%;
    height: 80px;
}

.flip-card-front p {
    color: #009879;
    margin: 0;
    font-weight: bold;
    font-size: 0.95rem;
    grid-column: 2;
    grid-row: 1;
    line-height: 1.1;
    padding-bottom: 5px;
}

.flip-card-front .date {
    color: #009879;
    font-size: 0.7rem;
    margin-top: 0;
    grid-column: 2;
    grid-row: 2;
    font-weight: normal;
    font-style: italic;
}

.flip-card-front .click-hint {
    font-size: 0.7rem;
    color: #999;
    margin: 0;
    font-style: italic;
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    text-align: center;
}

.flip-card-front .click-hint i {
    font-size: 0.8rem;
    margin-right: 5px;
}

.flip-card-back {
    background: linear-gradient(to bottom, #ffffff 80px, #1B365D 80px);
    color: white;
    transform: rotateY(180deg);
    align-items: flex-start; /* Alinha texto à esquerda */
    justify-content: flex-start; /* Alinha ao topo */
    text-align: left;
    overflow-y: auto; /* Permite rolagem se o texto for longo */
    padding: 100px 20px 20px 20px; /* Espaço para o cabeçalho */
    padding: 0 0 20px 0;
}

.flip-card-back h4 {
    position: absolute;
    position: sticky;
    top: 0;
    left: 0;
    background-color: #ffffff;
    color: #009879;
    margin: 0;
    padding: 0 15px;
    font-size: 1.1rem;
    font-weight: 700;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.3;
    border-radius: 8px 8px 0 0;
    width: 100%;
    height: 80px;
    z-index: 10;
    flex-shrink: 0;
}

.flip-card-back ul {
    padding-left: 20px;
    margin: 0;
    margin: 0 20px;
}

.flip-card-back li {
    margin-bottom: 8px;
    font-size: 0.9rem;
    line-height: 1.4;
    text-align: justify;
    hyphens: auto;
}

.flip-card-back p {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-top: 0;
    margin: 20px;
    text-align: justify;
    hyphens: auto;
}

/* Alinhamento à direita da coluna Carga Horária na tabela de Cursos (Sobre) */
details.cv-section table th:last-child,
details.cv-section table td:last-child {
    text-align: right !important;
}

/* --- Estilos da Página de Livros --- */

.books-section {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 0 0 20px 0;
}

.book-item {
    display: flex;
    align-items: center; /* Centraliza verticalmente */
    gap: 40px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.book-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-color: #009879; /* Destaque verde ao passar o mouse */
    background-color: #eeeeee; /* Fundo cinza um pouco mais escuro no hover */
}

/* Lógica para alternar a posição da imagem automaticamente */
/* Itens pares (2, 4, 6...) terão a direção invertida (Imagem na direita) */
.book-item:nth-child(even) {
    flex-direction: row-reverse;
}

.book-cover img {
    width: 180px; /* Largura fixa para padronizar */
    height: auto;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    object-fit: cover;
}

/* Ajuste específico para thumbnails de vídeo (formato paisagem 16:9) */
.book-cover.video-thumb img {
    width: 260px; /* Mais largo que o livro para ficar visível */
    max-width: 100%; /* Evita que estoure a tela em celulares pequenos */
    aspect-ratio: 16 / 9; /* Garante a proporção correta */
}

.book-content {
    flex: 1;
}

.book-content h3 {
    color: #1B365D;
    font-size: 1.6rem;
    margin-top: 0;
    margin-bottom: 10px;
    text-align: inherit; /* Herda o alinhamento do pai (left ou right) */
}

.book-content h3 i {
    margin-right: 10px;
    color: #333; /* Ícone do título em cinza escuro */
}

.book-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 5px;
    color: #009879;
    font-weight: bold;
    font-size: 0.9rem;
}

.book-meta i {
    margin-right: 5px;
}

.book-genre {
    margin-bottom: 15px;
    color: #333;
    font-size: 0.9rem;
    font-style: italic;
}

.book-genre i {
    margin-right: 5px;
    color: #333; /* Ícone de gênero em cinza escuro */
}

.book-content p {
    color: #555;
    line-height: 1.6;
    font-size: 1rem;
    text-align: justify;
}

/* Responsividade para Livros (Celular) */
@media (max-width: 768px) {
    .book-item, 
    .book-item:nth-child(even),
    .materials-grid .book-item {
        flex-direction: column !important; /* Empilha imagem e texto sobrepondo grids específicos */
        text-align: center !important;
        align-items: center !important;
        gap: 20px;
    }

    .book-item:nth-child(even) .book-meta {
        justify-content: center;
    }

    .book-content p {
        text-align: center; /* Ou justify, conforme preferência */
    }
    .book-genre-left { text-align: center !important; }
}

/* Botão para ver mais livros (Home) */
.btn-more-books {
    display: inline-block;
    background-color: #1B365D;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 15px;
}

.btn-more-books:hover {
    background-color: #009879;
    transform: translateX(5px); /* Leve movimento para a direita */
}

/* Filtros na página de Indicações */
.filter-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-btn {
    background-color: #fff;
    border: 2px solid #1B365D;
    color: #1B365D;
    padding: 6px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.filter-btn:hover {
    background-color: #e8eff5;
    transform: translateY(-2px);
}

.filter-btn.active {
    background-color: #1B365D;
    color: #fff;
    box-shadow: 0 4px 8px rgba(27, 54, 93, 0.3);
}

/* --- Estilos da Página de Contato --- */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding: 20px 0;
}

.left-side {
    flex: 1;
    min-width: 250px;
    background-color: #1B365D;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.left-side i {
    font-size: 8rem;
    color: #009879;
}

.right-side {
    flex: 2;
    min-width: 300px;
}

.right-side h2 {
    text-align: left;
    color: #1B365D;
    border-bottom: 2px solid #009879;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.right-side h2 i {
    margin-right: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #009879;
    box-shadow: 0 0 5px rgba(0, 152, 121, 0.3);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

button[type="submit"] {
    background-color: #1B365D;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.2s;
    width: 100%;
    display: block;
}

button[type="submit"]:hover {
    background-color: #009879;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
    }
    
    .left-side {
        display: none;
    }
}

/* --- Estilos da Galeria de Frases --- */
.gallery-section {
    padding: 20px 0;
}

.gallery-grid {
    display: grid;
    /* Cria colunas automáticas com largura mínima de 250px */
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
    display: flex;
    flex-direction: column;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block; /* Remove espaço extra abaixo da imagem */
    object-fit: cover;
}

/* --- Botões da Galeria (Baixar / Compartilhar) --- */
.gallery-actions {
    display: flex;
    gap: 10px;
    padding: 12px;
    background-color: #fff;
    border-top: 1px solid #f0f0f0;
}

.btn-gallery {
    flex: 1; /* Faz os botões ocuparem o mesmo espaço */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    font-family: inherit;
}

/* --- Lightbox (Visualização Ampliada) --- */
.lightbox {
    display: none; /* Oculto por padrão */
    position: fixed;
    z-index: 2000; /* Fica acima de tudo */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Fundo escuro transparente */
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    backdrop-filter: blur(8px); /* Efeito de desfoque no fundo */
}

.lightbox.active {
    display: flex; /* Mostra quando ativo */
}

.lightbox-content {
    position: relative;
    background-color: #fff;
    padding: 15px;
    border-radius: 10px;
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.lightbox-content img {
    max-width: 100%;
    max-height: 70vh; /* Limita altura para caber os botões */
    object-fit: contain;
    border-radius: 5px;
    display: block;
    margin: 0 auto;
}

.close-lightbox {
    position: absolute;
    top: -15px;
    right: -15px;
    background-color: #ff4444;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    border: 2px solid #fff;
    z-index: 10;
}

.close-lightbox:hover {
    background-color: #cc0000;
}

/* Reutiliza estilos de .lightbox-actions baseados em .gallery-actions mas com ajustes */
.lightbox-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

/* --- Botões de Navegação do Carrossel (Setas) --- */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.3); /* Fundo semitransparente */
    color: white;
    border: none;
    font-size: 2.5rem;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s;
    z-index: 2001; /* Acima da imagem */
    border-radius: 5px;
    user-select: none;
}

.lightbox-nav:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

@media (max-width: 768px) {
    .lightbox-nav {
        font-size: 1.8rem;
        padding: 10px;
    }
    .lightbox-prev { left: 5px; }
    .lightbox-next { right: 5px; }
}

.btn-download {
    background-color: #f0f2f5;
    color: #1B365D;
}
.btn-download:hover { background-color: #1B365D; color: #fff; }

.btn-share {
    background-color: #e0f7fa; /* Verde claro */
    color: #009879;
}
.btn-share:hover { background-color: #009879; color: #fff; }

.btn-gallery i { margin-right: 8px; }

/* Dropdown Menu */
.nav-menu li {
    position: relative;
}

.nav-menu .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #1B365D;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1000;
    flex-direction: column;
    gap: 0;
    padding: 10px 0;
    border-radius: 0 0 8px 8px;
}

.nav-menu li:hover .dropdown-menu {
    display: flex;
}

.nav-menu .dropdown-menu li {
    width: 100%;
}

.nav-menu .dropdown-menu a {
    padding: 10px 20px;
    display: block;
    white-space: nowrap;
    font-size: 0.9rem;
    color: white;
}

.nav-menu .dropdown-menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #009879;
}

/* Mobile adjustments for dropdown */
@media (max-width: 768px) {
    .nav-menu .dropdown-menu {
        position: static;
        box-shadow: none;
        background-color: rgba(0, 0, 0, 0.2);
        width: 100%;
    }
    
    .nav-menu .dropdown-menu a {
        padding-left: 30px;
    }
}

/* --- Área Administrativa (Tabelas e Badges) --- */
.admin-container {
    overflow-x: auto;
    margin-top: 20px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.data-table th, .data-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.data-table th {
    background-color: #1B365D;
    color: white;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.data-table tr:hover {
    background-color: #f1f1f1;
}

.badge {
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

.badge-confirmado {
    background-color: #d4edda;
    color: #155724;
}

.badge-pendente {
    background-color: #fff3cd;
    color: #856404;
}

.total-count {
    background-color: #009879;
    color: white;
    padding: 10px;
    border-radius: 5px;
    display: inline-block;
    margin-bottom: 15px;
    font-weight: bold;
}

/* --- Login Modal para Admin (adm.html) --- */
.login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(27, 54, 93, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.login-box {
    background: white;
    padding: 40px;
    border-radius: 10px;
    width: 100%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.login-box input {
    width: 100%;
    padding: 12px;
    margin-bottom: 0; /* Espaçamento controlado pelo form-group agora */
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.login-box input:focus {
    outline: none;
    border-color: #009879;
    box-shadow: 0 0 5px rgba(0, 152, 121, 0.3);
}

.login-box button {
    width: 100%;
    padding: 12px;
    background-color: #009879;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.login-box button:hover {
    background-color: #007f65;
}

.hidden {
    display: none !important;
}

/* --- Página de Login Dedicada (login.html) --- */
body.login-page {
    background-color: #1B365D; /* Fundo Azul Institucional */
    height: 100vh; /* Altura total da tela */
    align-items: center; /* Centraliza verticalmente (já é flex no body geral) */
    overflow: hidden;
}

/* --- Tags nas Frases (Badges) --- */
.gallery-tag {
    padding: 15px 10px;
    background-color: #fff;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    order: 1;
    border-top: 1px solid #f0f0f0;
}

.badge-tag {
    display: inline-flex;
    align-items: center;
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-tag i {
    margin-right: 4px;
    font-size: 0.7rem;
}

/* Alternando as cores entre azul (ímpar) e verde (par) */
.badge-tag.tag-azul {
    color: #1B365D;
    background-color: #e8eff5;
    border: 1px solid rgba(27, 54, 93, 0.15);
}

.badge-tag.tag-azul i {
    color: #1B365D;
}

.badge-tag.tag-verde {
    color: #007a61;
    background-color: rgba(0, 152, 121, 0.1);
    border: 1px solid rgba(0, 152, 121, 0.2);
}

.badge-tag.tag-verde i {
    color: #009879;
}

/* Filtros e Paginação com alternância de cores */
.filter-btn.btn-azul, .page-btn.btn-azul { color: #1B365D; border-color: #1B365D; }
.filter-btn.btn-azul:hover, .filter-btn.btn-azul.active, .page-btn.btn-azul:hover, .page-btn.btn-azul.active { background-color: #1B365D; color: #fff; }

.filter-btn.btn-verde, .page-btn.btn-verde { color: #009879; border-color: #009879; }
.filter-btn.btn-verde:hover, .filter-btn.btn-verde.active, .page-btn.btn-verde:hover, .page-btn.btn-verde.active { background-color: #009879; color: #fff; }

/* --- Estilos da Página de Filmes --- */
.movie-input-container {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    width: 100%;
}

.form-row.center {
    justify-content: center;
}

.form-group-movie {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
    min-width: 150px;
}

.form-group-movie label {
    font-size: 0.9rem;
    font-weight: bold;
    color: #1B365D;
}

.form-group-movie input,
.form-group-movie select,
.form-group-movie textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
}

.input-with-btn {
    display: flex;
    gap: 5px;
}

.btn-add-mini {
    background-color: #1B365D;
    color: white;
    border: none;
    width: 40px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-add-mini:hover {
    background-color: #009879;
}

.movie-list {
    list-style: none;
    padding: 0;
}

.movie-item {
    background: white;
    border-bottom: 1px solid #eee;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
    flex-wrap: wrap;
    gap: 10px;
}

.movie-item:hover {
    background-color: #f9f9f9;
}

.movie-item.watched {
    background-color: #d4edda; /* Verde claro */
    color: #155724; /* Texto verde escuro */
}

.movie-item.watched .movie-title {
    text-decoration: none; /* Remove o riscado */
    color: #155724;
}

.movie-info {
    flex: 1;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.movie-title {
    font-weight: bold;
    font-size: 1.3rem; /* Fonte aumentada */
    color: #1B365D;
    display: inline-block;
    margin-right: 5px;
}

.movie-meta {
    font-size: 1rem; /* Fonte aumentada */
    color: #666;
    margin-top: 0;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.movie-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.movie-actions {
    display: flex;
    gap: 5px;
}

.movie-actions button {
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.3s;
}

.btn-check { background-color: #009879; color: white; }
.btn-check:hover { background-color: #007f65; }

.btn-undo { background-color: #f39c12; color: white; }
.btn-undo:hover { background-color: #d35400; }

.btn-edit { background-color: #3498db; color: white; }
.btn-edit:hover { background-color: #2980b9; }

.btn-delete { background-color: #c0392b; color: white; }
.btn-delete:hover { background-color: #a93226; }

@media (max-width: 768px) {
    .movie-input-container {
        flex-direction: column;
        align-items: stretch;
    }
    .form-group-movie {
        width: 100%;
    }
}

/* --- Estilos para Rating com Estrelas no Formulário --- */
.form-star-rating {
    display: flex;
    gap: 5px;
    align-items: center;
    font-size: 1.5rem;
    color: #ccc;
    padding-top: 5px; /* Alinha melhor com os outros inputs */
}

.form-star-rating i {
    cursor: pointer;
    transition: color 0.2s, transform 0.2s;
}

.form-star-rating i.fas {
    color: #f1c40f;
}

.form-star-rating i:hover {
    transform: scale(1.2);
}

/* Temporary Message (Toast) */
.temp-message {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 15px 25px;
    border-radius: 8px;
    color: white;
    font-weight: bold;
    z-index: 9999;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    display: none;
}

.temp-message.success {
    background-color: #28a745; /* Verde sucesso */
}

.temp-message.error {
    background-color: #dc3545; /* Vermelho erro */
}

.temp-message.info {
    background-color: #17a2b8; /* Azul info */
}

/* --- Paginação da Galeria --- */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.page-btn {
    background-color: #fff;
    border: 2px solid;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px; /* Garante tamanho uniforme */
}

/* --- Estilos extraídos do index.html --- */
.nav-admin-link {
    color: #ffcc00 !important;
}

.banner-link-container {
    text-align: center;
    margin-top: 10px;
}

.current-reading-section {
    margin-top: 30px;
}

.current-reading-card {
    background-color: #f9fdfc;
    border-left: 4px solid #009879;
    padding: 15px;
}

.current-reading-title {
    color: #009879 !important;
    margin-top: 0 !important;
    border-bottom: 1px solid #c2e0d8;
    padding-bottom: 8px;
    margin-bottom: 10px !important;
    font-size: 1.4rem !important;
}

.loading-text {
    text-align: center;
    color: #666;
}

.current-reading-wrapper {
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    background: transparent !important;
    gap: 15px !important;
}

.current-reading-cover {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 110px;
    height: 160px;
    border-radius: 5px;
}

.current-reading-cover.no-img {
    background: #1B365D;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.current-reading-cover.has-img {
    background: transparent;
}

.current-reading-img {
    width: 110px;
    height: 160px;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.current-reading-book-title {
    color: #1B365D;
    font-size: 1.4rem;
    margin-top: 0;
    margin-bottom: 2px;
}

.current-reading-subtitle {
    color: #555;
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.current-reading-meta {
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.current-reading-genre {
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.current-reading-desc {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 10px;
}

.current-reading-btn {
    font-size: 0.95rem;
    padding: 8px 15px;
    margin-top: 0;
}

/* --- Estilos extraídos do adm.html --- */
@media (max-width: 768px) {
    .main-header { flex-direction: column; gap: 10px; text-align: center; }
    .data-table thead { display: none; }
    .data-table, .data-table tbody, .data-table tr, .data-table td { display: block; width: 100%; box-sizing: border-box; }
    .data-table tr { margin-bottom: 15px; border: 1px solid #e0e0e0; border-radius: 8px; background-color: #fff; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
    .data-table td { display: flex; justify-content: space-between; align-items: center; text-align: right; padding: 12px 15px; border-bottom: 1px solid #f0f0f0; font-size: 0.95rem; }
    .data-table td:last-child { border-bottom: none; }
    .data-table td::before { content: attr(data-label); font-weight: bold; color: #1B365D; text-align: left; flex: 1; }
    .data-table td[data-label*="E-mail"] { flex-direction: column; align-items: flex-start; gap: 5px; text-align: left; }
}

.dashboard-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-bottom: 30px; }
.stat-card { background: white; padding: 20px; border-radius: 10px; box-shadow: 0 2px 5px rgba(0,0,0,0.05); text-align: center; border-bottom: 4px solid #009879; }
.stat-number { font-size: 2rem; font-weight: bold; color: #1B365D; margin: 10px 0; }
.stat-label { color: #666; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }
.stat-icon { font-size: 1.5rem; color: #009879; margin-bottom: 5px; }

@media (max-width: 992px) {
    .dashboard-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
    .dashboard-main-content { flex-direction: column; }
}

.dashboard-main-content { display: flex; flex-wrap: wrap; gap: 30px; margin-top: 20px; }
.dashboard-cards-column { flex: 1; min-width: 300px; display: flex; flex-direction: column; gap: 20px; }
.dashboard-chart-column { flex: 2; min-width: 400px; background: white; padding: 20px; border-radius: 10px; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.chart-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.chart-header h3 { margin: 0; color: #1B365D; font-size: 1.2rem; }
.chart-header select { padding: 5px 10px; border-radius: 5px; border: 1px solid #ccc; }
#daily-visits-chart-container { cursor: pointer; }

.chart-modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); z-index: 3000; justify-content: center; align-items: center; padding: 20px; box-sizing: border-box; }
.chart-modal-content { background: white; padding: 20px; border-radius: 10px; width: 100%; max-width: 90vw; max-height: 90vh; overflow-y: auto; position: relative; }
.close-modal-btn { position: absolute; top: 10px; right: 15px; font-size: 2rem; color: #666; cursor: pointer; border: none; background: none; }

.admin-wrapper { display: flex; gap: 20px; align-items: flex-start; }
.admin-sidebar { width: 60px; flex-shrink: 0; background: #1B365D; border-radius: 8px; padding: 15px 10px; position: sticky; top: 20px; transition: width 0.3s ease, padding 0.3s ease, margin-right 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, backdrop-filter 0.3s ease; overflow: hidden; white-space: nowrap; z-index: 100; }
.admin-sidebar:hover { width: 220px; padding: 15px; margin-right: -160px; box-shadow: 4px 4px 15px rgba(0,0,0,0.2); background: rgba(27, 54, 93, 0.85); backdrop-filter: blur(5px); }
.admin-sidebar ul { list-style: none; padding: 0; margin: 0; }
.admin-sidebar li { margin-bottom: 8px; }
.admin-sidebar a { color: white; text-decoration: none; display: flex; align-items: center; padding: 10px; border-radius: 5px; transition: background 0.3s; font-size: 0.95rem; }
.admin-sidebar a:hover { background: #009879; }
.admin-sidebar i { margin-right: 15px; width: 20px; text-align: center; flex-shrink: 0; }
.admin-sidebar span { opacity: 0; visibility: hidden; transition: opacity 0.3s ease; white-space: nowrap; }
.admin-sidebar:hover span { opacity: 1; visibility: visible; }

.admin-main { flex-grow: 1; display: flex; flex-direction: column; gap: 30px; width: 100%; }
.admin-section { background: #fff; padding: 25px; border-radius: 8px; border: 1px solid #eee; scroll-margin-top: 20px; box-shadow: 0 2px 5px rgba(0,0,0,0.02); }
.admin-section h3 { margin-top: 0; border-bottom: 2px solid #f0f0f0; padding-bottom: 10px; margin-bottom: 20px; color: #1B365D; }

@media (max-width: 992px) {
    .admin-wrapper { flex-direction: column; }
    .admin-sidebar { width: 100%; position: static; box-sizing: border-box; padding: 15px; margin-right: 0; }
    .admin-sidebar:hover { width: 100%; margin-right: 0; box-shadow: none; }
    .admin-sidebar ul { display: flex; flex-wrap: wrap; gap: 10px; }
    .admin-sidebar li { margin-bottom: 0; flex: 1; min-width: 120px; text-align: center; }
    .admin-sidebar a { justify-content: center; }
    .admin-sidebar i { margin-right: 8px; }
    .admin-sidebar span { opacity: 1; visibility: visible; }
}

.admin-header-title { color: white; font-weight: bold; }
.admin-actions-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 15px; padding-top: 10px; }
.admin-actions-grid .card { width: 100%; padding: 15px 10px; box-sizing: border-box; }
.admin-actions-grid .card-icon { width: 45px; height: 45px; margin: 0 auto 10px auto; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px;}
.admin-actions-grid h3 { font-size: 0.95rem; margin-top: 0; }
.admin-section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.admin-refresh-container { display: flex; align-items: center; gap: 10px; }
.btn-admin-refresh { border: none; cursor: pointer; margin: 0; font-size: 0.9rem; background-color: #1B365D; padding: 8px 15px; color: white; border-radius: 5px; transition: background-color 0.3s;}
.btn-admin-refresh:hover { background-color: #009879; }
.admin-refresh-msg { display: none; color: #009879; font-weight: bold; }
.stat-date-label { font-size: 0.8rem; color: #555; margin-top: 5px; }
.chart-controls { display: flex; gap: 10px; }
.admin-table-scroll { max-height: 400px; overflow-y: auto; }
.sticky-thead { position: sticky; top: 0; z-index: 10; }
.dashboard-grid-2 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.chart-comparative-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.chart-comparative-card { background: #f9f9f9; padding: 15px; border-radius: 8px; }
.backup-container { display: flex; flex-direction: column; gap: 15px; align-items: flex-start; }
.backup-actions { display: flex; gap: 15px; flex-wrap: wrap; }
.btn-backup-db { background-color: #3498db; border: none; cursor: pointer; padding: 10px 20px; font-size: 1rem; margin: 0; color: white; border-radius: 5px; transition: opacity 0.3s;}
.btn-backup-db:hover { opacity: 0.8; }
.btn-backup-full { background-color: #2c3e50; border: none; cursor: pointer; padding: 10px 20px; font-size: 1rem; margin: 0; color: white; border-radius: 5px; transition: opacity 0.3s;}
.btn-backup-full:hover { opacity: 0.8; }
.backup-info-box { color: #555; font-size: 0.95rem; background: #f8f9fa; padding: 10px 15px; border-radius: 5px; border: 1px solid #e0e0e0; width: 100%; box-sizing: border-box; display: flex; flex-direction: column; gap: 8px; }
.backup-warning { color: #666; font-size: 0.9rem; margin-top: 15px; line-height: 1.5; }
.config-actions { text-align: right; margin-top: 10px; }
.msg-modal-content { max-width: 600px; padding: 30px; }
.msg-modal-title { color: #1B365D; margin-top: 0; font-size: 1.5rem; }
.msg-modal-meta { margin: 5px 0; color: #666; font-size: 0.9rem; }
.msg-modal-body { white-space: pre-wrap; color: #333; line-height: 1.6; font-size: 1.05rem; background: #f9fdfc; padding: 15px; border-radius: 8px; border-left: 4px solid #009879; }

/* --- Estilos extraídos do blog.html --- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 30px; margin-top: 20px; }
.blog-item { background: #fff; border: 1px solid #e0e0e0; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 6px rgba(0,0,0,0.05); transition: transform 0.3s, box-shadow 0.3s; cursor: pointer; display: flex; flex-direction: column; }
.blog-item:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.15); }
.blog-item img { width: 100%; height: 200px; object-fit: cover; }
.blog-content-card { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.blog-content-card h3 { text-align: left; font-size: 1.15rem; color: #1B365D; margin-top: 0; margin-bottom: 5px; }
.blog-meta { font-size: 0.8rem; color: #666; margin-bottom: 10px; line-height: 1.4; }
.blog-tags-inline { color: #009879; font-weight: bold; margin-top: 3px; }
.blog-likes-inline { margin-top: 8px; color: #e74c3c; font-weight: bold; }
.blog-resumo { font-size: 0.85rem; color: #555; line-height: 1.5; flex: 1; }
.btn-read-more { margin-top: 15px; color: #009879; font-weight: bold; text-decoration: none; display: inline-block; }
#article-view { display: none; background: #fff; padding: 40px; border-radius: 10px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); margin-top: 20px; }
.article-header { margin-bottom: 30px; border-bottom: 2px solid #f0f0f0; padding-bottom: 20px; }
.article-header h1 { text-align: left; font-size: 2rem; color: #1B365D; margin-bottom: 10px; }
.article-meta { font-size: 0.95rem; }
.article-tags { color: #009879; font-weight: bold; }
.article-cover { width: 100%; max-height: 450px; object-fit: cover; border-radius: 8px; margin-bottom: 30px; }
.article-sec-cover { margin: 30px 0 0 0; max-width: 50%; height: auto; border-radius: 8px; object-fit: contain; }
.article-body { font-size: 1.1rem; line-height: 1.8; color: #333; white-space: pre-wrap; text-align: justify; }
.article-divider { margin-top: 50px; border: 0; height: 1px; background: #eee; }
.article-footer-actions { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.btn-back-blog { background-color: #666; margin-bottom: 20px; font-size: 0.85rem; padding: 6px 12px; color: white; border-radius: 5px; text-decoration: none; display: inline-block; transition: background-color 0.3s;}
.btn-back-blog:hover { background-color: #555; }
.btn-like-article { background-color: #fff; color: #e74c3c; border: 2px solid #e74c3c; cursor: pointer; transition: all 0.3s; display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px 20px; border-radius: 5px; font-weight: bold; font-size: 1rem;}
.btn-like-article:hover { background-color: #e74c3c; color: white; }
@media (max-width: 768px) { #article-view { padding: 20px; } .article-header h1 { font-size: 1.5rem; } .article-sec-cover { max-width: 100%; } }

/* --- Estilos extraídos de Formulários Admin (Aulas, Materiais, etc) --- */
.grid-container { display: grid; grid-template-columns: 1fr 2fr; gap: 20px; align-items: start; }
.form-section { background: #f8f9fa; padding: 20px; border-radius: 8px; border: 1px solid #e0e0e0; position: sticky; top: 20px; }
.list-section { background: #fff; padding: 20px; border-radius: 8px; border: 1px solid #e0e0e0; }
.list-section h3, .form-section h3 { margin-top: 0; color: #1B365D; border-bottom: 2px solid #009879; padding-bottom: 10px; }

.list-item { display: flex; justify-content: space-between; align-items: center; padding: 10px; border-bottom: 1px solid #eee; cursor: pointer; transition: background-color 0.2s; }
.list-item:hover { background-color: #f0f0f0; }
.list-item.selected { background-color: #d4edda; font-weight: bold; }

.aula-item { border-left: 4px solid #3498db; }
.aula-item.feriado { border-left-color: #e67e22; background-color: #fff3cd; }
#aulas-list-container { max-height: 500px; overflow-y: auto; }

.form-row { display: flex; gap: 15px; margin-bottom: 15px; flex-wrap: wrap; width: 100%; }
.form-group { flex: 1; min-width: 200px; display: flex; flex-direction: column; gap: 5px;}
.form-group label { display: block; font-weight: bold; color: #1B365D; font-size: 0.9rem; margin-bottom: 0; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 5px; box-sizing: border-box; font-family: inherit; }
.form-group-inline { display: flex; gap: 10px; align-items: center; width: 100%; }
.checkbox-label { display: flex; align-items: center; gap: 10px; cursor: pointer; margin: 0; width: auto; font-weight: normal !important;}

.dias-semana-wrapper { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-around; background: #fff; padding: 10px; border-radius: 5px; border: 1px solid #ddd; }
.dia-semana-label { cursor:pointer; padding: 5px 8px; border-radius: 4px; transition: background 0.2s; display: inline-flex; align-items: center; gap: 5px; font-weight: normal !important; }

.admin-form-actions { display: flex; justify-content: flex-end; align-items: center; gap: 10px; margin-top: 15px; }

/* Botões Globais Admin */
.btn-save { background-color: #009879 !important; color: white !important; }
.btn-cancel { background-color: #6c757d !important; color: white !important; }
.btn-action { border: none; padding: 8px 12px; border-radius: 5px; cursor: pointer; margin-left: 5px; color: white; transition: 0.2s; display: inline-flex; align-items: center; justify-content: center; gap: 5px;}
.btn-edit { background-color: #3498db; color: white; border: none; padding: 8px 12px; border-radius: 4px; cursor: pointer; transition: 0.2s; display: inline-flex; align-items: center; justify-content: center;} 
.btn-edit:hover { background-color: #2980b9; }
.btn-delete { background-color: #e74c3c; color: white; border: none; padding: 8px 12px; border-radius: 4px; cursor: pointer; transition: 0.2s; display: inline-flex; align-items: center; justify-content: center;} 
.btn-delete:hover { background-color: #c0392b; }

.input-with-btn { display: flex; gap: 5px; }
.btn-add-mini { background-color: #1B365D; color: white; border: none; width: 40px; border-radius: 5px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: 0.2s; font-size: 1.2rem; flex-shrink: 0;}
.btn-add-mini:hover { background-color: #009879; }
.btn-rem-mini { background-color: #e74c3c; color: white; border: none; width: 40px; border-radius: 5px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: 0.2s; font-size: 1.2rem; flex-shrink: 0;}
.btn-rem-mini:hover { background-color: #c0392b; }

.preview-img { max-width: 150px; max-height: 200px; border-radius: 5px; object-fit: cover; border: 1px solid #ddd; margin-top: 10px; display: none; }

/* Cards Materiais */
.material-card { display: flex; gap: 20px; padding: 15px; border-bottom: 1px solid #eee; align-items: flex-start; }
.material-thumb { width: 100px; height: 140px; object-fit: cover; border-radius: 5px; background: #f0f0f0; flex-shrink: 0; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.material-info { flex: 1; }
.material-title { font-weight: bold; color: #1B365D; font-size: 1.2rem; margin-bottom: 8px; display: flex; align-items: center; gap: 10px;}
.material-meta { font-size: 0.9rem; color: #666; margin-bottom: 8px; display: flex; gap: 15px; flex-wrap: wrap; }
.badge-type { padding: 3px 8px; border-radius: 12px; font-size: 0.8rem; background-color: #009879; color: white; font-weight: bold; display: inline-block;}
.badge-pago { background-color: #f39c12; }

@media (max-width: 992px) { .grid-container { grid-template-columns: 1fr; } .form-section { position: static; } }

/* --- Estilos extraídos de Mídias, Blog, Indicações e Frases (Admin) --- */
.blog-card { display: flex; gap: 20px; padding: 15px; border-bottom: 1px solid #eee; align-items: flex-start; }
.blog-thumb { width: 120px; height: 120px; object-fit: cover; border-radius: 5px; background: #f0f0f0; flex-shrink: 0; }
.blog-info { flex: 1; }
.rich-editor { width: 100%; min-height: 250px; padding: 15px; border: 1px solid #ccc; border-radius: 5px; font-family: inherit; font-size: 1rem; line-height: 1.6; background: #fff; overflow-y: auto; box-sizing: border-box; }
.rich-editor:focus { outline: none; border-color: #009879; box-shadow: 0 0 5px rgba(0, 152, 121, 0.3); }
.rich-editor[placeholder]:empty:before { content: attr(placeholder); color: #999; }
.editor-toolbar-btn { height: 35px; min-width: 35px; padding: 0 10px; cursor: pointer; border: 1px solid #b2ebf2; border-radius: 4px; background: #e0f7fa; color: #007a61; font-weight: bold; font-size: 1.1rem; font-family: serif; display: inline-flex; align-items: center; justify-content: center; transition: 0.2s; }
.editor-toolbar-btn:hover { background: #b2ebf2; }

.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; margin-top: 20px; }
.media-card { background: #fff; border: 1px solid #e0e0e0; border-radius: 8px; padding: 10px; text-align: center; box-shadow: 0 2px 5px rgba(0,0,0,0.05); display: flex; flex-direction: column; justify-content: space-between; transition: transform 0.2s; }
.media-card:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.media-preview { width: 100%; height: 150px; object-fit: contain; border-radius: 5px; background: #f8f9fa; margin-bottom: 10px; cursor: pointer; border: 1px solid #eee; }
.media-icon { font-size: 4rem; color: #ccc; height: 150px; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.media-name { font-size: 0.85rem; word-break: break-all; color: #333; margin-bottom: 5px; font-weight: bold; }
.media-meta { font-size: 0.75rem; color: #777; margin-bottom: 10px; }
.media-actions { display: flex; gap: 5px; justify-content: center; }
.media-actions button { flex: 1; padding: 6px; font-size: 0.8rem; border: none; border-radius: 4px; cursor: pointer; color: white; transition: 0.2s; }
.btn-copy { background-color: #3498db; } .btn-copy:hover { background-color: #2980b9; }
.btn-del { background-color: #e74c3c; } .btn-del:hover { background-color: #c0392b; }

.item-card { display: flex; gap: 20px; padding: 15px; border-bottom: 1px solid #eee; align-items: flex-start; }
.item-thumb { width: 150px; object-fit: cover; border-radius: 5px; background: #f0f0f0; flex-shrink: 0; }
.item-info { flex: 1; }
.item-title { font-weight: bold; color: #1B365D; font-size: 1.3rem; text-align: left; margin-bottom: 10px; display: flex; align-items: flex-start; justify-content: flex-start; gap: 10px; }
.item-meta { font-size: 0.95rem; color: #666; margin: 10px 0; text-align: left; }
.item-desc { font-size: 0.95rem; color: #444; margin-top: 10px; white-space: pre-wrap; text-align: justify; }
.bg-livro { background-color: #009879; }
.bg-filme { background-color: #2980b9; }
.bg-video { background-color: #c0392b; }

.frase-card { display: flex; gap: 15px; padding: 15px; border-bottom: 1px solid #eee; align-items: flex-start; }
.frase-card:last-child { border-bottom: none; }
.frase-thumb { width: 250px; height: 250px; object-fit: cover; border-radius: 5px; background: #f0f0f0; flex-shrink: 0; }
.frase-info { flex: 1; }
.frase-text { font-style: italic; color: #333; margin-bottom: 5px; font-weight: 500; font-size: 1.05rem; }
.frase-autor { color: #009879; font-weight: bold; font-size: 0.9rem; }
.frase-tags { margin-top: 5px; display: flex; flex-wrap: wrap; gap: 5px; }
.tag-badge { background: #e0f7fa; color: #006064; padding: 3px 8px; border-radius: 10px; font-size: 0.75rem; display: inline-block; font-weight: 600; border: 1px solid #b2ebf2; }

/* --- Classes Utilitárias Compartilhadas (Filmes, Livros, Sobre) --- */
.admin-top-action { text-align: left; margin-bottom: 25px; }
.btn-add-item { background-color: #009879; border: none; margin: 0; cursor: pointer; font-size: 1.1rem; padding: 10px 25px; color: white; border-radius: 5px; transition: background-color 0.3s; display: inline-block; font-family: inherit; font-weight: bold; }
.btn-add-item:hover { background-color: #007f65; }

.mb-15 { margin-bottom: 15px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mb-50 { margin-bottom: 50px; }
.w-100 { width: 100%; }
.flex-3 { flex: 3; }
.flex-2 { flex: 2; }
.flex-1 { flex: 1; }
.flex-half { flex: 0.5; }
.text-muted-italic { font-size: 0.9rem; color: #666; font-style: italic; }

.form-section-title { margin-top: 0; text-align: center; color: #009879; border-bottom: 1px solid #ddd; padding-bottom: 10px; }
.search-bar-row { display: flex; align-items: center; gap: 10px; }
.search-input { flex: 1; padding: 10px; border: 1px solid #ccc; border-radius: 5px; font-family: inherit; font-size: 1rem; }

.btn-search-action { margin: 0; border: none; cursor: pointer; height: 40px; padding: 0 20px; color: white; border-radius: 5px; transition: 0.2s; font-family: inherit; font-weight: bold; }
.btn-clear-search { background-color: #95a5a6; padding: 0 15px; }
.btn-clear-search:hover { background-color: #7f8c8d; }
.btn-do-search { background-color: #1B365D; }
.btn-do-search:hover { background-color: #152b4a; }

.btn-form-save { margin: 0; border: none; cursor: pointer; height: 42px; padding: 0 40px; background-color: #009879; color: white; border-radius: 5px; transition: 0.2s; font-weight: bold; font-family: inherit; }
.btn-form-save:hover { background-color: #007f65; }
.btn-form-cancel { margin: 0; border: none; cursor: pointer; height: 42px; padding: 0 20px; background-color: #95a5a6; color: white; border-radius: 5px; transition: 0.2s; font-weight: bold; font-family: inherit; }
.btn-form-cancel:hover { background-color: #7f8c8d; }

.list-header-row { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #ddd; padding-bottom: 10px; margin-bottom: 10px; flex-wrap: wrap; gap: 10px; }
.list-header-title { margin: 0; color: #009879; }
.btn-small-action { margin: 0; padding: 5px 15px; font-size: 0.85rem; border: none; cursor: pointer; height: auto; border-radius: 5px; color: white; transition: 0.2s; font-weight: bold; font-family: inherit; }

.movie-summary-box { margin-top: 20px; padding: 15px; background: #fff; border-radius: 8px; box-shadow: 0 2px 5px rgba(0,0,0,0.05); display: flex; justify-content: space-around; font-weight: bold; color: #1B365D; flex-wrap: wrap; gap: 10px; }
.back-admin-container { margin-top: 30px; text-align: center; margin-bottom: 20px; }
.btn-back-admin { background-color: #666; }
.btn-back-admin:hover { background-color: #555; }

.empty-list-msg { text-align: center; padding: 20px; color: #666; background: #f8f9fa; border-radius: 5px; }
.error-list-msg { color: #c0392b; text-align: center; padding: 20px; background: #fdedec; border: 1px solid #ebccd1; border-radius: 5px; }
.error-link { color: #c0392b; text-decoration: underline; font-weight: bold; cursor: pointer; }

.movie-info-col { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; width: 100%; }
.item-index { margin-right: 10px; color: #1B365D; }
.item-icon { margin-right: 8px; color: #009879; }
.status-watched { color: #009879; font-weight: bold; }
.item-obs { width: 100%; font-size: 0.9rem; color: #555; font-style: italic; margin-top: 2px; }
.obs-icon { margin-right: 5px; color: #ccc; }

/* Específicos para Gerenciar Sobre */
.admin-header-actions { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; gap: 15px; }
.action-buttons-group { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-view-cv { padding: 10px 20px; font-size: 1rem; text-decoration: none; margin: 0; display: inline-flex; align-items: center; gap: 8px; }
.update-date-text { color: #666; font-size: 0.9rem; font-style: italic; }

.section-header-row { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #ddd; padding-bottom: 10px; margin-bottom: 15px; flex-wrap: wrap; gap: 10px; }
.section-header-title { margin: 0; color: #009879; font-size: 1.2rem; }
.section-header-title i { margin-right: 8px; }

.btn-toggle-data { background-color: #3498db; }
.btn-toggle-data:hover { background-color: #2980b9; }

.form-flex-column { display: flex; flex-direction: column; gap: 15px; }
.preview-foto-img { max-width: 150px; border-radius: 10px; margin-top: 10px; box-shadow: 0 2px 5px rgba(0,0,0,0.2); }
.btn-submit-margin { margin: 0 15px 0 0; }

.drag-handle-icon { cursor: grab; margin-right: 15px; color: #bbb; font-size: 1.5rem; }
.drag-handle-icon:active { cursor: grabbing; }
.title-block { font-size: 1.1rem; display: block; margin-bottom: 5px; }
.meta-small { font-size: 0.85rem; }

/* Utilitários Extras Adicionados */
.mb-40 { margin-bottom: 40px; }
.mb-10 { margin-bottom: 10px; }
.m-0 { margin: 0; }
.divider-40 { margin: 40px 0; border: none; border-top: 1px solid #ddd; }
.btn-add-material { background-color: #3498db; color: white; border: none; padding: 8px 12px; border-radius: 4px; cursor: pointer; font-size: 0.9rem; margin-top: 5px; transition: background-color 0.3s; }
.btn-add-material:hover { background-color: #2980b9; }
.text-primary { color: #009879; }
.turma-stats { font-size: 0.9rem; color: #555; margin-left: 10px; }
.badge-ativo { background-color: #009879; color: white; padding: 2px 6px; border-radius: 4px; font-size: 0.75rem; margin-left: 5px; }
.flex-fixed-150 { flex: 0 0 150px; }
.flex-fixed-120 { flex: 0 0 120px; }
.card-divider { border: none; border-top: 2px solid #009879; margin: 10px 0; }
.loading-msg { text-align: center; color: #666; padding: 20px; }

/* --- Estilos Adicionais para Livros e Leitura Atual --- */
.highlight-current-reading { border-left: 5px solid #009879; background-color: #f9fdfc; margin-bottom: 15px; }
.highlight-title { margin-top: 0; text-align: center; color: #009879; border-bottom: 1px solid #c2e0d8; padding-bottom: 10px; }
.highlight-content { display: flex; gap: 15px; align-items: center; flex-wrap: wrap; margin-top: 5px; }
.form-row-highlight { background-color: #e0f7fa; padding: 15px; border-radius: 8px; border: 1px solid #b2ebf2; margin-bottom: 15px; }
.flex-half-center { flex: 0.5; display: flex; justify-content: center; }
.checkbox-label-highlight { display: flex; align-items: center; gap: 10px; cursor: pointer; color: #007a61; font-size: 1rem; font-weight: bold; }
.checkbox-large { width: 20px; height: 20px; margin: 0; }
.text-teal { color: #007a61; }
.input-border-teal { border-color: #b2ebf2; }
.preview-cover-img { max-width: 150px; margin-top: 10px; border-radius: 5px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.flex-shrink-0 { flex-shrink: 0; }
.current-reading-img-small { width: 80px; height: 115px; object-fit: cover; border-radius: 5px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.current-reading-placeholder-small { width: 80px; height: 115px; background: #1B365D; display: flex; align-items: center; justify-content: center; border-radius: 5px; }
.text-white { color: white !important; }
.flex-1-min-250 { flex: 1; min-width: 250px; }
.book-highlight-title { margin: 0; color: #1B365D; font-size: 1.5rem; }
.book-highlight-subtitle { font-size: 1.3rem; color: #555; margin-bottom: 10px; margin-top: 5px; }
.book-highlight-meta { font-size: 1rem; color: #555; margin-bottom: 10px; display: flex; gap: 15px; flex-wrap: wrap; }
.book-highlight-comment { font-size: 0.95rem; color: #007a61; padding: 10px; background: #e0f7fa; border-radius: 5px; }
.flex-col-center { display: flex; flex-direction: column; gap: 10px; align-items: center; justify-content: center; }
.badge-current-reading { background-color: #009879; color: white; padding: 3px 8px; border-radius: 12px; font-size: 0.8rem; margin-bottom: 5px; display: inline-block; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.current-reading-info-box { width: 100%; font-size: 0.9rem; color: #007a61; margin-top: 8px; padding: 10px; background: #e0f7fa; border-radius: 5px; border-left: 3px solid #009879; }
.mt-5-inline { display: inline-block; margin-top: 5px; }
.book-info-row { display: flex; gap: 15px; flex: 1; align-items: flex-start; }
.book-list-img { width: 70px; height: 100px; object-fit: cover; border-radius: 5px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.book-list-placeholder { width: 70px; height: 100px; background: #f0f0f0; display: flex; align-items: center; justify-content: center; border-radius: 5px; }
.text-muted-light { color: #ccc !important; }
.movie-title-large { font-size: 1.5rem; font-weight: bold; color: #1B365D; display: inline-block; margin-right: 5px;}
.book-subtitle-list { width: 100%; font-size: 1.3rem; color: #555; margin-top: -3px; margin-bottom: 5px; }
.text-danger { color: #c0392b !important; }

/* --- Específicos Downloads e Materiais --- */
.materials-grid { display: grid; grid-template-columns: 1fr; gap: 30px; }
.materials-grid .book-item { text-align: left; align-items: flex-start; padding: 20px; gap: 20px; }
.materials-grid .book-item .book-meta { justify-content: flex-start; flex-wrap: wrap; }
@media (min-width: 769px) {
    .materials-grid .book-item, .materials-grid .book-item:nth-child(even) { flex-direction: row !important; }
}
.pt-0 { padding-top: 0; }
.section-header-centered { text-align: center; color: #1B365D; border-bottom: 2px solid #009879; padding-bottom: 10px; margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-5 { margin-bottom: 5px; }
.loading-msg-grid { grid-column: 1/-1; text-align: center; color: #666; }
.lead-form-container { max-width: 500px; margin: 20px auto 0 auto; background: rgba(255,255,255,0.1); padding: 20px; border-radius: 10px; }
.lead-form-title { color: white; margin-top: 0; margin-bottom: 15px; }
.btn-lead-submit { background-color: #009879; border: none; width: 100%; color: white; padding: 12px; border-radius: 5px; font-weight: bold; cursor: pointer; transition: 0.3s; font-family: inherit; font-size: 1rem; }
.btn-lead-submit:hover { background-color: #007f65; }
.btn-lead-access { background-color: #3498db; border: none; width: 100%; color: white; padding: 12px; border-radius: 5px; font-weight: bold; cursor: pointer; transition: 0.3s; font-family: inherit; font-size: 1rem; }
.btn-lead-access:hover { background-color: #2980b9; }
.lead-form-footer { text-align: center; margin-top: 15px; font-size: 0.95rem; }
.lead-form-link { color: #a8dadc; text-decoration: underline; }
.lead-form-link:hover { color: #fff; }
.badge-tag-pago { background-color: #f39c12; color: white; padding: 3px 8px; border-radius: 5px; font-size: 0.8rem; font-weight: bold; text-transform: uppercase; margin-left: 5px; display: inline-block; }
.badge-tag-gratis { background-color: #3498db; color: white; padding: 3px 8px; border-radius: 5px; font-size: 0.8rem; font-weight: bold; text-transform: uppercase; margin-left: 5px; display: inline-block; }
.badge-tag-tipo { background-color: #009879; color: white; padding: 3px 8px; border-radius: 5px; font-size: 0.8rem; font-weight: bold; text-transform: uppercase; display: inline-block; }
.book-cover-fixed-120 { flex-shrink: 0; width: 120px; }
.book-cover-img-shadow { width: 100%; height: auto; box-shadow: 0 4px 8px rgba(0,0,0,0.1); }
.book-item-title-small { font-size: 1.2rem; margin-top: 0; }
.book-genre-left { text-align: left; margin-bottom: 5px; }
.book-desc-text { font-size: 0.95rem; margin-top: 10px; line-height: 1.4; }
.btn-download-material { width: 100%; max-width: 250px; margin-top: 15px; }
.text-left { text-align: left; }
.justify-start { justify-content: flex-start; }

.flex-2-min-300 { flex: 2; min-width: 300px; }
.material-desc-text { font-size: 0.9rem; color: #444; margin-top: 5px; margin-bottom: 10px; }
.text-danger-custom { color: #e74c3c; }
.text-primary-blue { color: #3498db; }
.material-link-box { font-size: 0.9rem; margin-top: 5px; word-break: break-all; }
.action-buttons-column { display: flex; flex-direction: column; gap: 10px; }

/* --- Admin e Documentação Extras --- */
.card-icon-aulas { color: #3498db; background-color: rgba(52, 152, 219, 0.1); }
.card-icon-indicacoes { color: #8e44ad; background-color: rgba(142, 68, 173, 0.1); }
.card-icon-frases { color: #e67e22; background-color: rgba(230, 126, 34, 0.1); }
.card-icon-livros { color: #009879; background-color: rgba(0, 152, 121, 0.1); }
.card-icon-filmes { color: #1B365D; background-color: rgba(27, 54, 93, 0.1); }
.card-icon-sobre { color: #e74c3c; background-color: rgba(231, 76, 60, 0.1); }
.card-icon-blog { color: #2980b9; background-color: rgba(41, 128, 185, 0.1); }
.card-icon-materiais { color: #16a085; background-color: rgba(22, 160, 133, 0.1); }
.card-icon-docs { color: #7f8c8d; background-color: rgba(127, 140, 141, 0.1); }
.card-icon-midias { color: #9b59b6; background-color: rgba(155, 89, 182, 0.1); }

.select-admin-filter { padding: 5px 10px; border-radius: 5px; border: 1px solid #ccc; font-family: inherit; }
.max-h-400 { max-height: 400px; }
.w-150 { width: 150px; }
.w-130 { width: 130px; }
.w-120 { width: 120px; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.btn-logout-admin { background-color: #c0392b; color: white; border: none; cursor: pointer; padding: 10px 20px; border-radius: 5px; transition: 0.3s; font-family: inherit; font-weight: bold; }
.btn-logout-admin:hover { background-color: #a93226; }
.text-red-bold { color: #c0392b; font-weight: bold; }
.msg-modal-email-link { color: #009879; word-break: break-all; }
.divider-eee { margin: 20px 0; border: 0; height: 1px; background: #eee; }
.btn-reply-email { background-color: #1B365D; color: white; margin: 0; padding: 10px 20px; border-radius: 5px; text-decoration: none; display: inline-block; transition: 0.3s; font-weight: bold; }
.btn-reply-email:hover { background-color: #152b4a; }

.msg-name-list { font-size: 1.05rem; color: #1B365D; }
.msg-email-list { font-size: 0.85rem; color: #666; font-weight: normal; word-break: break-all; }
.badge-read { background: #e0e0e0; color: #666; padding: 5px 10px; border-radius: 15px; font-size: 0.8rem; font-weight: bold; text-transform: uppercase; }
.btn-action-read { background: #3498db; color: white; border: none; padding: 6px 10px; border-radius: 4px; cursor: pointer; transition: 0.2s; display: inline-flex; justify-content: center; align-items: center; }
.btn-action-read:hover { background: #2980b9; }
.btn-action-del { background: #c0392b; color: white; border: none; padding: 6px 10px; border-radius: 4px; cursor: pointer; transition: 0.2s; display: inline-flex; justify-content: center; align-items: center; }
.btn-action-del:hover { background: #a93226; }
.text-primary-center { text-align: center; color: #009879; }
.break-word { word-break: break-all; }
.count-page-view { text-align: center; font-weight: bold; color: #1B365D; }
.text-red-center { text-align: center; color: #c0392b; }

/* Sitemap - Documentação */
.sitemap-section { background: #fff; padding: 20px; border-radius: 8px; box-shadow: 0 2px 5px rgba(0,0,0,0.05); margin-bottom: 30px; border: 1px solid #eee; scroll-margin-top: 20px; }
.sitemap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.sitemap-category h3 { text-align: left; color: #1B365D; border-bottom: 2px solid #009879; padding-bottom: 8px; margin-bottom: 10px; font-size: 1.1rem; scroll-margin-top: 20px; }
.sitemap-list { list-style: none; padding: 0; margin: 0; }
.sitemap-list li { margin-bottom: 5px; }
.sitemap-list a, .sitemap-list span { text-decoration: none; color: #333; display: flex; align-items: center; gap: 8px; padding: 4px 8px; border-radius: 5px; font-size: 0.85rem; transition: background 0.2s; }
.sitemap-list a:hover { background: #f0f4f8; color: #009879; }
.sitemap-list i { color: #009879; width: 20px; text-align: center; }
.visual-sitemap { background: #fff; padding: 20px 10px; border-radius: 8px; box-shadow: 0 2px 5px rgba(0,0,0,0.05); margin-bottom: 30px; border: 1px solid #eee; overflow-x: auto; scroll-margin-top: 20px; }
.vs-root { display: flex; flex-direction: column; align-items: center; min-width: 850px; }
.vs-node { padding: 6px 12px; border-radius: 4px; font-weight: bold; text-align: center; position: relative; box-shadow: 0 2px 4px rgba(0,0,0,0.1); z-index: 2; }
.vs-root-node { background: #1B365D; color: white; font-size: 0.9rem; }
.vs-root-line { width: 2px; height: 20px; background: #ccc; }
.vs-children { display: flex; width: 100%; position: relative; }
.vs-children::before { content: ''; position: absolute; top: 0; left: calc(100% / 8); right: calc(100% / 8); height: 2px; background: #ccc; }
.vs-col { flex: 1; display: flex; flex-direction: column; align-items: center; position: relative; padding: 0 10px; }
.vs-col::before { content: ''; position: absolute; top: 0; left: 50%; width: 2px; height: 20px; background: #ccc; transform: translateX(-50%); }
.vs-category { background: #009879; color: white; margin-top: 15px; font-size: 0.8rem; width: 100%; box-sizing: border-box; }
.vs-leaf-container { display: flex; flex-direction: column; width: 100%; margin-top: 15px; position: relative; }
.vs-leaf-container::before { content: ''; position: absolute; top: -15px; bottom: 15px; left: 15px; width: 2px; background: #ccc; }
.vs-leaf { background: white; color: #333; border: 1px solid #ddd; padding: 3px 6px; margin-left: 30px; margin-bottom: 4px; text-align: left; position: relative; border-radius: 4px; font-size: 0.7rem; font-weight: normal; transition: all 0.2s; display: block; text-decoration: none; }
.vs-leaf::before { content: ''; position: absolute; top: 50%; left: -15px; width: 15px; height: 2px; background: #ccc; transform: translateY(-50%); }
.vs-leaf:hover { border-color: #009879; box-shadow: 0 2px 5px rgba(0,152,121,0.2); transform: translateX(3px); }
.vs-leaf i { color: #009879; margin-right: 5px; width: 15px; text-align: center; }

.flex-center-wrap-20 { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
.color-palette-card { width: 150px; text-align: center; box-shadow: 0 2px 5px rgba(0,0,0,0.1); border-radius: 8px; overflow: hidden; background: #fff; }
.color-box-primary { height: 80px; background-color: #1B365D; }
.color-box-success { height: 80px; background-color: #009879; }
.color-box-footer { height: 80px; background-color: #162e4d; }
.color-box-bg { height: 80px; background-color: #f4f4f9; border-bottom: 1px solid #eee; }
.color-box-danger { height: 80px; background-color: #c0392b; }
.p-10 { padding: 10px; }
.color-name { font-size: 0.9rem; color: #333; font-weight: bold; }
.color-hex { font-size: 0.8rem; color: #666; margin-top: 5px; }

.typo-title-main { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; font-size: 2.5rem; color: #1B365D; margin-bottom: 10px; }
.typo-desc { color: #666; font-size: 0.9rem; }
.typo-container { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; width: 100%; max-width: 800px; }
.typo-box { flex: 1; min-width: 250px; background: #f9f9f9; padding: 20px; border-radius: 8px; border: 1px solid #eee; }
.typo-h1 { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; margin: 0 0 10px 0; font-size: 1.8rem; color: #1B365D; text-align: left; }
.typo-h2 { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; margin: 0 0 10px 0; font-size: 1.5rem; color: #009879; text-align: left; }
.typo-h3 { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; margin: 0 0 10px 0; font-size: 1.2rem; color: #333; text-align: left; }
.typo-p { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; margin: 0 0 10px 0; color: #555; font-size: 1rem; line-height: 1.6; }
.typo-p-small { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; margin: 0; color: #555; font-size: 0.9rem; line-height: 1.6; }
.cursor-default { cursor: default; }

/* --- Refatoração Frases e Blog --- */
@media (min-width: 992px) {
    .gallery-grid { grid-template-columns: repeat(3, 1fr) !important; }
}
.frases-summary-box { text-align: center; margin-bottom: 20px; font-weight: bold; color: #666; font-size: 0.95rem; }
.text-primary-dark { color: #1B365D !important; }
.admin-summary-box { margin-top: 20px; padding: 15px; background: #f8f9fa; border-radius: 8px; text-align: center; font-weight: bold; color: #1B365D; border: 1px solid #eee; font-size: 1.1rem; }
.tag-badge.azul { background: #e8eff5; color: #1B365D; border: 1px solid rgba(27, 54, 93, 0.15); }
.tag-badge.verde { background: rgba(0, 152, 121, 0.1); color: #007a61; border: 1px solid rgba(0, 152, 121, 0.2); }
.d-flex { display: flex; }
.like-icon-large { font-size: 1.2rem; }
.empty-list-msg-grid { text-align: center; grid-column: 1/-1; padding: 20px; color: #666; background: #f8f9fa; border-radius: 5px; }
.grid-col-full { grid-column: 1/-1; }
.label-flex-between { display: flex; justify-content: space-between; align-items: flex-end; }
.char-counter { color: #666; font-weight: normal; }
.char-counter.limit-reached { color: #c0392b; font-weight: bold; }
.text-muted-normal { font-weight: normal; color: #666; }
.btn-italic { font-style: italic; }
.btn-underline { text-decoration: underline; }
.btn-title-format { font-size: 1.2rem; }
.btn-subtitle-format { font-size: 1rem; }
.mt-10 { margin-top: 10px; }
.btn-remove-img { margin-top: 5px; font-size: 0.8rem; padding: 5px 10px; }
.blog-title-list { text-align: left; color: #1B365D; margin-top: 0; margin-bottom: 5px; }
.blog-date-list { font-size: 0.85rem; color: #666; margin-bottom: 5px; margin-top: 0; }
.blog-summary-list { font-size: 0.9rem; margin-bottom: 10px; margin-top: 0;}

.mt-40 { margin-top: 40px; }
.mb-8 { margin-bottom: 8px; }
.update-data-info { text-align: center; margin-bottom: 20px; color: #666; font-size: 0.9rem; font-style: italic; }
.icon-title-large { font-size: 1.4rem; color: #1B365D; }
.tfoot-dark { background-color: #1B365D; color: #ffffff; font-weight: bold; }

/* --- Complementos Finais Extraídos das Telas de Leads, Login e Erros --- */
@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
    100% { transform: translateX(0); }
}
.shake-anim { animation: shake 0.5s; }

.max-w-500-mx-auto { max-width: 500px; margin: 20px auto 0 auto; }
.max-w-600-mx-auto { max-width: 600px; margin: 0 auto; }
.msg-box-light { background-color: #f8f9fa; padding: 30px; border-radius: 10px; border: 1px solid #e0e0e0; }
.msg-box-error { background-color: #f8d7da; color: #721c24; padding: 15px; border-radius: 5px; margin-bottom: 20px; }
.icon-success { color: #009879; }
.icon-primary { color: #1B365D; }
.text-gray-highlight { color: #333; font-size: 1.2rem; }
.mb-20 { margin-bottom: 20px; }
.mt-50 { margin-top: 50px; }
.section-no-bg { text-align: center; padding: 40px 20px; background: none; box-shadow: none; display: block; }
.text-warning-bold { color: #c0392b; font-weight: bold; margin-top: 15px; display: none; }
.logo-login { max-width: 150px; margin-bottom: 20px; }
.text-gray-subtitle { margin-bottom: 20px; color: #666; }
.login-back-link { margin-top: 25px; border-top: 1px solid #eee; padding-top: 15px; }
.login-back-link a { color: #666; text-decoration: none; font-size: 0.9rem; }
.header-box-success { background-color: #f5f5f5; padding: 20px 30px; border-radius: 8px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; border: 1px solid #ddd; flex-wrap: wrap; gap: 20px; }
.welcome-user-text { color: #333; font-size: 1.2rem; margin: 0; text-align: left; }
.btn-red { background-color: #c0392b; margin: 0; }
.btn-gray { background-color: #666; margin: 0; }
.action-group-right { flex-shrink: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.img-fluid { max-width: 100%; height: auto; }

/* --- Classes Finais de Limpeza --- */
.admin-back-link { color: white; text-decoration: none; margin-right: 15px; transition: opacity 0.3s; }
.admin-back-link:hover { opacity: 0.8; }
.star-filled { color: #f1c40f; }
.star-empty { color: #ccc; }

@media (max-width: 576px) {
    .form-row.center { flex-direction: column; gap: 10px; }
    .btn-submit-margin { margin: 0; width: 100%; }
    .btn-form-cancel { width: 100%; }
    
    .chart-header, .list-header-row, .section-header-row, .admin-section-header { flex-direction: column; text-align: center; justify-content: center; gap: 15px; }
    
    .movie-item, .material-card, .item-card, .frase-card, .blog-card { flex-direction: column; align-items: center; text-align: center; }
    .movie-info, .movie-info-col { width: 100%; align-items: center; text-align: center; justify-content: center; }
    .material-info, .item-info, .frase-info, .blog-info { width: 100%; }
    .material-thumb, .item-thumb, .frase-thumb, .blog-thumb { width: 100%; height: auto; max-height: 250px; }
    .material-title, .item-title, .blog-title-list { justify-content: center; text-align: center; }
    .material-meta, .item-meta, .frase-tags, .blog-meta { justify-content: center; text-align: center; }
    
    .action-buttons-column { flex-direction: row; width: 100%; justify-content: center; margin-top: 10px; }
    .movie-actions { width: 100%; justify-content: center; margin-top: 10px; }
}

/* --- Árvore de Ramificações (CSS Tree) --- */
.css-tree-container {
    padding: 20px;
    background: #fdfdfd;
    border-radius: 8px;
    overflow-x: auto;
}
.css-tree {
    padding-left: 0;
    margin: 0;
}
.css-tree ul {
    list-style-type: none;
    padding-left: 40px;
    position: relative;
    margin: 0;
}
.css-tree > li {
    padding-left: 0;
    padding-top: 0;
}
.css-tree > li::before, .css-tree > li::after {
    display: none;
}
.css-tree li {
    margin: 0;
    padding: 15px 0 0 40px;
    position: relative;
    list-style: none;
}
.css-tree li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    border-left: 2px solid #009879;
    width: 2px;
    height: 100%;
}
.css-tree li:last-child::before {
    height: 36px;
}
.css-tree li::after {
    content: '';
    position: absolute;
    top: 34px;
    left: 0;
    width: 40px;
    border-top: 2px solid #009879;
}
.css-tree-node {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    padding: 10px 15px;
    border-radius: 6px;
    border: 1px solid #ddd;
    color: #1B365D;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
    white-space: nowrap;
}
.css-tree-node:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,152,121,0.2);
    border-color: #009879;
}
.css-tree-node i {
    color: #009879;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}
.css-tree-node .node-desc {
    color: #666;
    font-weight: normal;
    font-size: 0.85rem;
    margin-left: 5px;
}

/* --- Documentação Detalhada (Cards de Dicionário) --- */
.doc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    padding: 10px;
}
.doc-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-left: 4px solid #1B365D; /* Cor padrão Azul */
    border-radius: 8px;
    padding: 15px 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}
.doc-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.doc-title {
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.05rem;
    color: #1B365D;
    font-weight: bold;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    word-break: break-all;
}
.doc-title i { color: #009879; font-size: 1rem; }
.doc-desc {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
    margin: 0;
}
.doc-card.doc-green { border-left-color: #009879; }
.doc-card.doc-red { border-left-color: #c0392b; }
.doc-card.doc-purple { border-left-color: #8e44ad; }
.doc-card.doc-orange { border-left-color: #f39c12; }