/*<style> */

/* ---------- VARIABILI GLOBALI ---------- */
:root {
  --version-primary-color: #a87ab6;
  --version-background-color: #1a1a2e;
  --version-text-color: #f0f0f0;
  --version-font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --version-transition-speed: 0.3s;
}
@keyframes titlePulse {
  0%   { transform: scale(1); color: var(--version-primary-color); }
  50%  { transform: scale(1.05); color: #c89ae0; }
  100% { transform: scale(1); color: var(--version-primary-color); }
}


/* ---------- BOTTONE NOTIFICA ---------- */
.version-notification-btn {
  position: fixed;
  display: flex;
  bottom: 838px;
  right: 20px;
  background: var(--version-primary-color);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1100;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all var(--version-transition-speed);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  animation: pulse 3.5s infinite;
}

.version-notification-btn:hover {
  background: #54bfc1;
  transform: translateY(-2px);
}

/* ---------- SFONDO POPUP ---------- */
.version-popup-container {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  z-index: 1200;
  justify-content: center;
  align-items: center;
  overflow-y: auto;
  border: 5px;
}

/* ---------- BOX POPUP ---------- */
.version-alert-box {
  background: var(--version-background-color);
  color: var(--version-text-color);
  padding: 25px;
  border-radius: 12px;
  max-width: 900px;
  max-height: 140%;
  width: 100%;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  text-align: left;
  font-family: var(--version-font-family);
  line-height: 1.6;
    margin-right: 5px;
  margin-left: 5px;
}

/* Titolo */
.version-alert-title {
  margin-bottom: 15px;
  font-size: 22px;
  color: var(--version-primary-color);
  text-align: center;
}

/* Testo */
.version-alert-message {
  font-size: 16px;
  margin-bottom: 20px;
    margin-right: 5px;
  margin-left: 5px;
}

/* Bottone chiusura */
.version-confirm-btn {
  background: var(--version-primary-color);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  transition: all var(--version-transition-speed);
  width: 100%;
  margin-top: 15px;
  animation: pulse 3.5s infinite;

}

.version-confirm-btn:hover {
  background: #8d64a0;
  transform: translateY(-2px);
}

/* ---------- RESPONSIVE ---------- */
/* Media query per dispositivi con larghezza massima di 768px */
@media (max-width: 768px) {
  .version-notification-btn {
  position: fixed;
  display: flex;
  bottom: 650px;
  right: 20px;
  background: var(--version-primary-color);
  color: #fff;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1100;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all var(--version-transition-speed);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  animation: pulse 3.5s infinite;
  }
  }

@media (max-width: 768px) {
  .version-alert-box {
    padding: 20px;
    width: 95%; 
    max-height: 90vh; 
    overflow-y: auto; 
    top: 50%; 
    left: 50%; 
    position: center; 
    margin: 0; 
    bottom: auto; 
  }

  .version-alert-title {
    font-size: clamp(1rem, 4vw, 1.25rem);
  }

  .version-alert-message {
    font-size: clamp(0.875rem, 3.5vw, 1rem);
  }
}

@media (max-width: 480px) {
  .version-notification-btn {
    right: 15px;
    width: 45px;
    height: 45px;
    font-size: 15px;
  }
  .version-alert-box {
    padding: 15px;
    width: 85%; 
  }
}

/* </style> */