/*
	Theme Name: Hello Elementor
	Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
	Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
	Author: Elementor Team
	Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
	Version: 3.4.7
	Stable tag: 3.4.7
	Requires at least: 6.0
	Tested up to: 6.8
	Requires PHP: 7.4
	License: GNU General Public License v3 or later.
	License URI: https://www.gnu.org/licenses/gpl-3.0.html
	Text Domain: hello-elementor
	Tags: accessibility-ready, flexible-header, custom-colors, custom-menu, custom-logo, featured-images, rtl-language-support, threaded-comments, translation-ready,
*/

/* =========================== REMOÇÃO DE HEADER =========================== */
.page-id-3895 header,
.page-id-3831 header,
.page-id-3830 header,
.page-id-3829 header,
.page-id-3827 header,
.page-id-3826 header,
.page-id-3825 header {
  display: none;
}

/* =========================== FORMULÁRIO DE "CADASTRO" =========================== */
body .acf-field {
    margin-bottom: 18px !important;
}

.frontend-form .acf-label label {
    font-weight: 600;
    font-size: 14px;
    color: #2B2A29;
    margin-bottom: 8px;
}

.frontend-form .acf-field p.description {
    margin-top: 6px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #6b6b6b;
}

.acf-required {
    color: #F1502F;
    font-weight: 700;
}

.frontend-form input[type="text"],
.frontend-form select,
.frontend-form textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid #dcdcdc;
    font-size: 15px;
    transition: all 0.2s ease;
    background-color: #ffffff;
}

.frontend-form input:focus,
.frontend-form select:focus,
.frontend-form textarea:focus {
    border-color: #F1502F;
    box-shadow: 0 0 0 3px rgba(241,80,47,0.15);
    outline: none;
}

.frontend-form .acf-image-uploader {
    border: 2px dashed #e0e0e0;
    border-radius: 10px;
    padding: 12px;
    background: #fafafa;
    transition: all 0.2s ease;
}

.frontend-form .acf-image-uploader:hover {
    border-color: #F1502F;
    background: #fff7f4;
}

.frontend-form .acf-button {
    background-color: #2B2A29;
    color: #fff !important;
    border-radius: 6px;
    padding: 6px 18px;
    border: none;
}

.frontend-form .acf-button:hover {
    background-color: #c93f24;
}

.frontend-form .acf-image-uploader .hide-if-value p {
    display: flex;
    align-items: center;
		gap: 18px;
}

.frontend-form .acf-image-uploader .hide-if-value .acf-button {
    margin-left: auto;
}

.fea-submit-button {
    background-color: #F1502F !important;
    width: 100%;
    border: none !important;
    color: #ffffff !important;
    margin-top: 6px;
    font-size: 18px !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    transition: all 0.3s ease;
    box-shadow: 0 6px 18px rgba(241,80,47,0.25);
    cursor: pointer;
}

.fea-submit-button:hover {
    background-color: #c93f24 !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(241,80,47,0.35);
}

.fea-submit-button:active {
    transform: translateY(0);
}


/* =========================== LISTA *PRIVADA* DE EQUIPAMENTOS CADASTRADOS =========================== */
.mgps-lista-privada-equipamentos {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mgps-lista-privada-item {
    margin-bottom: 15px;
}

.mgps-lista-privada-details {
    padding: 12px;
    border-radius: 8px;
    background: #fafafa;
	border: 1px solid #ddd;
	transition: all .25s ease;
}

.mgps-lista-privada-details:hover{
    border-color: #F1502F;
}

.mgps-lista-privada-details:hover .mgps-lista-privada-titulo{
    color: #F1502F;
}

.mgps-lista-privada-summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.mgps-lista-privada-titulo {
    display: inline-block;
}

.mgps-lista-privada-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #fff;
}

.mgps-badge-aprovado {
    background: #166534;
}

.mgps-badge-recusado {
    background: #B02A2A;
}

.mgps-badge-pendente {
    background: #6b7280;
}

.mgps-lista-privada-conteudo {
    margin-top: 12px;
}

.mgps-lista-privada-observacoes {
    white-space: pre-wrap;
    word-break: break-word;
}

