/* =========================================================================
   Virtualmais — estilos complementares (Customizer, cadastro, formulários)
   ========================================================================= */

/* Honeypot anti-spam */
.vm-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* Avisos */
.vm-notice { margin: 12px 0 0; padding: 12px 16px; border-radius: 8px; font-size: .9rem; font-weight: 600; }
.vm-notice--ok { background: #e8f7ee; color: #1e7b45; }
.vm-notice--error { background: #fdecec; color: #b3261e; }
.newsletter-bar .vm-notice { text-align: center; }

/* Barra de topo com link */
.header-virtual .top-bar a { color: inherit; text-decoration: none; }

/* Link extra "Cadastre-se" no cabeçalho */
.header-virtual .login-text .login-register-link { display: block; font-size: .75rem; opacity: .85; text-decoration: underline; }

/* ---------- Vitrines ---------- */
.virtual-vitrine-section .vitrine-head {
    display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 25px;
}
.virtual-vitrine-section .vitrine-head .vitrine-title { margin-bottom: 0; }
.virtual-vitrine-section .vitrine-more {
    white-space: nowrap; font-size: .85rem; font-weight: 700; color: #ff0000; text-decoration: none;
    display: inline-flex; align-items: center; gap: 6px;
}
.virtual-vitrine-section .vitrine-more i { font-size: .7rem; }
.virtual-vitrine-section .vitrine-more:hover { text-decoration: underline; }
.virtual-vitrine-section .vitrine-wrapper.no-arrows .nav-btn { display: none; }
@media (max-width: 768px) {
    .virtual-vitrine-section .vitrine-wrapper.no-arrows .nav-btn { display: flex; }
}

/* ---------- Políticas ---------- */
.vm-policy-banner { margin-top: 20px; }

/* ---------- Login / Cadastro ---------- */
.virtual-login-wrapper.is-side { grid-template-columns: 1fr 1fr; }
@media (max-width: 992px) {
    .virtual-login-wrapper.is-side { grid-template-columns: 1fr; }
}

.virtual-login-wrapper.is-tabs {
    display: block; max-width: 560px; margin-left: auto; margin-right: auto;
}
.virtual-login-wrapper.is-tabs[data-active="login"] .virtual-register-col,
.virtual-login-wrapper.is-tabs[data-active="register"] .virtual-login-col { display: none; }

.vm-auth-tabs {
    display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px;
    background: #f2f2f2; border-radius: 12px; margin-bottom: 20px;
}
.vm-auth-tab {
    border: 0; background: transparent; padding: 12px 10px; border-radius: 8px; cursor: pointer;
    font: inherit; font-weight: 700; font-size: .95rem; color: #666; text-transform: uppercase; transition: .2s;
}
.vm-auth-tab:hover { color: #333; }
.vm-auth-tab.is-active { background: #fff; color: #ff0000; box-shadow: 0 2px 10px rgba(0, 0, 0, .08); }

.vm-auth-intro { margin: -12px 0 20px; color: #666; font-size: .92rem; line-height: 1.5; }
.vm-auth-switch { margin: 18px 0 0; text-align: center; font-size: .9rem; color: #666; }
.vm-auth-switch a { color: #ff0000; font-weight: 700; }

.vm-form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .vm-form-row-2 { grid-template-columns: 1fr; } }

.virtual-auth-card .form-row label .optional { font-weight: 400; color: #999; font-size: .85em; }
.vm-register-note { font-size: .85rem; color: #666; margin: 0 0 16px; }
.vm-terms-row label { display: flex !important; align-items: flex-start; gap: 8px; font-weight: 400 !important; font-size: .9rem; line-height: 1.4; }
.vm-terms-row input { margin-top: 3px; }
.vm-terms-row a { color: #ff0000; }

/* Campos extras em Detalhes da conta */
.vm-edit-account-extra input.input-text { width: 100%; }

/* ---------- Painel da conta ---------- */
.vm-dashboard-title { font-size: 1.4rem; font-weight: 800; color: #333; margin: 0 0 8px; }
.vm-dashboard-text { color: #666; margin: 0 0 24px; line-height: 1.5; }
.vm-dashboard-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.vm-dashboard-card {
    display: flex; flex-direction: column; gap: 6px; padding: 20px; border: 1px solid #eee; border-radius: 12px;
    text-decoration: none; color: #333; background: #fff; transition: .2s;
}
.vm-dashboard-card i { font-size: 1.4rem; color: #ff0000; margin-bottom: 6px; }
.vm-dashboard-card strong { font-size: 1rem; }
.vm-dashboard-card span { font-size: .82rem; color: #777; }
.vm-dashboard-card:hover { border-color: #ff0000; box-shadow: 0 6px 20px rgba(255, 0, 0, .08); transform: translateY(-2px); }
.vm-dashboard-logout { margin: 24px 0 0; font-size: .88rem; color: #777; }
.vm-dashboard-logout a { color: #ff0000; font-weight: 700; }

/* ---------- Contato ---------- */
.contact-info-card .value a { color: inherit; text-decoration: none; }
.contact-info-card .value a:hover { text-decoration: underline; }
