@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans&display=swap");

body {
  background: #111;
  font-family: "DM Sans", sans-serif;
  color: #292929;
  padding-bottom: 20px;
}

.navbar {
  margin-bottom: 20px;
}

a {
  color: #111;
  text-decoration: none;
}

a:hover {
  color: #000;
  text-decoration: underline;
}

.wrapper {
  align-items: center;
}

.body_wrap {
  background-color: #eee;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  min-height: 400px;
  padding-bottom: 20px;
  min-height: calc(100vh - 140px);
}

.header-container {
  background: radial-gradient(circle, white 40%, #8bc5ff 100%);
}

/* Logoframe container for centering and responsive sizing */
.logoframe {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 100%;
  padding: 20px 0;
}

/* Logo with auto-sizing and background image */
.logo {
  width: 100%;
  height: auto;
  max-width: 400px; /* Maximum size */
  max-height: 100px;
  min-width: 200px; /* Minimum size */
  min-height: 50px;
  background-image: url("/images/autobackdroplogo.svg");
  background-size: contain;
  background-repeat: no-repeat; /* Prevents tiling */
  background-position: center;
}

.footer {
  color: #eee;
  padding: 20px 15px;
  align-items: center;
}

.footer2 {
  color: #ccc;
  padding-top: 15px;
  font-size: 12px;
}

.footer a {
  color: #eee;
  text-decoration: none;
  padding: 0 5px;
}

.footer a:hover {
  color: #fff;
  text-decoration: underline;
}

h4 {
  font-family: "Bebas Neue", Arial;
  text-align: center;
  font-size: 32px;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: grid;
  grid-template-columns: 1fr max-content 1fr;
  gap: 15px;
  align-items: center;
  margin-top: 20px;
  margin-bottom: 10px;
  color: #0066cc; /* Blue text color */
}

h4:before,
h4:after {
  content: " ";
  display: block;
  border-bottom: 5px solid #0066cc; /* Thicker blue border */
  height: 8px;
  background-color: #e6f2ff; /* Light blue background */
}

p {
  margin-top: 0;
}

.info,
.success,
.warning,
.error,
.validation {
  border: 1px solid;
  margin: 10px auto;
  padding: 15px 10px 15px 50px;
  background-repeat: no-repeat;
  background-position: 10px center;
  max-width: 460px;
}

.error {
  color: #ffffff;
  background-color: #790000;
  background-image: url("/images/error_icon.png");
}

.debug {
  background: #fff;
}

.form-style {
  margin: 10px auto;
  max-width: 400px;
  padding: 10px 15px;
  background-color: #c0c0c0; /* Light blue background */
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 255, 0.1);
}

.form-style li {
  padding: 0;
  display: block;
  list-style: none;
  margin: 10px 0;
}

.form-style label {
  margin: 0 0 3px;
  padding: 0;
  display: block;
  font-weight: bold;
  color: #0066cc; /* Blue label text */
}

.form-style input[type="text"],
.form-style input[type="date"],
.form-style input[type="datetime"],
.form-style input[type="number"],
.form-style input[type="search"],
.form-style input[type="time"],
.form-style input[type="url"],
.form-style input[type="email"],
textarea,
select {
  box-sizing: border-box;
  border: 1px solid #0066cc; /* Blue border */
  padding: 8px;
  margin: 0;
  border-radius: 5px;
  transition: box-shadow 0.3s ease-in-out, border 0.3s ease-in-out;
}

.form-style input[type="text"]:focus,
.form-style input[type="date"]:focus,
.form-style input[type="datetime"]:focus,
.form-style input[type="number"]:focus,
.form-style input[type="search"]:focus,
.form-style input[type="time"]:focus,
.form-style input[type="url"]:focus,
.form-style input[type="email"]:focus,
.form-style textarea:focus,
.form-style select:focus {
  box-shadow: 0 0 8px rgba(0, 102, 204, 0.5); /* Blue shadow on focus */
  border: 1px solid #005bb5; /* Darker blue border on focus */
}

.form-style .field-divided {
  width: 49%;
}

.form-style .field-long,
.form-style .field-select,
.form-style .field-textarea {
  width: 100%;
}

.form-style .field-textarea {
  height: 100px;
}

.form-style input[type="submit"],
.form-style input[type="button"],
#submit_button {
  background: #0066cc; /* Blue button background */
  padding: 8px 15px;
  border: none;
  color: #fff;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.form-style input[type="submit"]:hover,
.form-style input[type="button"]:hover,
#submit_button:hover {
  background: #005bb5; /* Darker blue on hover */
}

.form-style .required {
  color: #9e0000; /* Red for required fields */
}
