/* General Styles */
body {
  background-color: #f4f7f6;
  font-family: 'Arial', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  padding: 20px;
}

/* Styling for the information icons */
.info-icon {
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  color: #28a745;
  margin-left: 5px;
  display: inline-block;
}

/* Modal styling */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
}

.modal img {
  display: block;
  max-width: 90%;
  margin: 100px auto;
}

.close-button {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 30px;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
}


/* Form Container Styling */
.form-container {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  padding: 40px;
  max-width: 700px;
  width: 100%;
}

/* Logo Container Styling */
.logo-container {
  text-align: center;
  margin-bottom: 20px;
}

.logo-container img {
  max-width: 100%;
  height: auto;
  width: 300px; /* Adjust this width as needed */
}

/* Fieldset Styling */
fieldset {
  border: 2px solid #ddd;
  border-radius: 5px;
  padding: 20px;
  margin-bottom: 20px;
}

legend {
  font-weight: bold;
  padding: 0 10px;
}

/* Form Row Layout */
.form-row {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

/* Input, Select, and Button Styling */
input, select, button {
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ddd;
  font-size: 16px;
}

/* Checkbox Container Styling */
.checkbox-container {
  margin: 20px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid #ddd;
  padding-top: 10px;
}

.checkbox-container input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.checkbox-container label {
  font-size: 16px;
  font-weight: normal;
  cursor: pointer;
}

/* Hidden Class for Toggling */
.hidden {
  display: none;
}

.equipment-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
}

.equipment-row label {
  font-size: 18px;
  font-weight: bold;
  flex: 1;
  margin-right: 15px;
}

.equipment-row input[type="number"] {
  width: 60px;
  font-size: 18px;
  text-align: center;
  -moz-appearance: textfield;
}

.quantity-input {
  display: flex;
  align-items: center;
  gap: 5px;
  background-color: #f1f1f1;
  border-radius: 10px;
  padding: 5px;
  max-width: 150px;
}

.quantity-btn {
  background-color: #28a745;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 18px;
  width: 35px;
  height: 35px;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s;
}

.quantity-btn:hover {
  background-color: #218838;
}

.quantity-btn:active {
  background-color: #1e7e34;
}

input[type="number"] {
  width: 50px;
  border: none;
  background: transparent;
  text-align: center;
  font-size: 18px;
  outline: none;
}


/* Amount Label Styling */
.amount-label {
  font-size: 24px;
  text-align: center;
  margin-top: 15px;
  font-weight: bold;
  color: #333;
}

/* Agreement Text Styling */
.agreement-text {
  margin: 20px 0;
  font-size: 14px;
  line-height: 1.5;
  color: #555;
}

/* Signature Pad Styling */
#signature-pad {
  border: 2px dashed #ddd;
  height: 250px;
  width: 100%; /* Ensures it fills the parent container */
  display: block;
  touch-action: none; /* Improves touch support on tablets */
}

/* Button Styling */
button[type="submit"], button[type="button"] {
  background-color: #28a745;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 18px;
  padding: 10px;
  border-radius: 5px;
  width: 100%;
  transition: background-color 0.3s;
  margin-top: 10px;
}

button[type="submit"]:hover {
  background-color: #218838;
}

button[type="button"]:hover {
  background-color: #c82333;
}
