.registration-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%;
}

.registration-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;
}
.registration-container .signup-form {
  display: flex;
  flex-direction: column; /* Stack all elements vertically */
  gap: 20px; /* Space between the main sections */
}
.registration-container .name-field-row {
  /* This is the new Flex container */
  display: flex;
  gap: 20px; /* Space between the First Name and Last Name columns */
}

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


/* Make each field group take up equal space in the row */
.registration-container .name-field-row .form-field-group {
  flex: 1; /* Allows each child to grow and take up 50% of the available space */
}

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

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

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

.registration-container .sign-up-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;
}

.registration-container .sign-up-button:hover {
  background-color: #0056b3;
}


/* Responsive enhancement: Stack name fields vertically on small screens */
@media (max-width: 600px) {
    .registration-container .name-field-row {
        flex-direction: column; /* Change to vertical stack */
        gap: 20px; /* Maintains vertical gap */
    }
    .registration-container .form-field-group {
        flex: auto; /* Allow fields to take full width when stacked */
    }
}

