/* === Conteneur du formulaire === */
#tow-guide-form,
.tow-guide-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#tow-guide-form > div,
.tow-guide-form > div {
  display: flex;
  justify-content: space-between;
  gap: 15px;
}

/* === Groupes inputs (label + select) === */
.tow-input {
  display: flex;
  flex-direction: column;
}

/* Taille des champs */
.tow-input {
  flex: 1;
}

/* Style des <select> */
#tow-guide-form select,
.tow-guide-form select {
  padding: 8px 12px;
  font-size: 17px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #fff;
  transition: border-color 0.2s;
}

#tow-guide-form select:disabled,
.tow-guide-form select:disabled {
  background-color: #f5f5f5;
  color: #999;
  cursor: not-allowed;
}

/* === Bouton "Search" === */
#tow-guide-form button[type="submit"],
.tow-guide-form button[type="submit"] {
  width: 100%;
  padding: 0.75rem;
  background-color: #ffc100;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background 0.3s;
}

#tow-guide-form button[type="submit"]:hover,
.tow-guide-form button[type="submit"]:hover {
  background-color: #000000;
}


#tow-guide-form button[type="submit"]:disabled,
.tow-guide-form button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

#tow-guide-form button[type="submit"] i,
.tow-guide-form button[type="submit"] i {
  font-size: 18px;
}

#tow-guide-results {
}

.tow-guide-note {
	margin: 0 50px 20px;
	text-align: center;
	font-size: 16px;
	line-height: 1.5;
	color: #666;
}

.tow-guide-note-warning {
	color: #8a6d00;
}

.vehicle {
	font-size: 35px;
	line-height: 45px;
	padding: 50px;
	text-transform: uppercase;
	text-align: center;
}

.find-rv {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: row;
	gap: 10px;
	padding: 20px;
}

.max-towing {
	width: 50%;
	font-size: 25px;
	line-height: 45px;
	text-transform: uppercase;
	color: #ffc100;
	font-weight: bold;
	text-align: center;
}

.tow-rv-button {
	width: 50% !important;
	background-color: #191919 !important;
	border: 1px solid #191919 !important;
	color: white !important;
	font-size: 25px !important;
	text-transform: uppercase !important;
	font-weight: bold !important;
	border-radius: 30px !important;
	white-space: normal !important;
}

.tow-rv-button:hover {
	background-color: #ffc100 !important;
	border: 1px solid #ffc100 !important;
}

/* === Responsive : mobile/tablette === */
@media (max-width: 768px) {
	#tow-guide-form > div,
	.tow-guide-form > div {
		flex-direction: column;
		flex-wrap: wrap;
		gap: 20px;
	}

	.tow-input,
	.tow-rv-button, .max-towing {
		width: 100%;
	}
	
	.find-rv{
		flex-direction: column;
	}	
	
	.vehicle{
		font-size:25px;
		padding: 50px 20px 20px 20px;
	}
	
	.tow-rv-button, .max-towing{
		font-size: 20px !important;
		width: 100% !important;
	}
}

.xprss-tow-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 40px;
  margin: 0;
  padding: 8px 12px;
  border: 0;
  border-radius: 4px;
  background: #191919;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
}

button.xprss-tow-cta:hover,
button.xprss-tow-cta:focus-visible {
  background: #ffc100;
  color: #191919;
}

.xprss-tow-modal[hidden] {
  display: none !important;
}

.xprss-tow-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.xprss-tow-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.xprss-tow-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: min(90vh, 800px);
  overflow: auto;
  background: #fff;
  color: #111;
  border-radius: 12px;
  padding: 28px 20px 20px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

.xprss-tow-modal__close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #111;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.xprss-tow-modal__title {
  margin: 0 32px 16px 0;
  font-size: 20px;
  line-height: 1.3;
}

body.xprss-tow-modal-open {
  overflow: hidden;
}
