/* ======================================
   Banti v2 - Login Page Specific Styles
   Shared styles loaded from resources/css/main.css
   ====================================== */

/* ======================================
   Login Page Layout
   ====================================== */
.login-page {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  width: 100vw;
  height: 100vh;
}

.login-container {
  width: 100%;
  max-width: 480px;
  padding: 20px;
  flex-shrink: 0;
}

.login-card {
  background: white;
  border-radius: 0.375rem;
  padding: 40px;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.15);
  position: relative;
}

.animate-slide-down {
  animation: slideDownBounce 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.form-swap-fast-enter-active,
.form-swap-fast-leave-active {
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.form-swap-fast-enter-from,
.form-swap-fast-leave-to {
  opacity: 0;
  transform: translateY(6px);
}

.form-swap-fast-enter-to,
.form-swap-fast-leave-from {
  opacity: 1;
  transform: translateY(0);
}

/* ======================================
   Logo
   ====================================== */
.logo-mark {
  display: block;
  width: 80px;
  height: 80px;
  margin: 0 auto 30px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* ======================================
   Footer
   ====================================== */
.login-footer {
  text-align: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.login-footer p {
  margin: 0;
  font-size: 0.875rem;
}

.login-footer a {
  color: var(--brand-link-color);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.login-footer a:hover {
  color: var(--brand-link-hover-color);
  text-decoration: underline;
}

/* ======================================
   Responsive Design
   ====================================== */
@media (max-width: 576px) {
  .login-page {
    padding: 10px;
  }

  .login-card {
    padding: 30px 20px;
  }
}
