/* ================================================== */
/* CSS PARA OJS - FUENTE ARIAL EN TODA LA PÁGINA */
/* MENÚ PRINCIPAL: 14px (reduzido de 15px) */
/* MENÚ USUARIO: 10px (mantido) */
/* ================================================== */

/* Aplica Arial en todo el sitio OJS */
body,
.pkp_structure_page,
.pkp_structure_content,
.pkp_structure_main,
.pkp_structure_sidebar,
.pkp_structure_head,
.pkp_structure_footer,
.pkp_page_index,
.pk_page_issue,
.pkp_page_article,
.pkp_page_about,
.pkp_page_login,
.pkp_page_user,
.obj_article_details,
.obj_issue_details,
.page,
.title,
.subtitle,
.content,
p,
div,
span,
li,
td,
th,
a,
input,
textarea,
button,
select,
label,
.pkp_block,
.pkp_helpers_clear,
.pkp_helpers_dotted,
.pkp_helpers_text_center,
.pkp_helpers_text_left,
.pkp_helpers_text_right,
.pkp_helpers_upper {
    font-family: 'Arial', 'Helvetica', sans-serif !important;
}

/* Títulos com Arial */
h1, h2, h3, h4, h5, h6,
.pkp_site_name,
.pkp_page_title,
.article-details .title,
.issue-details .title,
.section .title {
    font-family: 'Arial', 'Helvetica', sans-serif !important;
    font-weight: bold;
}

/* ================================== */
/* MENÚ PRINCIPAL - ARIAL 14px (REDUZIDO DE 15px) */
/* ================================== */

.pkp_navigation_primary,
.pkp_navigation_primary ul,
.pkp_navigation_primary li,
.pkp_navigation_primary a {
    font-family: 'Arial', 'Helvetica', sans-serif !important;
    font-size: 14px !important; /* Reduzido de 15px para 14px */
    font-weight: normal !important;
    text-transform: none !important;
    color: #000000 !important;
}

/* Menú del sitio (si existe) */
.pkp_site_nav_menu,
.pkp_site_nav_menu ul,
.pkp_site_nav_menu li,
.pkp_site_nav_menu a {
    font-family: 'Arial', 'Helvetica', sans-serif !important;
    font-size: 14px !important; /* Reduzido de 15px para 14px */
    font-weight: normal !important;
    text-transform: none !important;
    color: #000000 !important;
}

/* ================================== */
/* MENÚ USUARIO - ARIAL 10px (MANTIDO) */
/* ================================== */

.pkp_navigation_user,
.pkp_navigation_user ul,
.pkp_navigation_user li,
.pkp_navigation_user a,
.pkp_navigation_user span {
    font-family: 'Arial', 'Helvetica', sans-serif !important;
    font-size: 10px !important; /* Mantido em 10px */
    font-weight: normal !important;
    text-transform: none !important;
}

/* Elementos específicos del menú usuario */
.pkp_navigation_user li a,
.pkp_navigation_user li span,
.pkp_navigation_user li form {
    font-size: 10px !important; /* Mantido em 10px */
}

/* ================================== */
/* CORREÇÃO DO CAMPO BUSCAR - COM ÍCONE */
/* ================================== */

/* Campo de busca principal */
.pkp_search,
.pkp_search input,
.pkp_search button,
.pkp_search .search_controls,
.pkp_search .search_query {
    font-family: 'Arial', 'Helvetica', sans-serif !important;
    font-size: 14px !important;
}

/* Input do campo de busca */
.pkp_search input[type="text"],
.pkp_search input[type="search"],
.pkp_search .search_query {
    font-size: 14px !important;
    height: auto !important;
    padding: 4px 8px !important;
    line-height: normal !important;
}

/* Botão de busca - GARANTIR QUE O ÍCONE APAREÇA */
.pkp_search button,
.pkp_search input[type="submit"],
.pkp_search .search_controls button {
    font-size: 14px !important;
    padding: 4px 8px !important;
    line-height: normal !important;
    background-image: none !important; /* Remove interferências */
}

/* ÍCONE DA LUPA - CORREÇÃO ESPECÍFICA */
.pkp_search button:before,
.pkp_search .search_controls button:before,
.pkp_search input[type="submit"]:before {
    content: "🔍" !important; /* Fallback com emoji */
    display: inline-block !important;
    margin-right: 4px !important;
}

