* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", sans-serif;
}

body {
  position: relative;
  margin: 0;
  background: none !important; /* clear any conflicting background */
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://i.ibb.co/wNzMfJgP/image.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
  opacity: 0.4; 
  z-index: -1;
}

.container {
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-box {
  background-color: var(--whatsapp-bubble-received, #ffffff);
  width: 400px;
  padding: 40px;
  border-radius: 5px;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
}

.logo {
  text-align: center;
  margin-bottom: 25px;
}

.logo img {
  width: 200px;
}

h2 {
  font-size: 20px;
  margin-bottom: 8px;
  color: var(--whatsapp-text-primary, #333333);
}

p {
  font-size: 14px;
  color: var(--whatsapp-text-secondary, #666666);
  margin-bottom: 25px;
}

label {
  font-size: 13px;
  color: var(--whatsapp-text-primary, #333333);
  display: block;
  font-weight: 600;
  margin: 1px;
}

input[type="email"],
.password-wrapper input {
  width: 100%;
  padding: 10px 40px 10px 12px;
  border: 1px solid var(--whatsapp-border, #f1f1f1);
  border-radius: 4px;
  font-size: 14px;
  margin-bottom: 18px;
  color: var(--whatsapp-text-primary, #000000);
  background-color: var(--whatsapp-bubble-received, #ffffff);
}

input:focus {
  outline: 1px solid var(--whatsapp-primary, #075e54);
  outline-offset: 1px;
}

.password-wrapper {
  position: relative;
}

.toggle-password {
  position: absolute;
  right: 12px;
  top: 35%;
  transform: translateY(-50%);
  font-size: 16px;
  color: var(--whatsapp-primary, #075e54);
  cursor: pointer;
  user-select: none;
}

.remember-me {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--whatsapp-text-primary, #333333);
}

.remember-me input {
  margin-right: 6px;
}

input[type="submit"] {
  width: 100%;
  background-color: var(--whatsapp-primary, #075e54);
  border: none;
  color: var(--whatsapp-header-text, #ffffff);
  padding: 11px;
  border-radius: 4px;
  font-size: 15px;
  cursor: pointer;
  margin-bottom: 15px;
  transition: background-color 0.2s ease;
}

input[type="submit"]:hover {
  background-color: var(--whatsapp-primary, #064a3f);
  opacity: 0.9;
}

.btn:hover {
  background-color: var(--whatsapp-primary, #064a3f);
}

.forgot {
  font-size: 13px;
  color: var(--whatsapp-text-secondary, #555555);
  text-decoration: none;
}

.forgot:hover {
  text-decoration: underline;
  color: var(--whatsapp-primary, #075e54);
}

input[type="checkbox"] {
  accent-color: var(--whatsapp-primary, #075e54);
}

#infoMessage p {
  display: block;
  width: 100%;
  border: 1px solid var(--whatsapp-primary, #075e54); 
  color: var(--whatsapp-primary, #075e54); 
  padding: 0.75rem 1.25rem;
  border-radius: 0.25rem;
  margin-bottom: 0.5rem;
  box-sizing: border-box;
  background-color: rgba(7, 94, 84, 0.05); /* tom suave baseado no whatsapp-primary */
}