 /* Toast  style */
  #django-message-wrapper {
    position: fixed;
    top: 1rem;         /* distance from top */
    right: 1rem;       /* distance from right */
    z-index: 1050;     /* stay above other elements */
    max-width: 350px;  /* reasonable toast width */
  }

  /* Toast box */
  .django-message-box {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.15);
    color: #000;
    font-size: 14px;
    opacity: 0.95;
  }

  /* Success variant */
  .django-message-success {
    background-color: #d1fae5; /* green-600 #16a34a*/
    border: 1px solid #16a34a; /* darker border #15803d*/
  }
  .django-message-error {
    background-color: #fee2e2; /* green-600 #16a34a*/
    border: 1px solid #991b1b; /* darker border #15803d*/
  }
  .django-message-info {
    background-color: #e0f2fe; /* green-600 #16a34a*/
    border: 1px solid #1e40af; /* darker border #15803d*/
  }
  .django-message-warning {
    background-color: #e0f2fe; /* green-600 #16a34a*/
    border: 1px solid #1e40af; /* darker border #15803d*/
  }
  /* Fade out effect */
  .django-message-box.hide {
    opacity: 0;
    transition: opacity 0.6s ease;
  }


  /*Register extra style*/
 .error-message {
  color: #dc2626;
  font-size: 0.6rem;
  margin-top: 0.25rem;
  }

  .form-control.border-red-500 {
  border-color: #dc2626 !important;
  }

  .form-label.text-red-500 {
  color: #dc2626 !important;
  font-weight: bold; /* Optional: Make the label bold when there's an error */
  }

  .alert.border-danger {
  border: 1px solid #dc2626 !important;
  }

  .alert.bg-red-100 {
  background-color: #fef2f2 !important;
  }

  .alert.text-red-700 {
  color: #b91c1c !important;
  }

  .rounded-md {
  border-radius: 0.375rem; /* Tailwind CSS equivalent */
  }

  .p-4 {
  padding: 1rem; /* Tailwind CSS equivalent */
  }

  .mb-4 {
  margin-bottom: 1rem; /* Tailwind CSS equivalent */
  }
  .authentication-wrapper.authentication-basic .authentication-inner {
    max-width: 600px;

}

/* Custom CSS for the circular spinner */
.spinner {
    border: 4px solid rgba(255, 255, 255, 0.3); /* Lighter border for contrast */
    border-left-color: #ffffff; /* White color for the spinning part */
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}