body.login-body {
  background: linear-gradient(to bottom right, #eaf0ff, #f6f9ff);
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
  box-sizing: border-box;
}

.login-box {
  background: #ffffff;
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0px 8px 30px rgba(0, 0, 0, 0.05);
  text-align: center;
  width: 100%;
  max-width: 360px;
  box-sizing: border-box;
}

.logo-circle {
  width: 100px;
  height: 100px;
  margin: 0 auto 25px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border: 3px solid #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.logo-circle:hover {
  transform: scale(1.05);
}

.logo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.logo-circle img:hover {
  transform: scale(1.05);
}

h2 {
  margin: 10px 0 5px;
  font-size: 20px;
  color: #222;
}

.subtitle {
  font-size: 14px;
  color: #666;
  margin-bottom: 25px;
}

form input[type="password"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 15px;
  font-size: 14px;
  box-sizing: border-box;
}

form button {
  width: 100%;
  padding: 10px;
  background: linear-gradient(to right, #457bff, #637aff);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.3s ease;
  box-sizing: border-box;
}

form button:hover {
  background: linear-gradient(to right, #336eff, #4d6bff);
}

form input[type="password"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 15px;
  font-size: 14px;
  box-sizing: border-box;
  text-align: center;  /* 🔹 Centraliza o texto */
}

.flash {
  list-style: none;
  padding: 0;
  margin: 10px 0;
  color: red;
  font-size: 13px;
}

.test-codes {
  margin-top: 20px;
  font-size: 13px;
  color: #999;
}

.code-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: center;
  margin-top: 10px;
}

.code-list span {
  background: #f0f0f0;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
}

/* Ajustes responsivos */
@media (max-width: 480px) {
  .login-box {
    padding: 30px 20px;
  }

  .logo-circle {
    width: 70px;
    height: 70px;
    font-size: 20px;
  }

  h2 {
    font-size: 18px;
  }

  .subtitle {
    font-size: 13px;
  }

  form input[type="password"],
  form button {
    font-size: 14px;
    padding: 10px;
  }

  .code-list span {
    font-size: 11px;
    padding: 4px 8px;
  }
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}


.modal-content {
  position: relative;
  background: #fff;
  padding: 30px 25px;
  border-radius: 16px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  box-sizing: border-box;
  text-align: left;
}

.modal-content h2 {
  margin-top: 0;
  font-size: 20px;
  color: #333;
}

.modal-content label {
  font-size: 14px;
  display: block;
  margin: 15px 0 5px;
  color: #444;
}

.modal-content input,
.modal-content textarea {
  width: 100%;
  padding: 8px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
}

.modal-content textarea {
  resize: vertical;
  min-height: 60px;
}

.modal-content button {
  margin-top: 15px;
  width: 48%;
  padding: 10px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(to right, #457bff, #637aff);
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.modal-content button:hover {
  background: linear-gradient(to right, #336eff, #4d6bff);
}

.modal-content .close {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 24px;
  color: #aaa;
  cursor: pointer;
}

.modal-content .close:hover {
  color: #555;
}

.btn-entrar {
  width: 100%;
  padding: 10px;
  background: linear-gradient(to right, #457bff, #637aff);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}

.btn-entrar:hover {
  background: linear-gradient(to right, #336eff, #4d6bff);
  transform: scale(1.02);
}

.btn-entrar:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(69, 123, 255, 0.3);
}

.btn-feedback {
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  background: linear-gradient(to right, #ff7a7a, #ff4f4f);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}

.btn-feedback:hover {
  background: linear-gradient(to right, #e94444, #ff2f2f);
  transform: scale(1.02);
}

.modal {
  align-items: center !important;
  justify-content: center !important;
}
