/* === Background & Animation === */
body {
  margin: 0;
  background: linear-gradient(-45deg, #6a11cb, #2575fc, #43cea2, #185a9d);
  background-size: 400% 400%;
  animation: gradientMotion 18s ease infinite;
  /* do not make body flex container that forces shrink */
}

@keyframes gradientMotion {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* === Containers & Layout === */
.big-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-left: 470px;
  /* do not justify-content:center or flex-wrap that shrinks children */
}

.page-content-wrapper {
  background-image: url("/files/login_back.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
  margin: 0;
  padding: 0;
}

/* === Login Card (Glass style) === */
.login-content {
  position: relative;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.18);

  width: 100%;
  max-width: 450px;   /* Keeps the standard width */
  margin: 0 auto;
  padding: 40px;

  overflow: hidden;
}

/* Shimmer effect on login box */
.login-content::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.2) 50%,
    transparent 100%
  );
  transform: rotate(25deg);
  animation: shimmer 8s linear infinite;
  opacity: 0.4;
  pointer-events: none;
}

@keyframes shimmer {
  0% { transform: translateX(-100%) rotate(25deg); }
  100% { transform: translateX(100%) rotate(25eg); }
}

/* === Logo (inside login card) === */
.logo-wrapper {
  text-align: center;
  margin-bottom: 30px;
}

.login-logo {
  width: 125px;
  height: 125px;
  object-fit: contain;
  margin: 0 auto;
}

/* === Welcome Section === */
.welcome-sec {
  text-align: center;
  margin-bottom: 30px;
}

.welcome-sec span {
  font-size: 27px;
  font-weight: 700;
  color: #ffffff;
  display: block;
}

.welcome-sec p {
  color: #e5e5e5;
  margin-top: 0;
}

/* === Form Elements === */
.form-group {
  margin-bottom: 20px;
}

.input-title p {
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 5px;
}

.form-control {
  height: 28px;
  border-radius: 23px;
  border: 1px solid #717772;
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.form-control::placeholder {
  color: #ccc;
}

.btn-login {
  background-color: #3498db;
  border: none;
  height: 45px;
  font-weight: 500;
  color: #fff;
}

a {
  font-size: 12px;
  color: #e3e3e3;
  text-decoration: none;
}

/* === Responsive === */
@media (max-width: 768px) {
  .login-content {
    padding: 32px;
    width: 100%;
    max-width: 468px;
  }
  .welcome-sec span {
    font-size: 18px;
  }
  .big-container {
    padding-left: 0;
  }
}

.page-card-body {
  height: 375px;
}

.btn.btn-primary{
  background-color: transparent !important;
  border: 1px solid #fff !important;
  color: #fff !important;  
}

.toggle-password {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  /* fixed size you prefer: */
  width: 1.5em;
  height: 1.5em;
  /* optional: color */
  color: #666;
}

.toggle-password svg {
  width: 100%;
  height: 100%;
}

