* {
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: rgba(3, 192, 255, 0.5);
}

.login-container {
  display: flex;
  flex-direction: row;
  width: 840px;
  max-width: calc(100vw - 32px);
  height: 420px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.login-container .left,
.login-container .right {
  flex: 0 0 420px;
  max-width: 50%;
}

.login-container .left {
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 24px;
}

.login-form h2 {
  margin: 0 0 20px;
  text-align: center;
  font-size: 30px;
  color: #a45b28;
}

.input-group {
  margin-bottom: 15px;
  width: 300px;
  max-width: 100%;
}

.input-group label {
  display: block;
  margin-bottom: 5px;
}

.input-group input {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.login-form button {
  width: 300px;
  max-width: 100%;
  padding: 10px 20px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.login-form button:hover {
  background-color: #0056b3;
}

.error-message {
  color: red;
  font-size: 14px;
  margin: 0 0 10px;
  text-align: center;
}

.login-container .right {
  display: flex;
  align-items: stretch;
}

.img-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 860px) {
  .login-container {
    flex-direction: column;
    width: 400px;
    height: auto;
  }

  .login-container .left,
  .login-container .right {
    flex: 1 1 auto;
    max-width: 100%;
  }

  .login-container .right {
    height: 280px;
  }
}
