.input-small {
    width: 150px; /* or whatever width suits your design */
    padding: 10px; /* Add padding for better appearance */
    font-size: 16px; /* Adjust font size for better readability */
}

/* styles.css */

/* Set a specific width for all input and text area elements */
input[type="text"],
input[type="email"],
input[type="date"],
textarea {
    width: 300px; /* Adjust the width as needed */
}

/* Optional: Set a maximum width */
input[type="text"],
input[type="email"],
input[type="date"],
textarea {
    max-width: 100%; /* Ensures responsiveness */
}

/* Optional: Add padding and margin for better spacing */
input[type="text"],
input[type="email"],
input[type="date"],
textarea {
    padding: 10px; /* Add some padding for better appearance */
    margin-bottom: 10px; /* Space between fields */
}


/* General Reset */
*,
*:before,
*:after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 15px;
  color: #333;
  background-color: #e3e3e3;
  padding: 2em;
}

h1 {
  color: #333;
  text-align: center;
  margin-bottom: 0.5em;
}

h2 {
  color: #666;
  text-align: center;
  margin-bottom: 2em;
}

h3 {
  color: #f0a500;
  margin-bottom: 0.5em;
}

form {
  background-color: #fff;
  padding: 2em;
  border-radius: 4px;
  box-shadow: 0px 3px 10px -2px rgba(0, 0, 0, 0.2);
  max-width: 900px;
  margin: auto;
}

label {
  display: block;
  margin-bottom: 0.5em;
  font-weight: bold;
}

input[type="text"],
input[type="email"],
input[type="date"],

textarea {
  width: calc(75% - 2em);
  padding: 1em;
  line-height: 1.4;
  background-color: #f9f9f9;
  border: 1px solid #e5e5e5;
  border-radius: 3px;
  margin-bottom: 1em;
  transition: border-color 0.35s ease-in-out;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="date"]:focus,
textarea:focus {
  border-color: #f0a500;
  outline: none;
}

textarea {
  resize: vertical;
}

input[type="radio"],
input[type="checkbox"] {
  display:none
}

.checkbox-group {
  margin-bottom: 20px;
}

/* Label styling for alignment and clarity */
.checkbox-group label {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  font-size: 16px;
  color: #333;
  cursor: pointer;
  position: relative;
}

/* Hide the default checkbox */
.checkbox-group input[type="checkbox"] {
  display: none !important;
}

/* Custom checkbox container */
.checkbox-group label::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid #007bff;
  border-radius: 3px;
  margin-right: 10px;
  background-color: #fff;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

/* Custom checkmark when checked */
.checkbox-group input[type="checkbox"]:checked + label::before {
  content: '✔';
  color: #fff;
  background-color: #007bff;
  border-color: #007bff;
  text-align: center;
  line-height: 18px;
  font-size: 14px;
}

/* Hover effect */
.checkbox-group label:hover::before {
  border-color: #0056b3;
}

/* Focus effect for accessibility */
.checkbox-group input[type="checkbox"]:focus + label::before {
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

input[type="radio"] + label,
input[type="checkbox"] + label {
  display: inline-block;
  width: auto;
  padding: 0.5em 1em;
  margin-right: 0.5em;
  border: 1px solid #e5e5e5;
  border-radius: 3px;
  background-color: #f9f9f9;
  cursor: pointer;
  transition: background-color 0.35s ease-in-out, color 0.35s ease-in-out;
}

input[type="radio"]:checked + label,
input[type="checkbox"]:checked + label {
  background-color: #f0a500;
  color: #fff;
  border-color: #bd8200;
}

input[type="checkbox"] + label:before {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-right: 0.5em;
  background-color: #fff;
  border: 1px solid #e5e5e5;
  vertical-align: middle;
}

input[type="checkbox"]:checked + label:before {
  background-color: #f0a500;
  border-color: #bd8200;
}

input[type="checkbox"] + label:after {
  content: "\f00c"; /* FontAwesome checkmark */
  font-family: FontAwesome;
  color: #fff;
  font-size: 0.8em;
  position: absolute;
  top: 0.15em;
  left: 0.2em;
  opacity: 0;
  transition: opacity 0.35s ease-in-out;
}

input[type="checkbox"]:checked + label:after {
  opacity: 1;
}

input[type="radio"] + label i,
input[type="checkbox"] + label i {
  padding-right: 0.4em;
}

input[type="radio"] + label:first-of-type {
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
}

input[type="radio"] + label:last-of-type {
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
}
button {
  background: linear-gradient(to right, #f0a500, #bd8200);
  color: #fff;
  border: none;
  padding: 1em;
  border-radius: 3px;
  cursor: pointer;
  font-size: 1em;
  transition: background-color 0.35s ease-in-out;
}

button:hover {
  background: linear-gradient(to right, #bd8200, #f0a500);
}
/* Adding space and styling for the PDF list */
ul {
  list-style-type: none;
  padding: 0;
  margin-top: 1em;
}

ul li {
  margin-bottom: 1em; /* Adjust space between list items */
  padding: 0.5em;
  background-color: #fff;
  border-radius: 4px;
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1);
}

ul li a {
  text-decoration: none;
  color: #007bff;
  font-weight: bold;
  transition: color 0.3s ease-in-out;
}

ul li a:hover {
  color: #0056b3;
}

/* Positioning buttons at the top-right corner */
.top-right-buttons {
  position: absolute;
  top: 20px;
  right: 20px;
}

button,
a.button {
  margin-top: 1em;
}
/* Style the dropdown (select element) */
select {
  padding: 1em;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  background-color: #f9f9f9;
  color: #333;
  font-size: 15px;
  transition: border-color 0.35s ease-in-out;
}

select:focus {
  border-color: #f0a500;
  outline: none;
}

/* Styling the options */
option {
  background-color: #fff;
  color: #333;
  padding: 0.5em;
}
.small-width {
  width: 150px; /* Adjust to your desired small width */
  padding: 0.5em;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  background-color: #f9f9f9;
  color: #333;
  font-size: 15px;
  transition: border-color 0.35s ease-in-out;
}

.small-width:focus {
  border-color: #f0a500;
  outline: none;
}