.login-custom {
  background: #ffffff !important;
}

/* Center the panel */
.login-custom .form-section {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.05);
  overflow: hidden;
  max-width: 1000px;
  padding-left:15px;
  padding-right:15px;
}

/* Remove any particles overlay space and use white background */
.login-26.login-custom {
  background: #ffffff !important;
}

/* Main 2-column layout: left form, right icon */
.login-custom__grid {
  display: grid;
  grid-template-columns: 1fr 350px;
  align-items: stretch;
}

/* Reduce side padding and increase overall panel width */
.login-custom__left {
  /* reduce left padding */
  padding: 26px 18px;
}

.login-custom__right {
  display: flex;
  align-items: center;
  justify-content: center;
  /* reduce right padding */
  padding: 20px 10px;
  background: #ffffff;
  border-left: 1px solid rgba(0,0,0,0.06);
}

/* Make the center container larger (~1000px) */
.login-custom .container {
  max-width: 1000px;
}

/* Background dotted/particle layer */
.login-26.login-custom #particles-js {
  display: block;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Ensure the login panel stays above particles */
.login-26.login-custom .form-section,
.login-26.login-custom .login-custom__panel,
.login-26.login-custom .login-custom__grid {
  position: relative;
  z-index: 1;
}


/* Smaller screens: keep proportions */
@media (max-width: 576px) {
  .login-custom__left {
    padding: 22px 14px;
  }

  .login-custom__right {
    padding: 16px 10px;
  }
}

@media (max-width: 992px) {
  .login-custom .container {
    max-width: 100%;
  }
}

.login-custom__icon img {
  /* reduce icon size slightly to avoid overflow */
  max-width: 160px;
  max-height: 160px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Make sure form text stays visible */
.login-custom__left input.form-control,
.login-custom__left .form-control {
  background: #fff;
}

/* Responsive */
@media (max-width: 992px) {
  .login-custom__grid {
    grid-template-columns: 1fr;
  }

  .login-custom__right {
    border-left: none;
    border-top: 1px solid rgba(0,0,0,0.06);
  }

  .login-custom__left {
    padding: 28px 18px;
  }
}

@media (max-width: 380px) {
  .login-custom__left {
    padding: 24px 12px;
  }
}

/* Demo credentials */
.demo-credentials {
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 10px;
  padding: 12px 12px;
  background: #fff;
}

.demo-credentials__row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 8px 2px;
}

.demo-credentials__row + .demo-credentials__row {
  border-top: 1px dashed rgba(0,0,0,0.08);
}

.demo-credentials__label {
  font-size: 14px;
  color: #535353;
  font-weight: 600;
  text-align: left;
}

.demo-credentials__value {
  font-size: 14px;
  color: #212529;
  font-weight: 500;
  word-break: break-word;
  text-align: left;
}

.demo-credentials__copy {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.10);
  background: #ffffff;
  color: #0d6efd;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.demo-credentials__copy:hover {
  background: rgba(13,110,253,0.08);
  border-color: rgba(13,110,253,0.25);
}

.demo-credentials__copy:active {
  transform: translateY(1px);
}

.demo-credentials__status {
  margin-top: 6px;
  font-size: 13px;
  color: #198754;
  font-weight: 600;
  min-height: 18px;
}

@media (max-width: 576px) {
  .demo-credentials__row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .demo-credentials__copy {
    justify-self: start;
  }
}



