body {
   background-color: #007bff;
}
/* Wrapper Styling */
.container {
   height: 100vh; /* Ensure full screen height */
   background-color: #007bff;
}

/* Register Section Styling */
.register-section {
   width: 100%;
   max-width: 400px; /* Set a max-width to make the form more compact */
   margin: auto; /* Center the section in the viewport */
}

.register-section .card {
   background-color: #ffffff;
   border-radius: 10px;
   box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
   padding: 0.5rem; /* Reduce padding to make the card more compact */
   width: 100%; /* Ensure the card takes the full width of the parent */
   height: auto; /* Allow the height to adjust based on content */
}

/* Text Styling */
.register-section h4 {
   color: #212529;
   font-weight:bold;
}

.register-section .text-center {
   color: #007bff;
}

.register-section .link-primary {
   color: #007bff;
}

/* Form Styling */
.register-section .form-label {
   color: #212529;
   font-weight: 500;
}

.register-section .form-control {
   border-color: #6c757d;
   border-radius: 8px;
   padding: 0.5rem; /* Reduce padding to make the form inputs shorter */
   font-size: 1rem;
}

/* Button Styling */
.register-section .btn-primary {
   background-color: #007bff;
   border: none;
   border-radius: 8px;
   font-size: 1rem;
   padding: 0.75rem;
   transition: background-color 0.3s ease;
}

.register-section .btn-primary:hover {
   background-color: #0056b3;
}

/* Link Styling */
.register-section a.text-center {
   font-size: 0.9rem;
}

.register-section a.text-center:hover {
   color: #007bff;
   text-decoration: underline;
}

/* Styles for the error/success messages */
.text-danger, .text-success {
   font-weight: bold;
   margin-top: 1rem;
}

/* Responsive Adjustments */
@media (min-width: 992px) {
   .register-section h3 {
       font-size: 2.5rem;
   }

   .register-section .btn-primary {
       font-size: 1.1rem;
   }
}