/* Reset some basic elements */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

.footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 20px;
  position: fixed;
  bottom: 0;
  width: auto;
  left: auto;
  word-wrap: break-word;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

/* Set a background color and use a Google font */
body {
  background-color: #f4f7f6;
  font-family: 'Roboto', sans-serif;
}

/* Basic styling for the login wrapper */
.login-wrapper {
  width: 100%;
  max-width: 400px;
  margin: 5% auto;
  padding: 2rem;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h1 {
  color: #333;
  text-align: center;
  margin-bottom: 2rem;
}

/* Style the form controls */
.form-control {
  margin-bottom: 1rem;
}

.label {
  margin-bottom: 0.5rem;
  color: #666;
  display: block;
}

.input {
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 0.75rem;
  width: 100%;
}

.input:focus {
  border-color: #3498db;
  outline: none;
}

/* Button styling */
.btn-primary {
  display: inline-block;
  background-color: #3498db;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: #2980b9;
}

/* Google reCAPTCHA widget */
.g-recaptcha {
  margin: 1rem 0;
}

/* Error message styling */
.alert-danger {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
  padding: 0.75rem;
  margin-top: 1rem;
  border-radius: 4px;
}

/* Responsive Media Queries */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) { 
  /* Your styles here */
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) { 
  /* Your styles here */
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) { 
  /* Your styles here */
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) { 
  /* Your styles here */
}

/* Custom utility classes for width and max-width */
.w-full {
  width: 100%;
}

.max-w-xs {
  max-width: 20rem; /* Typically 320px */
}
/* Responsive Form */
@media (max-width: 480px) {
  .login-wrapper {
      width: 95%;
      margin: 10px auto;
  }

  /* Increase font size for input fields and textarea */
  .input {
      font-size: 16px; /* Ensuring a minimum font size of 16px on mobile devices */
  }
}

/* Responsive Textarea */
textarea.input {
  resize: vertical; /* Allows vertical resizing, generally a good UX choice for textareas */
}