
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f2f3f5;
  color: #1a1a1a;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 20px;
  transition: background-color 0.3s ease, color 0.3s ease;
}


.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #fff;
  padding: 15px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border-radius: 0 0 16px 16px;
  z-index: 1000;
}

.site-nav h1 {
  color: #1a1a1a;
  font-weight: 700;
  font-size: 1.5rem;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.site-nav ul li a {
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.site-nav ul li a:hover,
.site-nav ul li a[aria-current="page"] {
  color: #3366cc;
  text-decoration: underline;
}


#modo-btn {
  position: fixed;
  top: 16px;
  right: 16px;
  background-color: #3366cc;
  color: white;
  border: none;
  padding: 10px 14px;
  border-radius: 50px;
  cursor: pointer;
  font-size: 18px;
  z-index: 1100;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

#modo-btn:hover {
  background-color: #254d99;
  transform: scale(1.1);
}


.container {
  background-color: #fff;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 480px;
  margin-top: 90px; 
  color: #1a1a1a;
  transition: background-color 0.3s ease, color 0.3s ease;
}


h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
}


.info-bloco {
  margin-bottom: 24px;
}

.info-bloco p {
  font-size: 16px;
  color: #444;
  margin-bottom: 8px;
}


.btn-alterar {
  background: linear-gradient(to right, #4f73ff, #2c50d6);
  border: none;
  color: white;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-alterar:hover {
  background: linear-gradient(to right, #3e5ed6, #223fa1);
}


.input-camuflado {
  margin-top: 10px;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  width: 100%;
  font-size: 15px;
  color: #1a1a1a;
  outline: none;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.input-camuflado:focus {
  border-color: #3366cc;
  background-color: #eef4ff;
}


body.dark-mode {
  background-color: #121212;
  color: #e1e1e1;
}

body.dark-mode .site-nav {
  background-color: #1e1e1e;
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.1);
}

body.dark-mode .site-nav h1,
body.dark-mode .site-nav ul li a {
  color: #e1e1e1;
}

body.dark-mode .site-nav ul li a:hover,
body.dark-mode .site-nav ul li a[aria-current="page"] {
  color: #88aaff;
  text-decoration: underline;
}

body.dark-mode #modo-btn {
  background-color: #3366cc;
  color: #e1e1e1;
}

body.dark-mode #modo-btn:hover {
  background-color: #254d99;
}

body.dark-mode .container {
  background-color: #1e1e1e;
  color: #f0f0f0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
}

body.dark-mode .btn-alterar {
  background: linear-gradient(to right, #5588ff, #2a4fcf);
}

body.dark-mode .btn-alterar:hover {
  background: linear-gradient(to right, #406ce0, #254d99);
}

body.dark-mode .input-camuflado {
  background-color: #2c2c2c;
  color: #f0f0f0;
  border: 1px solid #555;
}

body.dark-mode .input-camuflado::placeholder {
  color: #aaa;
}
body.dark-mode label,
body.dark-mode .subtitle,
body.dark-mode h1 {
  color: #f0f0f0;
}


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

.logo {
  height: 40px;
  width: auto;
}

.site-nav ul {
  margin-left: 20px;
  display: flex;
  gap: 20px;
}

.site-nav h1 {
  font-size: 1.4rem;
  margin-right: 10px;
}


body.dark-mode .info-bloco p strong {
  color: #f0f0f0;
}
#menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: inherit;
  margin-left: auto;
  z-index: 1001;
}

@media (max-width: 768px) {
  .site-nav {
    flex-wrap: wrap;
    padding: 15px 20px;
  }

  .nav-esquerda {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .site-nav ul {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: inherit;
    padding: 10px 0;
    border-top: 1px solid #ccc;
  }

  .site-nav ul.show {
    display: flex;
  }

  .site-nav ul li {
    text-align: center;
    padding: 8px 0;
  }

  .nav-direita {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 10px;
  }
}

