html,
body {
  height: 100%;
}

.form-signin {
  /* max-width: 330px; */
  padding: 1rem;
}

.form-signin .form-floating:focus-within {
  z-index: 2;
}

.form-signin input[type="email"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.form-signin input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.front-logo {
    text-decoration: none;
    color: #000;
  }

  .brand-row {
      display: flex;
      align-items: center;
      gap: 12px;
  }

  .brand-icon {
      width: 44px;
      height: 44px;
      background: linear-gradient(135deg, #ff7a18, #ff2d55);
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
  }

  .brand-desc {
      margin-top: 14px;
      line-height: 1.6;
      max-width: 260px;
      color: #94a3b8;
  }

  .auth-carousel {
  position: relative;
  width: 100%;
  height: 500px; 
  overflow: hidden;
  border-radius: 11px;
    margin-top: 20px;
  background: #000;
}

.auth-carousel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.55),
    rgba(0,0,0,0.2)
  );
  z-index: 3;
}

.carousel-slide img {
  animation: zoomEffect 10s linear infinite;
}

@keyframes zoomEffect {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}


/* Slides */

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  will-change: opacity;
}

/* Active slide */

.carousel-slide.active {
  opacity: 1;
  z-index: 2;
}

/* Images */

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Mobile height control */

@media (max-width: 768px) {

  .auth-carousel {
    height: 280px; /* smaller banner for mobile */
  }

}
