/*
Theme Name: Syrus Systems
Description: Tema personalizado para Syrus Systems - Software para escritórios de contabilidade
Author: Syrus Systems
Version: 1.0.1 - CORRIGIDO
Text Domain: syrus-systems
*/

/* ============================================
   SYRUS SYSTEMS THEME - VERSÃO CORRIGIDA
   ============================================ */

/* ---------------------------------- */
/* VARIÁVEIS GLOBAIS
/* ---------------------------------- */
:root {
  --bg-very-dark: #051214;
  --bg-dark: #071213;
  --green-neon: #00f39a;
  --green-deep: #0fb37f;
  --muted: #bcdccf;
  --white: #e8fff6;
  --panel: rgba(255, 255, 255, 0.03);
  --radius-header: 22px;
  --radius-card: 14px;
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-inner-green: 0 0 80px rgba(0, 243, 154, 0.2);
  --gutter: 40px;
  --brand-green: #00f39a;
  --text-light: #e8fff6;
}

/* ---------------------------------- */
/* RESET E BASE
/* ---------------------------------- */
* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-very-dark);
  color: var(--white);
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--green-deep);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--green-neon);
  outline-offset: 2px;
}

/* ---------------------------------- */
/* HEADER E NAVEGAÇÃO
/* ---------------------------------- */
.header-outer {
  display: flex;
  justify-content: center;
  padding: 0px;
}

.brand-title {
  display: none;
}

