@font-face {
  font-family: "OCR";
  src: url("fonts/OCR A Extended Regular.ttf") format("truetype");
}

@font-face {
  font-family: "MyriadPro";
  src: url("fonts/MyriadPro-Light.otf") format("opentype");
}

@font-face {
  font-family: "Gothic";
  src: url("fonts/Century Gothic.otf") format("opentype");
}

.nebraska,
.newyork {
  font-family: "Courier New", Courier, monospace;
}

.ga {
  font-family: "MyriadPro";
}

.arkansas,
.california,
.indiana {
  font-family: "OCR";
}

.washington,
.illinois {
  font-family: "Courier";
}

.viginia {
  font-family: "Lucida Sans Unicode";
}

.texas {
  font-family: "Gothic";
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
  min-height: 100vh;
}

.wrapper {
  max-width: 80%;
  height: 100vh;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar {
  min-width: 200px;
  width: 200px;
  height: 90vh;
  padding: 40px 30px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
}

.list-group {
  overflow-y: auto;
}

.list-group li {
  padding: 10px 0px;
}

.list-group li a {
  color: black;
  text-decoration: none;
}

.container {
  max-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

h2 {
  background-color: #fff;
  padding-bottom: 20px;
}

.form-container {
  width: 350px;
  padding: 40px 30px;
  overflow-y: auto;
  height: 90vh;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.preview-container {
  flex: auto;
  height: 90vh;
  padding: 20px;
  overflow-y: auto;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

h3 {
  text-align: center;
  margin: 0;
}

.form-group {
  margin-bottom: 20px;
}

#card-field {
  width: 6.67in;
  height: 6.5in;
  position: relative;
  margin: 40px;
}

.back-img {
  position: absolute;
  width: 100%;
  height: 100%;
}

.field-item {
  position: absolute;
}

#additional_notes {
  width: 100%;
  height: 150px;
  padding: 10px;
  resize: vertical;
  /* Allows vertical resizing */
  border: 1px solid #ccc;
  font-size: 14px;
  line-height: 1.5;
}

/* Optional: Style for the label */
label[for="additional_notes"] {
  font-weight: bold;
  margin-bottom: 5px;
  display: block;
}

label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
input[type="file"] {
  width: 100%;
  padding: 5px 10px;
  border-radius: 4px;
  border: 1px solid #ccc;
}

input[type="submit"] {
  width: 100%;
  padding: 12px;
  background-color: #4caf50;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
}

input[type="submit"]:hover {
  background-color: #45a049;
}

button {
  width: 100%;
  min-height: 40px;
  padding: 10px 20px;
  margin: 0px;
  cursor: pointer;
  border-radius: 5px;
  background-color: #007bff;
  /* Change button color */
  color: white;
  border: none;
}

.flex {
  display: flex;
  align-items: center;
  gap: 10px;
}

.no-border {
  border: none !important;
}

#loading-spinner {
  z-index: 1;
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  background-color: #000000b0;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  gap: 10px;
}

#progress-wrapper {
  width: 400px;
}

#image-container {
  text-align: center;
}

.handwritten {
  font-family: 'Patrick Hand', cursive;
}

.signature {
  font-family: 'Great Vibes', cursive;
}

.printed {
  font-family: 'Roboto', sans-serif;
}

fieldset {
  border: 2px solid #ccc;
  padding: 10px;
  margin-bottom: 20px;
}

legend {
  font-weight: bold;
}