html, body {
  margin: 0;
  padding: 0;
  height: 100vh;
  width: 100vw;
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: row;
  overflow: hidden;
  color: var(--colore-testo-secondario);
}

/* Frame sinistro */
.left-image {
  flex: 3 1 0;
  min-width: 60vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--colore-sfondo);
}

.left-image img {
  max-height: 90vh;
  max-width: 100%;
  object-fit: contain;
  border: 5px solid var(--colore-testo-secondario);
}

/* Frame destro */
.right-panel {
  flex: 1 1 0;
  min-width: 40vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--colore-sfondo);
  padding: 60px 10px;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
}

.club-header {
  margin-top: 40px;
  text-align: center;
}

.club-header h1 {
  margin: 0;
  font-size: 32px;
  font-weight: bold;
  color: var(--colore-testo-principale);
}

.club-header .tipo {
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--colore-testo-secondario);
}

.club-header p {
  margin: 2px 0;
  font-size: 14px;
  color: var(--colore-testo-secondario);
}

/* Bottone accedi */
.access-button {
  padding: 15px 30px;
  font-size: 18px;
  background-color: var(--colore-ok);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  color: #000;
  margin-top: auto;
  margin-bottom: 60px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.access-button:hover {
  background-color: #e0a821;
}

/* Copyright */
.right-panel .copyright {
  position: absolute;
  bottom: 10px;
  left: 10px;
  font-size: 12px;
  color: var(--colore-testo-secondario);
  text-align: left;
}

.right-panel .copyright a {
  color: var(--colore-testo-secondario);
  text-decoration: none;
}

.right-panel .copyright a:hover {
  text-decoration: underline;
}

/* Popup login */
.modal {
  display: none;
  position: fixed;
  z-index: 30;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: var(--colore-sfondo);
  color: var(--colore-testo-secondario);
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0,0,0,0.4);
  width: 320px;
  text-align: center;
  box-sizing: border-box;
}

.modal-content h2 {
  margin-bottom: 20px;
  font-size: 24px;
  color: var(--colore-testo-principale);
}

.modal-content input {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 15px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #ffffffcc;
  color: #000;
  box-sizing: border-box;
}

.button-group {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.button-group button {
  flex: 1;
  padding: 12px;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  color: #000;
}

.button-group button[type="submit"] {
  background-color: var(--colore-ok);
}

.button-group button[type="button"] {
  background-color: var(--colore-cancella);
}

.button-group button:hover {
  opacity: 0.9;
}

#loginError {
  color: var(--colore-allarme);
  margin-top: 10px;
  font-size: 14px;
}

/* Responsive layout */
@media screen and (max-width: 1000px) {
  html, body {
    flex-direction: column;
  }

  .left-image, .right-panel {
    width: 100%;
    min-width: unset;
    height: auto;
  }

  .left-image img {
    max-width: 100%;
    max-height: 50vh;