.header-wrapper {
  width: 100%;
  max-width: 96%;
  position: relative;
  background: linear-gradient(180deg, #0b3c31, #05201a);
  border-radius: var(--radius-header) var(--radius-header) 0 0;
  overflow: hidden;
  margin-top: 24px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 40px 56px 40px;
  max-width: 96%;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
}

.brand .logo {
  height: 26px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

/* Menu WordPress - estilos para lista */
.nav ul,
.nav .nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 18px;
  align-items: center;
}

.nav li {
  display: inline-block;
  margin: 0;
  padding: 0;
}

.nav a {
  position: relative;
  font-weight: 400;
  font-size: 18px;
  color: var(--white);
  padding-bottom: 6px;
  display: block;
}

.nav a:hover {
  color: var(--green-neon);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: var(--green-neon);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease-in-out;
}

.nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* CORREÇÃO: Classes corretas para item ativo do menu WordPress */
.nav .current-menu-item > a,
.nav .current_page_item > a,
.nav .current-page-ancestor > a,
.nav li.current-menu-item > a,
.nav li.current_page_item > a {
  color: var(--green-neon);
}

.nav .current-menu-item > a::after,
.nav .current_page_item > a::after,
.nav .current-page-ancestor > a::after,
.nav li.current-menu-item > a::after,
.nav li.current_page_item > a::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Remove o active da home quando não está na home */
.nav .menu-item-home:not(.current-menu-item):not(.current_page_item) > a {
  color: var(--white);
}

.nav .menu-item-home:not(.current-menu-item):not(.current_page_item) > a::after {
  transform: scaleX(0);
}

.hamburger {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-radius: 10px;
  padding: 10px 12px;
  cursor: pointer;
}

.hamburger svg {
  display: block;
}

/* ---------------------------------- */
/* MENU MOBILE (SANDUÍCHE)
/* ---------------------------------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, #071213, #051214);
  display: grid;
  grid-template-rows: auto 1fr auto;
  opacity: 0;
  transform: translateY(-100%);
  transition: transform .35s ease, opacity .25s ease;
  z-index: 9999;
}

.mobile-menu.open { 
  opacity: 1; 
  transform: translateY(0); 
}

.mobile-menu .mobile-top { 
  display: flex; 
  justify-content: flex-end; 
  padding: 18px 22px; 
}

.mobile-menu .mobile-close { 
  background: transparent; 
  border: 1px solid rgba(255,255,255,0.2); 
  color: var(--white); 
  border-radius: 10px; 
  padding: 10px 12px; 
  cursor: pointer; 
}

.mobile-menu nav { 
  display: grid; 
  gap: 12px; 
  align-content: start; 
  padding: 6px 22px 32px; 
}

.mobile-menu nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.mobile-menu nav li {
  margin: 0;
  padding: 0;
}

.mobile-menu nav a { 
  font-size: 22px; 
  letter-spacing: .02em; 
  padding: 14px 6px; 
  border-radius: 10px; 
  color: var(--white); 
  border: 1px solid transparent; 
  transition: background .2s, color .2s, border-color .2s;
  display: block;
}

.mobile-menu nav a:hover, 
.mobile-menu nav a:focus-visible { 
  background: rgba(255,255,255,0.06); 
  color: var(--green-neon); 
  border-color: rgba(255,255,255,0.12); 
}

/* Active no menu mobile */
.mobile-menu nav .current-menu-item > a,
.mobile-menu nav .current_page_item > a {
  background: rgba(0, 243, 154, 0.1);
  color: var(--green-neon);
  border-color: var(--green-neon);
}

.mobile-menu .mobile-bottom { 
  padding: 16px 22px; 
  color: var(--muted); 
  font-size: 12px; 
  text-align: center; 
}

/* ---------------------------------- */
/* CONTEÚDO PRINCIPAL
/* ---------------------------------- */
.content-outer {
  display: flex;
  justify-content: center;
  padding: 0px;
}

.content-outer main {
  width: 100%;
  max-width: 96%;
  display: block;
}

.content-wrapper {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.strip-hero {
  background: var(--green-neon);
  color: #000;
  padding: 10px 22px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  font-size: 20px;
  box-shadow: 0 20px 400px rgba(0, 255, 163, 0.3);
}

.patent-line {
  font-size: 16px;
  color: var(--muted);
  padding: 5px 100px 0 0;
  text-align: right;
  background-color: #10161b;
}

/* ---------------------------------- */
/* UTILITÁRIOS DE IMAGEM
/* ---------------------------------- */
.drop-shadow-xl {
  filter: drop-shadow(0 20px 25px rgba(0, 0, 0, 0.25));
}

.syrus-main-diagram {
  margin: 0;
  text-align: center;
}

.syrus-diagram-extra {
  margin: 20px 0;
  text-align: center;
}

/* ---------------------------------- */
/* DASHBOARD (Até Onde Chegamos)
/* ---------------------------------- */
.dash-toggle {
  display: none;
}

.dashboard-btns-simple {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin: 40px 0;
}

.dashboard-btn {
  background: var(--green-neon);
  color: #000;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  font-size: 14px;
}

.dashboard-btn:hover {
  background: var(--green-deep);
  color: var(--white);
}

.dash-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  z-index: 2000;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.dash-image img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  color: var(--white);
  font-size: 30px;
  cursor: pointer;
  z-index: 2001;
}

/* Estados dos dashboards */
#dash1-toggle:checked ~ .dash-image.dash1,
#dash2-toggle:checked ~ .dash-image.dash2,
#dash3-toggle:checked ~ .dash-image.dash3 {
  display: flex;
}

/* ---------------------------------- */
/* FOOTER
/* ---------------------------------- */
footer {
  padding: 30px 0;
  color: var(--white);
  background: #004E32;
}

footer .footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 100px;
  font-weight: 400;
  font-size: 16px;
}

/* ---------------------------------- */
/* ESTILOS DA PÁGINA DE LOGIN
/* ---------------------------------- */
.login-page-body {
  background-image: url('assets/images/fundo-syrus.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.login-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100vh;
  width: 100%;
}

/* Coluna da Esquerda (Formulário) */
.login-form-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 10%;
}

.login-header h1 {
  font-size: 70px;
  letter-spacing: 0em;
  color: var(--white);
  margin-bottom: 0;
}

.login-header .header-thin {
  font-weight: 400;
  font-size: 25px;
  color: #00FFA3;
}

.login-header .header-subtitle {
  font-size: 14px;
  color: #fff;
  margin: -30px 0 40px 230px;
}

