/* Force full viewport width and height */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

/* Override Vuexy container restrictions */
.container-xxl.login-page {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  height: 100vh;
  width: 100vw;
}

/* Main wrapper spans entire page */
.login-wrapper {
  display: flex;
  height: 100%;
  width: 100%;
}

/* Left (form) side */
.login-left {
  flex: 1.1;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
}

/* Card stays centered inside left area */
.login-card {
  width: 100%;
  max-width: 400px;
}

/* Right (illustration) side */
.login-right {
  flex: 0.9;
  background: linear-gradient(135deg, #eacfe6, #CAEEFB);
  display: flex;
  justify-content: flex-end;
  align-items: center;
  overflow: hidden;
  height: 100%;
  padding-right: 0; 
}

/* Image animation and sizing */
.login-right img {
  width: 100%;
  max-width: 700px;
  height: 700px;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* Solid purple button */
.login-btn {
  background-color: #8C52FF !important;
  border: none;
  border-radius: 200px !important;
  font-weight: 500;
  color: white !important;
  padding: 0.6rem;
}

.login-btn:hover {
  background-color: #7A46E6; /* slightly darker purple on hover */
  box-shadow: 0 6px 15px rgba(140, 82, 255, 0.45);
}

.input-inline {
  display: flex;
  align-items: center;
  border: 1.5px solid #8C52FF;
  border-radius: 200px;
  padding: 0 14px;
  height: 42px;
  background-color: #fff;
  position: relative;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-inline:focus-within {
  border-color: #7e22ce;
  box-shadow: 0 4px 12px rgba(140, 82, 255, 0.12);
}

.inline-label {
  font-size: 0.95rem;
  color: #9b9bb0;
  margin-right: 8px;
  white-space: nowrap;
}

.login-input {
  flex: 1;
  border: none !important;
  outline: none !important;
  background: transparent;
  font-size: 0.95rem;
  height: 100%;
  padding-right: 30px; /* space for eye icon */
  box-shadow: none !important;
}

/* Eye icon styling */
.toggle-password {
  background: none;
  border: none;
  color: #8C52FF;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.toggle-password:hover { color: #7e22ce; }

/* placeholder color */
.login-input::placeholder {
  color: #b3b3bd;
}

/* error state */
.is-invalid {
  border-color: #dc3545 !important;
}

.invalid-feedback {
  color: #dc3545;
  font-size: 0.85rem;
  margin-top: 4px;
}



/* Responsive adjustments */
@media (max-width: 992px) {
  .login-wrapper {
    flex-direction: column;
  }
  .login-left, .login-right {
    width: 100%;
    height: 50vh;
  }
  .login-right {
    height: 40vh;
  }
}
