.login-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.login-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(3px);
  z-index: 1;
}

.login-modal-content {
  position: relative;
  z-index: 2;
  max-width: 400px;
  margin: 50px auto;
  background: white;
  border-radius: 4px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
}

/* Cabeçalho */
.ntr-login-header {
  text-align: center;
  margin-bottom: 20px;
  position: relative;
}

.ntr-close-btn {
  position: absolute;
  top: 0;
  right: 0;
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: #555;
}

.ntr-logo {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 5px;
}

.ntr-logo-main {
  color: #333;
}

.ntr-logo-ia {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.ntr-login-title {
  font-size: 1rem;
  color: #666;
  font-weight: normal;
  margin: 5px 0;
}

/* Corpo do Formulário */
.ntr-login-subtitle {
  color: #666;
  text-align: center;
  margin-bottom: 20px;
}

.ntr-form-group {
  margin-bottom: 15px;
}

.ntr-form-label {
  display: block;
  margin-bottom: 5px;
  color: #555;
  font-size: 0.9rem;
}

.ntr-input-group {
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 8px;
}

.ntr-input-icon {
  color: #999;
  margin-right: 10px;
}

.ntr-form-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 0.9rem;
}

.ntr-password-toggle {
  background: none;
  border: none;
  color: #999;
  cursor: pointer;
}

.ntr-input-error {
  color: #e74c3c;
  font-size: 0.8rem;
  margin-top: 5px;
  display: block;
}

.ntr-error-message {
  background: #f8d7da;
  color: #721c24;
  padding: 10px;
  border-radius: 4px;
  margin-bottom: 15px;
  font-size: 0.9rem;
}

/* Opções do Formulário */
.ntr-form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}

.ntr-remember-me {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  color: #555;
}

.ntr-checkbox {
  margin-right: 5px;
}

.ntr-login-btn {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ntr-login-btn:hover {
  opacity: 0.9;
}

.ntr-login-btn i {
  margin-left: 5px;
}

/* Rodapé */
.ntr-login-footer {
  text-align: center;
  margin-top: 20px;
}

.ntr-forgot-password {
  color: #2563eb;
  font-size: 0.9rem;
  text-decoration: none;
}

.ntr-forgot-password:hover {
  text-decoration: underline;
}

/* --- MODAL DE RECUPERAÇÃO DE SENHA --- */
.ntr-password-reset-card {
  padding: 25px;
}

.ntr-password-reset-header {
  text-align: center;
  margin-bottom: 25px;
  position: relative;
}

.ntr-password-reset-title {
  font-size: 1.4rem;
  color: #333;
  margin: 10px 0 5px;
  font-weight: 600;
}

.ntr-password-reset-subtitle {
  color: #666;
  text-align: center;
  margin-bottom: 25px;
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Botão de Recuperação */
.ntr-reset-btn {
  width: 100%;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: white;
  border: none;
  padding: 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.95rem;
  margin-top: 10px;
  transition: opacity 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.ntr-reset-btn:hover {
  opacity: 0.9;
}

.ntr-reset-btn i {
  font-size: 0.9rem;
}

/* Link Voltar */
.ntr-back-to-login {
  text-align: center;
  margin-top: 20px;
}

.ntr-back-to-login a {
  color: #2563eb;
  text-decoration: none;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s;
}

.ntr-back-to-login a:hover {
  color: #7c3aed;
  text-decoration: underline;
}

/* Efeito de Foco nos Inputs */
.ntr-input-group:focus-within {
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

/* Adaptação para Mobile */
@media (max-width: 480px) {
  .login-modal-content {
    margin: 20px auto;
    width: 90%;
  }

  .ntr-password-reset-title {
    font-size: 1.2rem;
  }
}
