body {
  font-family: Arial, sans-serif;
  background-color: #c1ac69;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  padding: 20px;
  box-sizing: border-box;
}

.container {
  display: flex;
  flex-direction: row; 
  background-color: #005e36;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 1200px;
  overflow: hidden;
}

.image-container {
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.image-container img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.form-container {
  width: 50%;
  padding: 30px;
  color: #f5f5f5;
}

h2 {
  text-align: center;
  color: #f5f5f5;
  margin-top: 0;
  font-size: 24px;
}

label {
  display: block;
  margin-top: 10px;
  color: #f5f0f0;
}

input, select, button {
  width: 100%;
  padding: 12px;
  margin-top: 5px;
  border-radius: 4px;
  border: 1px solid #ccc;
  box-sizing: border-box;
  font-size: 16px;
}
input:invalid, select:invalid {
  border-color: red;
}

button {
  background-color: #007BFF;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  border: none;
  margin-top: 10px;
}

button:hover {
  background-color: #0056b3;
}

.compact-fields {
  display: flex;
  gap: 10px;
}

.compact-fields input {
  width: 100%;
}

.step {
  display: none;
}

.step.active {
  display: block;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  max-width: 500px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}


@media (max-width: 768px) {
  .container {
    flex-direction: column; 
    margin: 0 auto;
    padding: 0;
  }

  .form-container {
    width: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  h2 {
    text-align: center;
    font-size: 20px;
    margin-bottom: 20px;
  }

  .form-container input, 
  .form-container select, 
  .form-container button {
    width: 90%;
    max-width: 400px;
    padding: 12px;
    font-size: 14px;
    margin-bottom: 10px;
  }

  .compact-fields {
    flex-direction: column;
    gap: 5px;
    width: 100%;
    align-items: center;
  }

  .compact-fields input {
    width: 90%;
    max-width: 400px;
  }

  .image-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    order: 2;
  }

  .image-container img {
    width: 90%;
    max-width: 400px;
    height: auto;
    object-fit: contain;
  }
}
