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

.admin-logo {
  position: absolute;
  top: 80px;
  left: 40px;
  width: 200px;
  height: auto;
  z-index: 10;
}


.login-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;
}

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

.form-control {
  border: 1px solid #ced4da;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  font-size: 1rem;
  line-height: 1.5;
  height: 48px;
  padding-left: 3rem !important;
}

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

.form-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.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: 18px;
  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 {
  background: #f48c06 !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:hover {
  background: #c76000 !important;
  box-shadow: 0 6px 20px rgba(146, 82, 4, 0.3);
  transform: scale(1.05);
}

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

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

.google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  border: 1px solid #ccc;
  border-radius: 50px;
  padding: 0.6rem 1rem;
  font-size: 1.1rem;
  font-weight: 500;
  color: #555;
  transition: all 0.3s ease;
}

.google-btn img {
  width: 24px;
  height: 24px;
  margin-right: 12px;
}

.google-btn:hover {
  background-color: #f5f5f5;
  border-color: #aaa;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

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

.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: #ffdddd;
  /* 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;
}