.login-wrapper {
  background-color: var(--tblr-body-bg);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.login-card {
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.3);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
  width: 100%;
  max-width: 400px;
  position: relative;
  padding: 4rem 1.5rem 1rem;
  box-sizing: border-box;
}

.login-logo-container {
  position: absolute;
  top: -170px;
  left: 50%;
  transform: translateX(-50%);
  animation: fadeIn 1s ease-in-out;
  transition: opacity 0.3s ease-in-out;
}

.login-logo-box {
  background-color: #f3fff3;
  padding: 0.75rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 180px;
  box-sizing: border-box;
}

.login-logo-box img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Bouton normal */
.btn-primary {
  background-color: #3c9b80 !important;
  color: #ffffff !important;
  border-color: #3c9b80 !important;
}

.btn-primary:hover {
  background-color: #00cec9 !important;
  color: #ffffff !important;
  border-color: #00cec9 !important;
}

@media (max-width: 360px) {
  .login-logo-container {
    opacity: 0;
    pointer-events: none;
  }
}

@media (max-width: 480px) {
  .login-logo-box {
    max-width: 120px;
  }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateX(-50%) translateY(-10px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}
