body {
  background: #f6f5f7;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  font-family: 'Montserrat', sans-serif;
  min-height: 100vh;
  height: auto;
  margin: 0;
}

.container {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 
      0 14px 28px rgba(0,0,0,0.25),
      0 10px 10px rgba(0,0,0,0.22);
  display: flex;
  width: 90%;
  max-width: 900px;
  min-height: 400px;
  overflow: hidden;
}

.card {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.login-card form {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.login-card h1 {
  font-weight: bold;
  margin-bottom: 20px;
  color: #4c4d9f; 
}

.login-card input {
  background-color: #eee;
  border: none;
  padding: 12px 15px;
  margin: 10px 0;
  width: 100%;
  border-radius: 6px;
  font-size: 15px;
}

.login-card input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(76,77,159,0.25);
}

.login-card button {
  border-radius: 20px;
  border: 1px solid #4c4d9f;
  background-color: #4c4d9f;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  padding: 12px 45px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: transform 80ms ease-in, background 0.3s;
  cursor: pointer;
}

.login-card button:hover {
  background-color: #6e6fc9; 
}

.login-card button:active {
  transform: scale(0.95);
}

.welcome-card {
  background: #dfdefa;
  color: #1a1a34;
  text-align: center;
}

.welcome-card h1 {
  font-size: 28px;
  margin-bottom: 15px;
  color: #4c4d9f; 
}

.welcome-card p {
  font-size: 16px;
  color: #2b2b47;
}

@media (max-width: 900px) {
  body.login {
    height: auto;
    padding: 20px 0;
  }

  .container {
    flex-direction: column;      
    width: 95%;
    min-height: auto;
  }

  .card {
    padding: 30px 20px;
  }

  .welcome-card {
    order: -1;                
  }



  .login-card input,
  .login-card button {
    font-size: 14px;
    padding: 10px 12px;
  }

  .welcome-card h1 {
    font-size: 22px;
  }

  .welcome-card p {
    font-size: 14px;
  }
}
