/*
Theme Name:  AdminLTE WP
Theme URI:   https://github.com/seu-usuario/adminlte-wp
Description: Tema WordPress com visual de sistema/painel baseado no AdminLTE 3. Sidebar escura, topbar, cards e layout de aplicação web na área pública.
Author:      Seu Nome
Author URI:  https://seusite.com
Version:     1.0.0
License:     GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: adminlte-wp
Tags:        dashboard, admin-panel, left-sidebar, dark-sidebar, bootstrap

AdminLTE WP is based on AdminLTE (https://adminlte.io) by Abdullah Almsaeed,
licensed under MIT (https://opensource.org/licenses/MIT).
*/

/* ============================================================
   AJUSTES GLOBAIS DO TEMA (complementa o AdminLTE)
   ============================================================ */

/* Remove margin padrão do body que o WordPress às vezes injeta */
body.adminlte-wp {
    margin: 0;
    padding: 0;
    font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont,
                 "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Garante que o wrapper ocupe 100% da altura */
.wrapper {
    min-height: 100vh;
}

/* ── Sidebar ────────────────────────────────────────────────── */
.main-sidebar {
    z-index: 1050;
}

/* Logo/brand na sidebar */
.brand-link .brand-image {
    max-height: 33px;
    width: auto;
}

/* Ícone de menu ativo */
.nav-sidebar .nav-link.active {
    font-weight: 600;
}

/* ── Topbar ─────────────────────────────────────────────────── */
.main-header.navbar {
    border-bottom: 1px solid rgba(0,0,0,.1);
}

/* ── Área de conteúdo ───────────────────────────────────────── */
.content-wrapper {
    background-color: #f4f6f9;
    min-height: calc(100vh - 57px - 57px); /* desconta header + footer */
}

.content-header h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #343a40;
}

.content-header .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    font-size: .875rem;
}

/* ── Cards / Widgets ────────────────────────────────────────── */
.card {
    box-shadow: 0 0 1px rgba(0,0,0,.125), 0 1px 3px rgba(0,0,0,.2);
    margin-bottom: 1rem;
}

.card-title {
    font-size: 1rem;
    font-weight: 600;
}

/* Info-boxes (small-box) */
.small-box > .inner {
    padding: 10px;
}

/* ── Footer ─────────────────────────────────────────────────── */
.main-footer {
    border-top: 1px solid #dee2e6;
    padding: .75rem 1rem;
    font-size: .85rem;
    color: #6c757d;
}

/* ── Posts / Páginas ────────────────────────────────────────── */
.entry-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: .5rem;
}

.entry-meta {
    font-size: .8rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

.entry-content p {
    line-height: 1.7;
}

/* ── Formulários WordPress (comentários, busca) ─────────────── */
.comment-form input,
.comment-form textarea {
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    margin-bottom: .75rem;
}

/* ── Paginação ──────────────────────────────────────────────── */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

/* ── Responsividade extra ───────────────────────────────────── */
@media (max-width: 767.98px) {
    .content-header h1 {
        font-size: 1.2rem;
    }
}
