/* Reset and base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Segoe UI', sans-serif;
  background: #f4f6fc;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
}

/* Wrapper */
.login-wrapper {
  max-width: 900px;
  /* width: 100%; */
  background: #fff;
  display: flex;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

/* Left info section */
.login-info {
  flex: 1;
  background-color: #e8f0fe;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
.login-info h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: #1e3a8a;
}
.login-info p {
  font-size: 1rem;
  color: #1e3a8a;
  line-height: 1.6;
}

/* Right form section */
.login-form {
  flex: 1;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.login-form h2 {
  font-size: 1.5rem;
  color: #0f172a;
  margin-bottom: 24px;
}

.login-form form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.login-form select,
.login-form input {
  padding: 12px 14px;
  font-size: 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background-color: #f9fafb;
  transition: border 0.3s;
}
.login-form input:focus,
.login-form select:focus {
  outline: none;
  border-color: #2563eb;
}
.login-form button {
  padding: 12px 14px;
  background-color: #0d47a1;
  color: white;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}
.login-form button:hover {
  background-color: #003c8f;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .login-wrapper {
    flex-direction: column;
  }
  .login-info {
    padding: 24px;
  }
  .login-form {
    padding: 24px;
  }
}
/* === Desktop layout (side by side) === */
@media (min-width: 768px) {
  .login-wrapper {
    flex-direction: row;
    max-width: 850px;
  }

  .login-info {
    flex: 1;
    text-align: left;
    padding: 40px;
    border-right: 1px solid #e5e7eb;
  }

  .login-form {
    flex: 1;
    padding: 40px;
  }
}
