body {
  font-family: "Inter", sans-serif;
  background-color: #ffffff;
  /* White background to blend with the form */
  display: flex;
  flex-direction: column;
  /* Allow content to stack vertically */
  min-height: 100vh;
  padding: 0;
}

/* Custom dark green color for Instock Farm */
.bg-instock-green {
  background-color: #28a745 !important;
  /* Standard Bootstrap success green */
}

.btn-instock-green {
  background-color: #28a745;
  border-color: #28a745;
  color: white;
}

.btn-instock-green:hover {
  background-color: #218838;
  /* Slightly darker on hover */
  border-color: #1e7e34;
}

.text-instock-green {
  color: #28a745 !important;
}

.form-control:focus,
.form-select:focus,
.btn:focus {
  box-shadow: 0 0 0 0.25rem rgba(40, 167, 69, 0.25);
  /* Green focus ring */
  border-color: #28a745;
}

/* Ensure form containers fill available space and center content */
.form-container-wrapper {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 1rem;
  /* Add some padding around the form */
}

.form-card {
  background-color: #ffffff;
  padding: 2.5rem;
  /* Increased padding for a better look */
  width: 100%;
  max-width: 450px;
}

/* Custom Loader Styles */
#page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(255 255 255);
  /* Semi-transparent black overlay */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1050;
}

.loader-spinner {
  border: 8px solid #d9d9d9;
  /* Light grey */
  border-top: 8px solid #28a745;
  /* Instock Farm green */
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 0.5s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Custom Alert Modal Styles */
#custom-alert-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  /* Semi-transparent black overlay */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1060;
  /* Above loader */
  display: none;
  /* Hidden by default */
}

.alert-modal-content {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
  max-width: 400px;
  text-align: center;
  position: relative;
}

.alert-modal-header {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  display: flex;
  /* Use flexbox for icon and title alignment */
  justify-content: center;
  align-items: center;
}

.alert-modal-header i {
  margin-right: 0.5rem;
}

/* Alert Type Colors */
.alert-success .alert-modal-header {
  color: #28a745;
}

/* Green */
.alert-warning .alert-modal-header {
  color: #ffc107;
}

/* Yellow */
.alert-error .alert-modal-header {
  color: #dc3545;
}

/* Red */

.alert-modal-body {
  margin-bottom: 1.5rem;
  color: #333;
}

.alert-modal-footer button {
  background-color: #28a745;
  border-color: #28a745;
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 0.3rem;
  cursor: pointer;
  transition: background-color 0.2s;
  margin: 0 0.25rem;
  /* Space between buttons */
}

.alert-modal-footer button:hover {
  background-color: #218838;
}

.alert-modal-footer .btn-cancel {
  background-color: #6c757d;
  /* Grey */
  border-color: #6c757d;
}

.alert-modal-footer .btn-cancel:hover {
  background-color: #5a6268;
  border-color: #545b62;
}

.logo-main img {
  height: 40px;
  margin-right: 5px;
  border-radius: 5px;
  clip-path: polygon(0% 0%, 100% 0%, 100% 80%, 70% 100%, 30% 100%, 0% 80%);
}