.equipamento-acoes {
    margin-top: 14px;
}

.mgps-motivo-recusa{
    margin-top:12px;
    padding:10px 12px;
    border-radius:8px;
    background:#fff3f3;
    border:1px solid #f1bcbc;
    font-size:13px;
    color:#7a1d1d;
}

.equipamento-excluir {
    display: inline-block;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    color: #fff;
    background: #2B2A29;
    transition: all 0.2s ease;
}

.equipamento-excluir:hover {
	color: #fff;
    background: #F1502F;
}

.equipamento-excluir:active {
    transform: scale(0.96);
}

/* =========================== CARD PÚBLICO DE EQUIPAMENTO FURTADO =========================== */
.equipamentos-empty {
    text-align: center;
    font-size: 18px;
    color: #777;
}

.equipamentos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.equipamento-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 18px 24px 18px 24px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
	 	border-top: 4px solid transparent;
		display: flex;
    flex-direction: column;
}

.equipamento-card:hover {
		border-top: 4px solid #F1502F;
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.card-header {
    margin-bottom: 12px;
}

.card-header h3 {
    font-size: 20px;
    margin: 0;
}

.card-body p {
    margin: 6px 0;
    font-size: 14px;
    color: #555;
}

.card-footer {
    margin-top: auto;
		padding-top: 18px;
}

.equipamento-encontrado {
	display: inline-block;
    text-align: center;
    text-decoration: none;
    width: 100%;
    padding: 8px;
    border-radius: 8px;
    border: none;
    background: #F1502F;
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s ease;
}

.equipamento-encontrado:hover {
    background: #2B2A29;
		color: #ffffff;
}

.status-badge {
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
		align-self: flex-end;
		width: fit-content;
		margin-top: -8px;
		margin-right: -8px;
		margin-bottom: 6px;
}

.status-furtado {
    background-color: #B02A2A;
    color: #ffffff;
}

.status-recuperado {
    background-color: #166534;
    color: #ffffff;
}

.observacoes {
    margin-top: 12px;
    font-size: 14px;
    color: #666;
}

.observacoes p {
    margin: 0;
    overflow-wrap: break-word;
    word-break: break-word;
}

/* =========================== PÁGINA APÓS LOGIN =========================== */
.um-misc-ul {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
    text-align: center;
}

.um-misc-ul li {
    margin-bottom: 18px;
}

.um-misc-ul li a {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.2s ease;
}

.um-misc-ul li:first-child a {
		color:#fff;
    background: #495057;
}

.um-misc-ul li:first-child a:hover {
    color: #fff;
    background:#2B2A29;
    /*border: 3px solid #2B2A29;*/
}

.um-misc-ul li:last-child a {
    background: #F1502F;
    color: #ffffff;
}

.um-misc-ul li:last-child a:hover {
    background: #c93f24;
}

/*.um-misc-ul {
    display: flex;
    justify-content: center;
    gap: 16px;
}*/

/* =========================== RESULTADOS DE PESQUISA =========================== */

/* ===== Header ===== */
.page-header {
    text-align: center;
    padding: 12px 24px 12px 24px;
    background: #f2f2f2;
    margin-bottom: 20px;
}

.page-header .entry-title {
    font-size: 32px;
    font-weight: 600;
    color: #2B2A29;
    margin: 0;
}

.page-header .entry-title span {
    display: inline-block;
    margin-top: 10px;
    padding: 6px 14px;
    font-size: 18px;
    font-weight: 600;
    color: #F1502F;
    background: rgba(241, 80, 47, 0.08);
    border-radius: 6px;
}

/* ===== Conteúdo ===== */
.page-content {
    max-width:800px;
    margin: 0 auto;
}

.page-content .post {
    border: 2px solid #e5e5e5;
    padding: 0px 24px 0px 24px;
    margin-bottom: 20px;
    border-radius: 10px;
    transition: all 0.2s ease;
    background: #ffffff;
}

.page-content .post:hover {
    border-color: #F1502F;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    transform: translateY(-2px);
}

.page-content .entry-title a {
    text-decoration: none;
    color: #2B2A29;
    font-size: 18px;
    font-weight: 600;
}

.page-content .entry-title a:hover {
    color: #F1502F;
}

/* =========================== PÁGINA ANTES DO LOGIN =========================== */

/* ===== CAMPOS INPUT ===== */
.um-form .um-form-field {
    border: 1px solid #ddd;
    border-radius: 6px !important;
    transition: all 0.2s ease;
}

.um-form .um-form-field:focus {
    border-color: #F1502F;
    box-shadow: 0 0 0 2px rgba(241, 80, 47, 0.15);
}

/* ===== BOTÃO PRINCIPAL ===== */
.um-form .um-button {
    background-color: #F1502F !important;
    border-radius: 6px !important;
    border: none;
    transition: all 0.2s ease;
}

.um-form .um-button:hover {
    background-color: #d84326 !important;
}

/* ===== BOTÃO SECUNDÁRIO ===== */
.um-form .um-button.um-alt {
    background-color: #f1f1f1 !important;
    border: 1px solid #2B2A29;
    color: #2B2A29 !important;
    border-radius: 6px !important;
}

.um-form .um-button.um-alt:hover {
    background-color: #2B2A29 !important;
    color: #fff !important;
}

/* ===== CHECKBOX ===== */
.um-form .um-field-checkbox-state {
    border-radius: 4px;
}

.um-form input[type="checkbox"]:checked + .um-field-checkbox-state {
    border-color: #F1502F !important;
}

/* ===== LINK ESQUECEU SENHA ===== */
.um-form .um-link-alt {
    color: #2B2A29;
    transition: color 0.2s ease;
}

.um-form .um-link-alt:hover {
    color: #F1502F !important;
}

/* ===== GDPR Toggle ===== */
.um-form .um-toggle-gdpr {
    display: inline-block;
    color: #2B2A29;
    border: 1px solid #2B2A29;
    border-radius: 6px;
    padding: 6px 14px;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s ease;
}

.um-form .um-toggle-gdpr:hover {
    background-color: #2B2A29;
    color: #ffffff;
}

/* =========================== VALIDAÇÃO DE POSTS =========================== */

.mgps-validacao-wrapper {
    margin-bottom: 2vw;
}

.mgps-card-queue .card-body p {
  margin: 6px 0;
}

/* ===== Badge de validação (pendente/aprovado/recusado) ===== */
.mgps-vbadge {
  font-size: 10px;
}

/* ===== Classes de estado (mantém pegada do seu status-badge) ===== */
.mgps-badge--pending {
  background: #6b7280; /* cinza */
  color: #fff;
}

.mgps-badge--approved {
  background: #166534; /* verde */
  color: #fff;
}

.mgps-badge--rejected {
  background: #B02A2A; /* vermelho */
  color: #fff;
}

.mgps-doc-links p{
  margin: 8px 0 0 0;
  font-size: 14px;
  color: #555;
}

.mgps-doc-link{
  font-weight: 700;
  text-decoration: none;
  color: #F1502F;
}

.mgps-doc-link:hover{
  color: #2B2A29;
  text-decoration: underline;
}

/* ===== Observações completas: preserva formatação ===== */
.mgps-observacoes-full p {
  white-space: pre-wrap;
}

/* ===== Container das ações */
.mgps-card-actions {
    margin-top: auto;
    padding-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ===== Campo motivo ocupa largura total ===== */
.mgps-motivo {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
}

/* ===== Linha dos botões ===== */
.mgps-actions-row {
    display: flex;
    gap: 10px;
}

/* ===== Botões ocupam metade da largura ===== */
.mgps-actions-row form {
    flex: 1;
}

/* ===== Botões ===== */
.mgps-btn {
    width: 100%;
    padding: 8px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s ease;
}

.mgps-btn--approve {
    background: #F1502F;
    color: #fff;
}

.mgps-btn--approve:hover {
    background: #2b8a3e;
}

.mgps-btn--reject {
    background: #2B2A29;
    color: #fff;
}

.mgps-btn--reject:hover {
    background: #B02A2A;
}

/* ===== Mobile: botões empilhados ===== */
@media (max-width: 600px) {

    .mgps-actions-row {
        flex-direction: column;
    }

}