/* General Body Style */
body {
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  padding: 20px;
  background-color: #156082;
}

/* Form Container */
.form-container {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

/* Logo, Language Selector, and Catchline */
.logo-container {
  text-align: center;
  margin-bottom: 20px;
}

.logo-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.logo {
  width: 180px;
  height: auto;
}

.language-selector-inside {
  background-color: #007bff; /* Blue background */
  border-radius: 5px;
  padding: 5px 8px;
}

.language-selector-inside select {
  background: none;
  color: white;
  border: none;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
}
.language-selector-inside select:focus {
  outline: none;
}

.catchline {
  font-size: 18px;
  color: #003366;
  margin-top: 10px;
  font-weight: bold;
}

/* Form Titles */
h1 {
  text-align: center;
  margin-bottom: 20px;
  color: #003366;
}

h2 {
  margin-top: 30px;
  color: #00509e;
  font-size: 20px;
}

/* Labels and Inputs */
label {
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
  margin-top: 15px;
}

input, select, textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
}

/* Help Section (Dispatch Contact Info) */
.help-section {
  background-color: #f5f5f5;
  padding: 15px;
  margin-top: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  text-align: center;
}
.help-section p {
  margin: 5px 0;
}

/* Submit Button */
button {
  margin-top: 30px;
  width: 100%;
  background-color: #ff6600;
  color: white;
  padding: 15px;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

button:hover {
  background-color: #cc5200;
}

/* Grouped Dimensions (Length, Width, Height) */
.dimensions-group {
  display: flex;
  gap: 10px;
  margin-top: 5px;
}

.dimensions-group input {
  flex: 1;
}

/* Grouped Field Styling (Name, City/State/Zip, etc.) */
.field-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.field-group > div {
  flex: 1;
  min-width: 0;
}

/* Responsive Rules: Stack fields vertically on Mobile */
@media (max-width: 767px) {
  .field-group {
    flex-direction: column;
  }
  .dimensions-group {
    flex-direction: column;
  }
}

/* Expand Form Wider on Desktop */
@media (min-width: 992px) {
  .form-container {
    max-width: 1100px;
  }
}
