
body {
  margin: 0;
  font-family: sans-serif;
  background: linear-gradient(135deg, #3085E9 0%, #2A9CB3 35%, #28A89A 65%, #22C164 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.card {
  display: flex;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
  width: 700px;
  height: auto;
}

.card-img{
  flex: 1;
}

.card-img img{
  width:100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.card-form {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-form h1 {
  margin-bottom: 20px;
  font-size: 24px;
  color: #333;
  text-align: center;
}

.card-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.card-form .form-row {
  display: flex;
  gap: 10px;
}

.card-form .form-row input{
  flex: 1;
  text-align: center;
  min-width: 100px;
}

.card-form input{
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  width: 100%;
  box-sizing: border-box;
}

.form-row select{
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  width:  25%;
  box-sizing: border-box;
}

.card-form input:focus {
  border-color: #3085E9;
  box-shadow: 0 0 6px rgba(48, 133, 233, 0.4);
}

.card-form button {
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #3085E9, #22C164);
  color: white;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
  width: 100%;
}

.card-form button:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

.card-form p {
  margin-top: 10px;
  font-size: 14px;
  text-align: center;
  color: #555;
}

.card-form a {
  color: #3085E9;
  font-weight: bold;
  text-decoration: none;
  transition: 0.2s;
}

.card-form a:hover {
  text-decoration: underline;
}

@media (max-width: 760px) {
  .card {
      width: 90%;
      flex-direction: column;
      border-radius: 12px;
      margin: 0 auto;
  }

  .card-img {
      height: 150px;
  }

  .card-form {
      padding: 20px;
  }

  .card-form h1 {
      font-size: 20px;
  }

  .card-form .form-row {
      flex-direction: row;
      flex-wrap: wrap;
      gap: 10px;
  }

  .card-form .form-row input {
      flex: 1 1 45%;
      min-width: 120px;
  }

  .card-form input,
  .card-form button {
      font-size: 14px;
      padding: 8px;
  }
}

@media (max-width: 480px) {
  .card {
      width: 95%;
      margin-bottom: 25%;
  }

  .card-form h1 {
      font-size: 18px;
  }

  .card-form .form-row {
      gap: 6px;
  }

  .card-form .form-row input {
      flex: 1 1 48%;
      min-width: 100px;
  }

  .card-form input,
  .card-form button {
      font-size: 13px;
      padding: 6px;
  }

  .card-img {
      height: 150px;
  }
}