/* ===========================
   PRIVACY PAGE
   =========================== */

.main-content {
  max-width: 900px;
  margin: 4rem auto;
  padding: 3rem 2rem;
  background-color: #08090d;
  color: #e8e8e8;
  line-height: 1.8;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  box-shadow: 0 0 25px rgba(79, 248, 255, 0.15);
}

/* --- Titolo e descrizione --- */
.page-header {
  margin-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  padding-bottom: 0.5rem;
}

.page-header h1 {
  font-size: 2.2rem;
  font-weight: 600;
  color: #4ff8ff;
  letter-spacing: 0;
  text-shadow: 0 0 8px rgba(79, 248, 255, 0.3);
}

.page-header p {
  font-size: 1.05rem;
  color: #b6c8d8;
  margin-top: 0.5rem;
}

/* --- Sezioni e struttura --- */
.privacy-article section {
  margin-top: 2.5rem;
}

.privacy-article h2 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #4ff8ff;
  margin-bottom: 0.8rem;
  border-left: 4px solid #4ff8ff;
  padding-left: 0.6rem;
  text-shadow: 0 0 6px rgba(79, 248, 255, 0.3);
}

.privacy-article p {
  font-size: 1rem;
  color: #dbe4ee;
  margin-bottom: 1rem;
}

.privacy-article strong {
  color: #fff;
}

.privacy-article a {
  color: #4ff8ff;
  text-decoration: none;
  border-bottom: 1px dotted rgba(79, 248, 255, 0.45);
  transition: color 0.3s ease, border-bottom-color 0.3s ease;
}

.privacy-article a:hover,
.privacy-article a:focus {
  border-bottom-color: #4ff8ff;
  color: #7de7ff;
}

/* --- Liste --- */
.privacy-article ul {
  list-style: disc;
  margin-left: 2rem;
  margin-bottom: 1rem;
  color: #d2e1ec;
}

.privacy-article li {
  margin-bottom: 0.4rem;
}

/* --- Area azioni cookie --- */
.cookie-actions {
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

/* --- Pulsanti --- */
#deleteCookiesBtn,
#revokeConsentBtn {
  background-color: #4ff8ff;
  color: #08090d;
  border: none;
  border-radius: 5px;
  padding: 0.75rem 1.4rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0;
  box-shadow: 0 0 10px rgba(79, 248, 255, 0.25);
  transition: background-color 0.25s ease-in-out, color 0.25s ease-in-out, box-shadow 0.25s ease-in-out, transform 0.25s ease-in-out;
}

#revokeConsentBtn {
  background-color: transparent;
  color: #4ff8ff;
  border: 1px solid #4ff8ff;
}

#deleteCookiesBtn:hover,
#deleteCookiesBtn:focus {
  background-color: #7de7ff;
  box-shadow: 0 0 15px rgba(79, 248, 255, 0.4);
  transform: translateY(-1px);
}

#revokeConsentBtn:hover,
#revokeConsentBtn:focus {
  background-color: rgba(79, 248, 255, 0.1);
  box-shadow: 0 0 15px rgba(79, 248, 255, 0.4);
  transform: translateY(-1px);
}

#deleteCookiesBtn:focus,
#revokeConsentBtn:focus,
button:focus-visible {
  outline: 2px solid #7de7ff;
  outline-offset: 2px;
}

/* --- Stato messaggi --- */
.cookie-status {
  flex-basis: 100%;
  margin-top: 0.8rem;
  font-size: 0.9rem;
  color: #b6c8d8;
  font-style: italic;
}

/* --- Accessibilita --- */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .main-content {
    margin: 2rem 1rem;
    padding: 2rem 1rem;
  }

  .page-header h1 {
    font-size: 1.8rem;
  }

  .privacy-article h2 {
    font-size: 1.2rem;
  }

  .cookie-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  #deleteCookiesBtn,
  #revokeConsentBtn {
    width: 100%;
  }
}
