/*itsrlabs/apps/platform/static/css/home/home_auth.css*/
/* ===========================
   SHARED AUTH LAYOUT (home_auth)
   =========================== */

/* Page wrapper */
.home-auth-page {

  display: flex;
  align-items: center;
  justify-content: center;
}

/* Main card */
.home-auth-card {
  width: 100%;
  max-width: 500px;
  border-radius: 20px;
  border: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 0.75rem 1.5rem rgba(15, 23, 42, 0.25);
  padding: 2.5rem 2.25rem;
}

/* Header section */
.home-auth-header {
  text-align: center;
  margin-bottom: 1.75rem;
}

.home-auth-title {
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.home-auth-subtitle {
  font-size: 0.9rem;
  color: #6c757d;
}

/* Logo / icon circle */
.home-auth-icon-circle {
  width: 105px;
  height: 105px;
  border-radius: 50%;
  overflow: hidden;
  background: #f0f0f0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 1.5rem;
}

.home-auth-icon-circle img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.home-auth-icon-circle:hover img {
  transform: scale(1.06);
}

/* Optional narrower input group */
.home-auth-floating-narrow {
  width: 75%;
  margin-left: auto;
  margin-right: auto;
}

/* Soft input borders */
.form-control.border-soft {
  border-width: 1px;
  border-color: var(--bs-secondary-border-subtle, #dee2e6);
}

/* Floating label polish */
.form-floating > label {
  transition: transform 0.18s ease, opacity 0.18s ease, font-size 0.18s ease;
  padding-left: 0.85rem;
  opacity: 0.65;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
  transform: scale(0.92) translateY(-0.45rem);
  opacity: 0.9;
}


/* ===========================
   PASSWORD TOGGLE (shared)
   =========================== */

.password-field-wrapper {
  position: relative;
}

.password-toggle-btn {
  position: absolute;
  right: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
}

.password-toggle-btn i {
  font-size: 1.1rem;
}

/* Ensure focus ring is not clipped in floating group */
.form-floating > .form-control:focus {
  z-index: 2;
  position: relative;
}
