.website-logo {
  position: absolute;
  top: -60px;
  left: 40px;
  width: 250px;
  height: auto;
  z-index: 10;
}

.registration-card {
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  padding: 3rem;
  text-align: center;
  transition: all 0.3s ease-in-out;
}

.registration-card:focus-within {
  box-shadow: 0 6px 30px rgba(0, 123, 255, 0.2);
}

.form-control {
  border: 1px solid #ced4da;
  border-radius: 50px;
  padding: 12px 45px;
  transition: all 0.3s ease-in-out;
  font-size: 1rem;
  line-height: 1.5;
  height: 48px;
  position: relative;
}

.form-control:focus {
  border-color: #fdd49e;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.25);
}

.form-group {
  position: relative;
  margin-bottom: 2rem;
  /* Adjusted for validation message spacing */
}

.form-group i.fas:not(.password-toggle) {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #aaa;
  z-index: 1;
  font-size: 16px;
  pointer-events: none;
}

.password-toggle {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #aaa;
  z-index: 2;
  font-size: 16px;
  background: transparent;
  border: none;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
  pointer-events: auto;
}

/* General styling for .btn-primary */
.btn-primary-red {
  background: #dc143c !important;
  border: none !important;
  padding: 0.75rem 2.5rem;
  font-size: 1.2rem;
  color: white !important;
  border-radius: 5px;
  transition: all 0.3s ease-in-out;
}

/* Hover state */
.btn-primary-red:hover {
  background: #b22222 !important;
  box-shadow: 0 6px 20px rgba(220, 20, 60, 0.3);
  transform: scale(1.05);
}

/* Focus state */
.btn-primary-red:focus {
  outline: none !important;
  box-shadow: none !important;
  background: #dc143c !important;
}

/* Active state */
.btn-primary-red:active {
  background: #b22222 !important;
  box-shadow: none !important;
}

.custom-links {
  margin-top: 1.5rem;
  text-align: center;
}

.custom-links a {
  font-size: 0.9rem;
  font-weight: bold;
  margin: 0 10px;
  text-decoration: none;
  color: #007bff;
  transition: color 0.3s ease;
}

.custom-links a:hover {
  color: #0056b3;
  text-decoration: underline;
}

.login-logo {
  width: 80px;
  margin-bottom: 2rem;
  margin-top: -2rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.remember-me {
  font-size: 0.9rem;
  text-align: left;
  margin-bottom: 2rem;
}

.form-control::placeholder {
  color: #6c757d;
  opacity: 0.8;
}

.userController-error-message {
  color: #e74c3c;
  /* A brighter, more noticeable red */
  font-size: 0.875rem;
  /* Slightly smaller font size for a balanced look */
  font-weight: 500;
  /* Makes the error message stand out a bit more */
  width: 100%;
  text-align: left;
  margin-top: 0.5rem;
  padding: 0 5px;
  /* Adds some space around the text for better alignment */
  background-color: #f8d7da;
  /* Light red background to highlight the error */
  border-radius: 4px;
  /* Rounded corners for a softer look */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  /* Adds a subtle shadow for depth */
  transition: all 0.3s ease-in-out;
  /* Smooth transition for error message visibility */
}

.error-message {
  position: absolute;
  bottom: -25px;
  /* Slightly increase bottom offset for better visibility */
  left: 0;
  color: #e74c3c;
  /* A brighter, more noticeable red */
  font-size: 0.875rem;
  /* Slightly smaller font size for a balanced look */
  font-weight: 500;
  /* Makes the error message stand out a bit more */
  width: 100%;
  text-align: left;
  margin-top: 0.5rem;
  padding: 0 5px;
  /* Adds some space around the text for better alignment */
  background-color: #f8d7da;
  /* Light red background to highlight the error */
  border-radius: 4px;
  /* Rounded corners for a softer look */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  /* Adds a subtle shadow for depth */
  transition: all 0.3s ease-in-out;
  /* Smooth transition for error message visibility */
}

.error-message.visible {
  visibility: visible;
  opacity: 1;
}

.error-message.hidden {
  visibility: hidden;
  opacity: 0;
}

/* [data-required="true"]:invalid {
   border-color: red;
   } */

   .form-control {
    padding-left: 50px !important;
    padding-right: 50px !important;
}

.btn-primary-red:disabled{
    opacity:.7;
    cursor:not-allowed;
}