body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: #f6f6f6;
  font-family: Arial, sans-serif;
}

.login-container {
  display: flex;
  min-height: 70vh;
  max-width: 900px;
  margin: 6vh auto;
  background: rgba(255,255,255,0.97);
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  overflow: hidden;
}

.left {
  flex: 1.2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f8f8;
}

.left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 350px;
}

.right {
  flex: 1;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.right h2 {
  margin-bottom: 1.5rem;
}

.right form input[type="text"],
.right form input[type="email"],
.right form input[type="password"] {
  width: 100%;
  padding: 0.7rem;
  margin: 0.5rem 0;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.right form button {
  margin-top: 1rem;
  padding: 0.7rem 2rem;
  border-radius: 8px;
  border: none;
  background: #ff9800;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
}

.error {
  color: #d32f2f;
  margin: 0.5rem 0;
}

.success {
  color: #388e3c;
  margin: 0.5rem 0;
}

.signup {
  margin-top: 1.5rem;
  font-size: 0.95rem;
}

.back-home {
    margin-top: 18px;
    text-align: center;
}
.back-home a {
    color: #ff9800;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s;
}
.back-home a:hover {
    color: #e65100;
    text-decoration: underline;
}

@media (max-width: 900px) {
  .login-container {
    flex-direction: column;
    min-height: auto;
  }
  .left {
    min-height: 250px;
  }
  .left img {
    width: 90%;
    height: 100%;
    object-fit: cover;
  }
  .right {
    padding: 2rem;
  }
}
