/* login.css */

body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", sans-serif;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

.login-wrapper {
  display: flex;
  flex-direction: row;
  width: 90%;
  max-width: 950px;
  height: 80%;
  background: #ffffff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  overflow: hidden;
}

.login-left {
  background: linear-gradient(135deg, #007bff, #00c6ff);
  color: #fff;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 3rem;
}

.login-left h1 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.login-left p {
  font-size: 1.1rem;
  line-height: 1.5;
  opacity: 0.95;
}

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

.login-right h2 {
  margin-bottom: 1.2rem;
  font-size: 1.8rem;
  color: #222;
}

input[type="email"],
input[type="password"], 
 input[type="text"]{
  width: 90%;
  padding: 0.8rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.toggle-password {
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
}

button {
  width: 100%;
  padding: 0.9rem;
  font-size: 1rem;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

button:hover {
  background: #0056b3;
}

#result {
  margin-top: 1.2rem;
  text-align: center;
  font-size: 0.95rem;
}

/* Logo styling */
.login-logo {
  width: 150px;
  margin-bottom: 1.5rem;
}

.login-logo-mobile {
  display: none;
  width: 140px;
  margin: 0 auto 1.2rem auto;
}

/* Show mobile logo only on small screens */
@media (max-width: 768px) {
  .login-logo-mobile {
    display: block;
  }

  /* Hide left logo when stacked */
  .login-left .login-logo {
    display: none;
  }
}


/* Responsive */
@media (max-width: 768px) {
  .login-wrapper {
    flex-direction: column;
    height: auto;
  }

  .login-left{
    display: none;
  }

  .login-left, .login-right {
    flex: none;
    width: 90%;
    padding: 2rem;
  }

  .login-left {
    align-items: center;
    text-align: center;
  }
}
