* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f8f9fa;
}

.main-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  min-height: 100vh;
  padding: 20px;
  gap: 30px;
  flex-wrap: wrap;
}

.left-image {
  flex: 1 1 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.left-image img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 10px;
}

.form-section {
  flex: 1 1 350px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  padding: 20px;
  max-width: 600px;
}

.title {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.form-field {
  margin-bottom: 15px;
}

label {
  font-weight: 600;
  margin-bottom: 5px;
  display: block;
}

input.input-text,
input[type="email"],
input[type="text"],
input[type="date"],
input[type="number"],
select {
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  transition: 0.2s border-color;
}

input:focus,
select:focus {
  border-color: #007bff;
  outline: none;
}

.submit-btn {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
}

.submit-btn:hover {
  background-color: #0056b3;
}

@media (max-width: 768px) {
  .main-container {
      flex-direction: column;
      padding: 10px;
      gap: 20px;
  }

  .form-section {
      width: 100%;
  }

  .left-image {
      justify-content: center;
  }

  .left-image img {
      max-width: 200px;
  }

  .title {
      font-size: 1.5rem;
  }
}