.login-form h2 {
  font-size: 40px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.login-form .form-description {
  font-size: 16px;
  color: #fff;
  margin-bottom: 32px;
}

/* Estilos para formulário do Theme My Login */
.login-form form {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.login-form h3 {
  font-size: 40px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.login-form p:not(.error-message):not(.info-message):not(.success-message) {
  font-size: 16px;
  color: #fff;
  margin-bottom: 32px;
}

.login-form .tml-field-wrap {
  margin-bottom: 24px;
}

/* Links do Theme My Login */
.login-form a,
.login-form .tml-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.login-form a:hover {
  color: #00f39a;
}

/* Checkbox do Theme My Login */
.login-form .tml-rememberme-wrap {
  display: flex;
  align-items: center;
}

.login-form .tml-rememberme-wrap label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

/* Mensagens de erro do Theme My Login */
.login-form .tml-error,
.login-form .tml-message {
  color: #ff6b6b;
  font-size: 14px;
  text-align: center;
  margin-bottom: 16px;
  background: rgba(255, 107, 107, 0.1);
  padding: 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 107, 107, 0.3);
}

.login-form .tml-message.success {
  color: #00f39a;
  background: rgba(0, 243, 154, 0.1);
  border-color: rgba(0, 243, 154, 0.3);
}

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

.form-group label,
.login-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.form-group input,
.login-form input[type="text"],
.login-form input[type="password"],
.login-form input[type="email"] {
  width: 100%;
  background-color: transparent;
  border: 2px solid #23c91b;
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 16px;
  color: #fff;
  outline: none;
  transition: all 0.2s;
}

.form-group input:focus,
.login-form input[type="text"]:focus,
.login-form input[type="password"]:focus,
.login-form input[type="email"]:focus {
  border-color: #23c91b;
  box-shadow: 0 0 15px rgba(35, 201, 27, 0.3);
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #fff;
  margin-bottom: 32px;
}

.form-options a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

/* Checkbox customizado */
.checkbox-container {
  display: block;
  position: relative;
  padding-left: 25px;
  cursor: pointer;
  user-select: none;
}

.checkbox-container input { 
  display: none; 
}

.checkmark {
  position: absolute;
  top: 2px;
  left: 0;
  height: 16px;
  width: 16px;
  background-color: transparent;
  border: 2px solid #fff;
  border-radius: 4px;
}

.checkbox-container:hover .checkmark { 
  border-color: #fff; 
}

.checkbox-container input:checked ~ .checkmark { 
  background-color: #fff; 
  border-color: #fff; 
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
  left: 5px; 
  top: 1px; 
  width: 4px; 
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-container input:checked ~ .checkmark:after { 
  display: block; 
}

.btn-login,
.login-form input[type="submit"],
.login-form button[type="submit"] {
  width: 100%;
  padding: 16px;
  background-color: #23c91b;
  border: none;
  border-radius: 8px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-login:hover,
.login-form input[type="submit"]:hover,
.login-form button[type="submit"]:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(35, 201, 27, 0.25);
}

.error-message {
  color: #ff6b6b;
  font-size: 14px;
  text-align: center;
  min-height: 20px;
  margin-bottom: 16px;
  background: rgba(255, 107, 107, 0.1);
  padding: 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 107, 107, 0.3);
}

.info-message {
  color: #4fc3f7;
  font-size: 14px;
  text-align: center;
  min-height: 20px;
  margin-bottom: 16px;
  background: rgba(79, 195, 247, 0.1);
  padding: 10px;
  border-radius: 6px;
  border: 1px solid rgba(79, 195, 247, 0.3);
}

.success-message {
  color: #00f39a;
  font-size: 14px;
  text-align: center;
  min-height: 20px;
  margin-bottom: 16px;
  background: rgba(0, 243, 154, 0.1);
  padding: 10px;
  border-radius: 6px;
  border: 1px solid rgba(0, 243, 154, 0.3);
}

.form-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  color: #fff;
}

.form-footer a {
  color: #fff;
  font-weight: 700;
}

/* Coluna da Direita (Imagem) */
.login-image-container {
  display: grid;
  place-items: center;
}

.login-image-container img {
  max-width: 80%;
  max-height: 80%;
}

/* Responsividade para login */
@media (max-width: 900px) {
  .login-page-body {
    background: linear-gradient(90deg, #00FFA3 0%, #0d0d0c 100%);
  }
  
  .login-layout {
    grid-template-columns: 1fr;
  }
  
  .login-image-container {
    display: none;
  }
  
  .login-form-container {
    padding: 40px 5%;
  }
  
  .login-header h1 {
    font-size: 48px;
  }
  
  .login-header .header-thin {
    font-size: 20px;
  }
  
  .login-header .header-subtitle {
    margin: 8px 0 30px 0;
    font-size: 14px;
    text-align: left;
  }
  
  .login-form h2 {
    font-size: 32px;
  }
}

@media (max-width: 600px) {
  .login-header h1 {
    font-size: 36px;
  }
  
  .login-header .header-thin {
    font-size: 16px;
  }
  
  .login-form h2 {
    font-size: 28px;
  }
  
  .form-group label {
    font-size: 13px;
  }
  
  .form-group input {
    font-size: 14px;
    padding: 12px 14px;
  }
  
  .form-options {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* ---------------------------------- */
/* RESPONSIVIDADE
/* ---------------------------------- */
@media (max-width: 768px) {
  .nav {
    display: none;
  }
  
  .hamburger {
    display: block;
  }
  
  .mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--bg-dark);
    transition: right 0.3s ease;
    z-index: 1500;
    padding: 20px;
    display: flex;
    flex-direction: column;
  }
  
  .mobile-menu.open {
    right: 0;
  }
  
  .mobile-top {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 40px;
  }
  
  .mobile-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
  }
  
  .mobile-menu nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .mobile-menu nav a {
    padding: 12px 16px;
    border-radius: 6px;
    font-weight: 600;
  }
  
  .mobile-menu nav a:hover {
    background: var(--green-neon);
    color: #000;
  }
  
  .mobile-bottom {
    margin-top: auto;
    text-align: center;
    font-weight: 600;
    color: var(--green-neon);
  }
  
  .strip-hero {
    font-size: 16px;
    padding: 10px 18px;
  }
  
  .dashboard-btns-simple {
    flex-direction: column;
    align-items: center;
  }
  
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  
  .content-wrapper {
    padding: 0 16px;
  }
}

@media (max-width: 480px) {
  .strip-hero {
    font-size: 14px;
    padding: 8px 16px;
  }
  
  .patent-line {
    font-size: 10px;
  }
  
  .logo {
    height: 32px;
  }
  
  .content-wrapper {
    padding: 0 12px;
  }
}

.tml-lostpassword-link {
	display: none;
}
.tml-lostpassword-link { 
    display: none; 
}


/* Botão Voltar ao Topo */
.top-back-container {
  position: fixed;
  bottom: 90px;
  right: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.top-back-container.visivel {
  opacity: 1;
  visibility: visible;
}

.top-back {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #000000;
  border: 1px solid var(--green-neon);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  padding: 0;
  margin: 0;
}

.top-back:hover {
/*   background-color: var(--green-neon); */
  transform: translateY(-5px);
  box-shadow: 0 0 20px var(--green-neon);
}

.seta-grossa {
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 12px solid currentColor;
  position: relative;
  margin-top: 4px;
}

.seta-grossa::after {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 8px;
  background-color: currentColor;
}

.top-back:hover .seta-grossa,
.top-back:hover .seta-grossa::after {
  border-bottom-color: #000000;
  background-color: #000000;
}

.top-back-texto {
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  font-family: 'Montserrat', sans-serif;
}

.top-back-container:hover .top-back-texto {
  color: #fff;
}

@media (max-width: 600px) {
  .top-back-container {
    bottom: 20px;
    right: 20px;
  }
  
  .top-back {
    width: 45px;
    height: 45px;
  }
  
  .seta-grossa {
    border-left-width: 7px;
    border-right-width: 7px;
    border-bottom-width: 10px;
  }
  
  .seta-grossa::after {
    width: 5px;
    height: 7px;
  }
  
  .top-back-texto {
    font-size: 10px;
  }
}