.form-card {
  width: 100%;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 20px 40px -10px rgba(0, 20, 30, 0.11);
  padding: 1rem 1.5rem;
  transition: all 0.2s;
       border: 1px solid rgba(0, 0, 0, 0.15);
}
h1 {
  font-weight: 600;
  margin-bottom: 1.8rem;
  letter-spacing: -0.02em;
  border-left: 6px solid #023e83;
  padding-left: 1rem;
}
.form-grid {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.field-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-end;
}
.field-group {
  flex: 1 1 calc(50% - 0.5rem);
  min-width: 200px;
  display: flex;
  flex-direction: column;
}
.field-group.full-width {
  flex: 1 1 100%;
}
label {
  font-weight: 600;
  font-size: 0.85rem;

  letter-spacing: 0.3px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 4px;
}
label .asterisk {
  color: #c73a3a;
  font-size: 1.2rem;
  line-height: 1;
  margin-left: 2px;
}
input,
select,
.flatpickr-input {
  background: #f9fcff;
  border: 1.5px solid #dce7ed;

  padding:4px 13px;
  font-size: 0.95rem;
  transition: 0.15s;
  outline: none;
  width: 100%;
    color: #103e4d;
}
input:focus,
select:focus {
  border-color: #023e83;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(43, 122, 138, 0.1);
}
input::placeholder {
  color: #90a9b7;
  font-weight: 300;
  font-size: 0.9rem;
}
/* inline small hint (like mobile example) */
.hint-text {
  font-size: 0.75rem;
  color: #90a9b7;
  margin-top: 0.2rem;
  margin-left: 0.5rem;
}
.machine-block {
  background: #f3f8fc;
  border-radius: 20px;
  padding: 1.5rem 1.5rem 0.8rem 1.5rem;

  border-left: 4px solid #023e83;
}
.machine-title {
  font-weight: 700;

  margin-bottom: 1.2rem;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.machine-title span {
  background: #023e83;
  color: white;
  border-radius: 30px;
  padding: 0.2rem 0.9rem;
  font-size: 0.8rem;
}
.checkbox-group {
  background: #f9fcff;
  border-radius: 18px;
  padding: 1.3rem 1.5rem;
  border: 1.5px solid #dce7ed;
  margin: 0.5rem 0 1rem;
}
.checkbox-title {
  font-weight: 600;
 
  margin-bottom: 1rem;
  font-size: 0.98rem;
  display: flex;
  align-items: center;
}
.checkbox-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem 2rem;
  align-items: center;
}
.checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.95rem;
  
}
.checkbox-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #023e83;
  border-radius: 5px;
}
.date-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.date-field {
  flex: 1 1 250px;
}
.recaptcha-wrapper {
  /* margin: 1.8rem 0 1.5rem; */
  display: flex;
  justify-content: flex-start;
}
.submit-btn {
  background-color: #e61e2d;

  text-decoration: none;
  border: none;
  cursor: pointer;
  transition:
    background-color 0.2s,
    transform 0.1s;
  box-shadow: 0 6px 14px rgba(247, 116, 116, 0.35);

  align-self: flex-start;
  margin-top: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);

  display: inline-block;
  overflow: hidden;
  vertical-align: middle;
  font-size: 16px;
  line-height: 26px;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  color: #fff !important;
  text-align: center;
  padding: 12px 36px;

  text-transform: uppercase;
}
.submit-btn:hover {
  background-color: #cf1b28;
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(247, 116, 116, 0.35);
}
.error-message {
  color: #c73a3a;
  font-size: 0.75rem;
  font-weight: 500;
  min-height: 1.2rem;
}
input.error,
select.error,
.flatpickr-input.error {
  border-color: #c73a3a;
  background: #fff7f7;
}
.required-hint {
  font-size: 0.75rem;
  color: #b22222;
  margin-left: 0.2rem;
}
hr {
  border: 1px solid #e0edf2;
  margin: 0.5rem 0;
}
