.franchise-opportunities {
  background-color: #85080b;
  padding-top: 60px;
  margin-top: 60px;
  align-items: center;
  margin: auto;
  justify-content: center;
  display: flex;
}

.franchise-opportunities-content {
  padding-top: 50px;
  padding-bottom: 70px;
  display: flex;
  flex-direction: column;
  max-width: 1280px;
  padding-left: 20px;
  padding-right: 20px;
}

.franchise-opportunities-content-header {
  padding-top: 40px;
  padding-bottom: 40px;
}

.franchise-opportunities-content-header h1 {
  text-align: end;
}

.car-icon {
  text-align: end;
  transform: translateY(-50%);
}

.franchise-opportunities-divider-separator {
  position: relative;
}

.franchise-opportunities-divider-separator::before {
  position: absolute;
  width: 65%;
  display: block;
  content: "";
  border-block-end: 0;
  flex-grow: 1;
  right: 30px;
  border-block-start: 2px solid #5b0507;;
}

.franchise-opportunities-body {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.franchise-opportunities-body-content {
  display: flex;
  flex-direction: column;
  width: 50%;
}

.franchise-opportunities-body-form {
  display: flex;
  flex-direction: column;
  width: 50%;
}

.franchise-opportunities-body-content {
  gap: 15px;
}

.franchise-opportunities-body-content-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border-radius: 10px;
  background-color: #d8d9e9;
  gap: 20px;
}

.franchise-opportunities-body-content-item h1 {
  color: #85080b;
  font-size: 30px;
  font-weight: 700;
  padding: 15px 0px;
}

.franchise-opportunities-body-content-item h2 {
  color: #85080b;
  font-size: 19px;
  font-weight: 700;
  padding: 10px 5px;
}

.franchise-opportunities-body-content-item p {
  color: #85080b;
  font-size: 16px;
  font-weight: 400;
  padding: 10px 5px;
  line-height: 1.5;
}

.franchise-opportunities-body-content-item-text {
  padding-bottom: 15px;
}

.franchise-opportunities-body-form {
  display: flex;
  flex-direction: column;
  padding: 20px;
  background-color: #d8d9e9;
  border-radius: 10px;
}

.franchise-opportunities-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-block: 1rem;
}

.franchise-opportunities-body-form-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.franchise-opportunities-body-form-item label {
  font-size: 14px;
  font-weight: 600;
  text-align: start !important;
}

.franchise-opportunities-body-form-item input {
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 3px;
  border: none;
}
.form-control{
    display: block;
    padding: 0.375rem 0.75rem !important;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    font-family: inherit;
    color: #212529;
    background-color: white;
    background-clip: padding-box;
    border: 3px solid #294e98;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0.375rem;
	min-height:26.88px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.franchise-opportunities-body-form-item input:focus {
  outline: none;
  border: 1px solid #0073aa;
  border-style: dotted;
}

.franchise-opportunities-body-form-item button {
  background-color: #85080b;
  color: #fff;
  padding: 15px;
  border-radius: 3px;
  border: none;
  font-size: 16px;
  font-weight: 600;
}
.franchise-opportunities-form-select label {
  font-size: 14px;
  font-weight: 600;
  text-align: start;
}
.franchise-radio-options {
  display: flex;
  margin-bottom: 1rem;
}
.franchise-radio-option {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-inline: 1rem;
}
.franchise-radio-option input {
  margin: 0;
}
.franchise-radio-option input[type="radio"] {
  width: 1rem;
  height: 1rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .franchise-opportunities-body {
    flex-direction: column;
    align-items: center;
  }

  .franchise-opportunities-body-content {
    align-items: center;
    width: 80%;
  }
  .franchise-opportunities-body-form {
    width: 80%;
  }

  .franchise-opportunities-content-header h1 {
    text-align: center;
  }
  .franchise-opportunities-divider-separator::before {
    width: 95%;
  }
  .franchise-opportunities-body-content-item {
    width: 105%;
  }

  .franchise-opportunities-container {
    display: flex;
    flex-direction: column;
    margin-block: 1rem;
  }
}

.form-select {
  display: block;
  width: 100%;
  height: auto;
  padding: 0.465rem 2.25rem 0.465rem 0.75rem;
  -moz-padding-start: calc(0.75rem - 3px);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  font-family: inherit;
  color: #212529;
  background-color: #ffffff;
  background-image: url(../images/down-arrow.svg),
    var(--bs-form-select-bg-icon, none);
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
  border: none;
  border-radius: 3px;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.form-select:focus {
  box-shadow: none;
}

.form-select option[value=""] {
  color: #999;
  font-size: 16px;
}

.form-select option {
  color: #333;
  font-size: 16px;
  padding-top: 10px;
  padding-bottom: 40px;
  line-height: 3em;
}

.status-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.form-status-container {
  width: 100%;
  padding: 30px;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  min-height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.status-message {
  width: 100%;
  max-width: 500px;
  padding: 20px;
}

.status-message h3 {
  font-size: 24px;
  margin-bottom: 15px;
  font-weight: bold;
}

.status-message p {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 25px;
  color: #85080b;
}

.loading-spinner {
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  border-top: 4px solid #39b54a;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 20px auto;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.status-message.success h3 {
  color: #39b54a;
}

.status-message.error h3 {
  color: #e74c3c;
}

.return-button {
  background-color: #85080b;
  color: white;
  border: none;
  padding: 15px 25px;
  font-size: 16px;
  border-radius: 3px;
  font-weight: 600px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.return-button:hover {
  background-color: #85080b;
}