/* Para ícones Font Awesome */
.pkp_search .fa-search,
.pkp_search .icon-search,
.pkp_search [class*="icon-"] {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-family: 'Font Awesome 5 Free', 'FontAwesome', Arial, sans-serif !important;
    font-weight: 900 !important;
}

/* Formulário de busca completo */
.pkp_form .search_query {
    font-family: 'Arial', 'Helvetica', sans-serif !important;
    font-size: 14px !important;
}

/* Garantir que containers de busca mantenham o ícone visível */
.pkp_navigation_user .pkp_search,
.pkp_navigation_user .search_controls {
    font-size: 10px !important; /* Mantém o tamanho do menu usuário */
}

.pkp_navigation_user .pkp_search button,
.pkp_navigation_user .pkp_search input[type="submit"] {
    font-size: 10px !important;
}

/* =============================== */
/* CONTENIDO DE ARTÍCULOS Y PÁGINAS */
/* =============================== */

/* Contenido principal de artículos */
.article-details .content,
.galleys_links,
.article_details {
    font-family: 'Arial', sans-serif !important;
    line-height: 1.6;
    font-size: 14px;
}

/* Resúmenes y abstracts */
.abstract,
.summary {
    font-family: 'Arial', sans-serif !important;
    font-size: 14px;
    line-height: 1.5;
}

/* Metadatos de artículos */
.metadata,
.authors,
.doi,
.citation,
.pub_id {
    font-family: 'Arial', sans-serif !important;
    font-size: 13px;
}

/* =================== */
/* FORMULARIOS E INPUTS */
/* =================== */

/* Campos de formulario */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
textarea,
select,
.form-control {
    font-family: 'Arial', sans-serif !important;
    font-size: 14px;
}

/* Botones */
button,
.btn,
.ui-button,
input[type="submit"],
input[type="button"] {
    font-family: 'Arial', sans-serif !important;
    font-size: 14px;
}

/* =============== */
/* TABLAS Y LISTAS */
/* =============== */

/* Tablas */
table,
.table,
.pkpTable {
    font-family: 'Arial', sans-serif !important;
    font-size: 14px;
}

/* Listas */
ul,
ol,
li,
.pkp_list,
.pkp_list_item {
    font-family: 'Arial', sans-serif !important;
}

/* ============= */
/* PIE DE PÁGINA */
/* ============= */

/* Pie de página */
.pkp_structure_footer,
.pkp_footer_content {
    font-family: 'Arial', sans-serif !important;
    font-size: 13px;
}

/* Información del sistema */
.copyright,
.license {
    font-family: 'Arial', sans-serif !important;
    font-size: 12px;
}

/* =================== */
/* ELEMENTOS ESPECÍFICOS OJS */
/* =================== */

/* Bloques laterales */
.pkp_block,
.pkp_block .content {
    font-family: 'Arial', sans-serif !important;
    font-size: 14px;
}

/* Migas de pan (breadcrumb) */
.breadcrumb,
.pkp_breadcrumb {
    font-family: 'Arial', sans-serif !important;
    font-size: 13px;
}

/* Alertas y mensajes */
.alert,
.notice,
.message {
    font-family: 'Arial', sans-serif !important;
    font-size: 14px;
}

/* ================================== */
/* BOTÕES DE DOWNLOAD - ESTILO VISUAL */
/* ================================== */

/* Estilo do botão de download de galé (composições) */
.galley-link a.btn,
.galley-link a.galbtn {
    background-color: #49717F !important;
    border-color: #49717F !important;
    color: #fff !important;
    border-radius: 4px !important;
    padding: 6px 12px !important;
    font-family: 'Arial', sans-serif !important;
    font-size: 14px !important; 
    box-shadow: none !important;
    text-shadow: none !important;
    text-transform: uppercase !important;
}

/* Efeito ao passar o mouse (Hover) */
.galley-link a.btn:hover,
.galley-link a.galbtn:hover {
    background-color: #3f606b !important;
    border-color: #3f606b !important;
    color: #fff !important;
}

/* Garante que o ícone interno do PDF (se for um Font Awesome) tenha o estilo correto */
.galley-link a.btn .fa,
.galley-link a.btn .icon {
    margin-right: 5px !important;
}