body {
  background-color: #edf6f1;
  color: #152f2a;
  font-family: 'Source Sans Pro', sans-serif;
}

.registration-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 60px); /* Adjust based on your navbar height */
  background-color: #edf6f1;
  padding: 20px 0;
}

.registration-card {
  width: 100%;
  max-width: 500px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.registration-header {
  background-color: #152f2a;
  color: #ffffff;
  padding: 20px;
  text-align: center;
}

.registration-header h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
}

.registration-body {
  padding: 30px;
}

.registration-form .form-group {
  margin-bottom: 20px;
}

.registration-form .form-label {
  display: block;
  margin-bottom: 5px;
  color: #152f2a;
  font-weight: 500;
}

.registration-form .form-control {
  width: 100%;
  padding: 10px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.registration-form .form-control:focus {
  border-color: #28a745;
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.registration-form .btn-primary {
  background-color: #28a745;
  border-color: #28a745;
  color: #ffffff;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 600;
  width: 100%;
  transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

.registration-form .btn-primary:hover {
  background-color: #218838;
  border-color: #1e7e34;
}

.registration-footer {
  background-color: #f8f9fa;
  border-top: 1px solid #e9ecef;
  padding: 15px;
  text-align: center;
}

.registration-footer a {
  color: #28a745;
  text-decoration: none;
  transition: color 0.15s ease-in-out;
}

.registration-footer a:hover {
  color: #218838;
  text-decoration: underline;
}

.text-danger {
  color: red;
}
.is-invalid {
  border-color: red;
}
.invalid-feedback {
  color: red;
  display: block; /* Ensure the message is visible */
}
 
@media (max-width: 576px) {
  .registration-card {
    border-radius: 0;
    box-shadow: none;
  }
  
  .registration-container {
    align-items: flex-start;
    padding-top: 20px;
  }
}