 body {
      margin: 0;
      padding: 0;
      background-image: url('../assets/images/pergamena.png');
      background-size: cover;
      background-repeat: no-repeat;
      background-position: center;
      font-family: 'Uncial Antiqua', cursive;
      color: #3b2e2a;
}

.form-signin {
    font-size: 0.9rem;
}

.form-signin .form-control {
    padding: 0.4rem 0.6rem;
    font-size: 0.9rem;
}

.form-signin .btn {
    padding: 0.4rem 0.6rem;
}

.login-container {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.1); /* leggero overlay */
}

.login-card {
  display: flex;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  max-width: 850px;
  width: 100%;
}

.logo-section {
  flex: 1;
  background-color: #e6dfd3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.logo-img {
  max-width: 100%;
  max-height: 300px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.form-section {
  flex: 1;
  padding: 40px 30px;
}

.form-signin-heading {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.5rem;
}

.form-control {
  margin-bottom: 15px;
}

.btn-primary {
  background-color: #5a3e36;
  border-color: #4d322d;
}

.btn-primary:hover {
  background-color: #6f4b41;
}

.register-link {
  text-align: center;
  margin-top: 20px;
  font-size: 0.95rem;
}

.register-link a {
  color: #5a3e36;
  text-decoration: underline;
}
.btn-primary {
  position: relative;
  overflow: hidden;
  background-color: #5a3e36;
  border-color: #4d322d;
  transition: transform 0.2s ease;
  z-index: 1;
}

.btn-primary:hover {
  transform: scale(1.03);
}

/* Magia scintillante */
.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
	120deg,
	rgba(255, 255, 255, 0) 0%,
	rgba(255, 255, 255, 0.5) 50%,
	rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg);
  animation: shimmer 2.5s infinite;
  z-index: 0;
}

@keyframes shimmer {
  0% {
	left: -75%;
  }
  100% {
	left: 125%;
  }
}