@import url("https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap");

/* Split layout */
.main-login-container {
  display: flex;
  min-height: 100vh;
}

/* Left side */
.login-left {
  flex: 1;
  background-color: #f9f9f9;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.login-left h2 {
  font-weight: 700;
  font-size: 22px;
  color: #222;
  margin-bottom: 5px;
}

.login-left p {
  color: #777;
  font-size: 14px;
  margin: 0;
}

/* Right side */
.login-right {
  flex: 1;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center; /* ✅ perfectly centered */
}

/* Login form */
.login-box {
  width: 100%;
  max-width: 380px;
  text-align: left;
}

/* Title */
.login-title {
  font-size: 18px;
  font-weight: 600;
  color: #222;
  margin-bottom: 25px;
}

/* Form fields */
.ui.form .field label {
  font-family: "Roboto Condensed", sans-serif !important;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  font-size: 13px;
  font-weight: 500;
  color: #444;
}

.ui.input > input {
  font-family: "Roboto Condensed", sans-serif !important;
  font-optical-sizing: auto;
  font-weight: 350;
  font-style: normal;
  height: 34px !important;
  font-size: 14px !important;
  border-radius: 3px !important;
  border: 1px solid #ccc !important;
}

/* Password input + eye icon */
.password-wrapper {
  position: relative;
}

.password-wrapper .ui.input input {
  padding-right: 38px !important;
}

.toggle-password {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  cursor: pointer;
  color: #888;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0;
}

.toggle-password:hover {
  color: #000;
}

/* Button */
.ui.yellow.button {
  background-color: #f5ee16 !important;
  color: #000 !important;
  font-weight: 600 !important;
  width: 100%;
  border-radius: 4px !important;
  transition: 0.3s;
  padding: 10px !important;
  margin-top: 5px;
}

.ui.yellow.button:hover {
  background-color: #e5dc13 !important;
}

/* Responsive */
@media (max-width: 992px) {
  .main-login-container {
    flex-direction: column;
    height: auto;
  }

  .login-left,
  .login-right {
    width: 100%;
    height: auto;
  }

  .login-box {
    max-width: 100%;
    padding: 40px 20px;
  }
}
