* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background-color: #ffffff;
  color: #000000;
  display: flex;
  min-height: 100vh;
}

.image-section {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: #ffffff;
}

.image-section img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.content-section {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-grow: 2;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 400px;
  padding: 20px;
}

h1 {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 16px;
}

h2 {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 40px;
  text-align: center;
}

form {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 20px;
}

input {
  font-family: inherit;
  font-size: 16px;
  padding: 14px;
  border: 2px solid #000000;
  background-color: #ffffff;
  color: #000000;
  outline: none;
}

input:focus {
  border-color: #666666;
}

button {
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  padding: 14px;
  background-color: #000000;
  color: #ffffff;
  border: none;
  cursor: pointer;
}

button:hover {
  background-color: #333333;
}

input.error {
  border-color: #d32f2f;
}

input.error:focus {
  border-color: #d32f2f;
}

.error-message {
  display: none;
  color: #d32f2f;
  font-size: 14px;
  text-align: center;
  margin-top: 12px;
  padding: 12px;
  background-color: #ffebee;
  border: 1px solid #d32f2f;
}

/* .error-message.show {
  display: block;
} */

.error-message.show {
  display: block;
  animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .image-section {
    display: none;
  }

  .content-section {
    width: 100%;
  }
}
