.new-password-container {
  /* Use flexbox to center the form card horizontally and vertically */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  min-height: 100%;
}

.new-password-container .login-card-wide {
  /* The card container */
  width: 100%;
  max-width: 500px; /* Max width for a clean look on large screens */
  padding: 40px;
  background-color: #ffffff; /* White background for the card */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  border-radius: 8px;
}
.new-password-container .new-password-form {
  display: flex;
  flex-direction: column; /* Stack all elements vertically */
  gap: 20px; /* Space between the main sections */
}
.new-password-container .name-field-row {
  /* This is the new Flex container */
  display: flex;
  gap: 20px; /* Space between the First Name and Last Name columns */
}

.new-password-container .form-field-group {
  display: flex;
  flex-direction: column; /* Stack label and input vertically */
  gap: 5px; /* Small space between label and input */
}


.new-password-container .form-field-group label {
  font-weight: 500;
  color: #555;
  font-size: 0.9rem;
}

.new-password-container .form-field-group input {
  padding: 10px 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.new-password-container .form-field-group input:focus {
  border-color: #007bff; /* Highlight focus with a primary color */
  outline: none;
}

.new-password-container .new-password-button {
  padding: 12px;
  border: none;
  border-radius: 4px;
  background-color: #007bff;
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

.new-password-container .new-password-button:hover {
  background-color: #0056b3;
}

/* Container ensures the button is positioned relative to the input */
.new-password-container .password-field-container {
  position: relative;
  display: inline-block; /* Adjust if your form is block-level */
}

.new-password-container .password-toggle-btn {
  /* Position the button over the right edge of the input field */
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  
  /* Styling to make it look clean */
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-size: 0.8em;
  color: #555; /* Dark gray */
}

/* Ensure the input field is visible beneath the button */
.new-password-container .password-input-field {
  padding-right: 40px; /* Make space for the button */
}

/* Responsive enhancement: Stack name fields vertically on small screens */
@media (max-width: 600px) {
    .new-password-container .form-field-group {
        flex: auto; /* Allow fields to take full width when stacked */
    }
}

