* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

:root{
  /* Colori di base */
  --primary-bg-color: #fbfefe;
  --title-color: #000000;
  --white: #ffffff;
  --black: #000000;

  /* Colori link */
  --link-button-color: #ffffff;
  --link-txt-color: #000000;
  --link-active-bg-color1: #17506f;
  --link-active-bg-color2: #082636;
  --link-active-txt-color: #ffffff;

  /* Colori card */
  --card-bg-color: #a0c7cf;
  --card-title-color: #082636;
  --card-subtitle-color: #000000;

  --card-locations-bg-color: #ddebf4;
  --card-locations-subtitle-color: #2c5f7a;

  /* Colori footer */
  --footer-primary-color: #4d7d8a;
  --footer-secondary-color: #b4d2d4;
  --footer-text-color: #08264C;

  /* Colori pulsanti */
  --btn-primary-bg: #12425C;
  --btn-primary-hover: #082e41;
  --btn-delete-bg: #da4343;
  --btn-delete-hover: #c24242;

  /* Colori form */
  --form-accent-color: #acd2e6;
  --form-focus-color: #4f5abb;
  --form-input-bg: #f9fcfe;
  --form-label-color: #2c5f7a;

  /* Altri colori comuni */
  --text-secondary: #2c5f7a;
  --accent-blue: #749BA3;

  /* Transizioni standard */
  --transition-standard: all 0.3s ease;
  --transition-transform: transform 0.3s ease;
  --transition-opacity: opacity 0.3s ease;
  --transition-colors: background-color 0.3s ease, color 0.3s ease;
}

html{
  scroll-behavior: smooth;
}

html, body{
  font-size: 100%;
  font-family: "Jost", Arial, sans-serif;
  line-height: 1.5em; 
  background-color: var(--primary-bg-color);
  background-image: url(../../images/landing.jpg);
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 14% center;
}

.navigation-helper{
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9999;
}

.nav-helper{
  display: inline-block;
  padding: 1em;
  background-color: var(--link-active-bg-color2);
  color: var(--link-active-txt-color);
  text-decoration: none;
  font-weight: bold;
  position: absolute;
  left: -9999px;
}

.nav-helper:focus{
  position: static;
  left: auto;
  outline: 3px solid #ff0;
}

/*---------------------*/
/*SEZIONE HEADER E MENU*/
/*---------------------*/

.sticky-header{
  width: fit-content;
  max-width: 98%;
  margin: 0 auto;
  padding: 0 0.8em;
  border-radius: 3em;
  position: sticky;
  top: 0.5em;
  z-index: 1000;
  transition: transform 0.6s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.sticky-header.header-hidden{
  transform: translateY(-150%);
}

header{
  background-color: transparent;
  height: auto;
  border-radius: 2.4em;
  margin: 0.5em auto;
}

.sticky-header.scrolled {
  background-color: #a2c5ce;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#menu{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;     
}

#menu ul{
  list-style: none;
  display: flex; 
  align-items: center; 
  justify-content: center;
  gap: 0.6em; 
}

#menu ul li a {
  display: inline-block;
  text-decoration: none;
  background-color: var(--white); 
  color: var(--black);
  border-radius: 1.3em;
  padding: 1.1em 1.2em;
  font-weight: bold;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 0.3s ease, color 0.3s ease;
}

#menu a:hover{
  background: linear-gradient(135deg, var(--link-active-bg-color2) 0%, var(--link-active-bg-color1) 100%);
  color: var(--link-active-txt-color);
}

#menu ul li a#currentLink {
  background: linear-gradient(135deg, var(--link-active-bg-color2) 0%, var(--link-active-bg-color1) 100%);
  color: var(--link-active-txt-color); 
  cursor: default;
}

#logo {
  height: 4.8em; 
  width: auto;
  margin-right: 1em;
}

#linkProfilo, #linkProfiloActive { 
  background-color: transparent;
  padding: 0;
  border-radius: 50%;
  margin-left: 1em;
}

#linkProfilo{
  background-color: var(--white);
}

#linkProfiloActive {
  background: linear-gradient(135deg, var(--link-active-bg-color2) 0%, var(--link-active-bg-color1) 100%);
}

#menu #linkProfilo:hover{
  background: linear-gradient(135deg, var(--link-active-bg-color2) 0%, var(--link-active-bg-color1) 100%);
  color: inherit;
}

#imgProfilo{ 
  height: 3.7em;
  width: 3.7em;
  border-radius: 50%;
  display: block;
}

#burger-input{
  display: none;
}

.burger-menu{
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 0.3em;
  padding: 0.8em;
  background: none;
  border: none;
}

.burger-menu span{
  width: 1.9em;
  height: 0.2em;
  background-color: var(--black);
  transition: var(--transition-standard);
}

/*-----------------*/
/*SEZIONE BREADCRUMB*/
/*-----------------*/
#breadcrumb{
  justify-content: center;
  display: flex;
  align-items: center;
  padding: 0.4em 1em; 
  margin: 0em auto; 
  width: fit-content; 
  border-radius: 0.8em;
}

#breadcrumb p{
  color: var(--black); 
  font-size: 1.1em;
  margin: 0;
}

#breadcrumb span{   
  color: var(--black);
  font-weight: bold; 
}

/*-----------------*/
/*SEZIONE MAIN*/
/*-----------------*/

/*index.html*/

#landing-title{      
  height: calc(100vh - 11em);
  display: flex;
  flex-direction: column;
  padding-top: 4%;
}

#landing-title h1, 
#landing-title h2,
#title-standard h1,
#title-standard h2 {
  color: var(--title-color);
  font-family: 'Playfair Display', Georgia, serif;
  letter-spacing: 0.04em;
}

#landing-title h1{
  width: 40%;
  font-size: 5em;
  font-weight: 900;
  margin-bottom: 4.5%;
  margin-left: 38%;
}

#landing-title h1 abbr{
  text-decoration: none;
  border-bottom: none;
  cursor: default;
}

#landing-title h2{
  width: 50%;
  text-align: right;
  font-size: 1.7em;
  font-weight: 400;
  margin-left: 32%;
}

.drop{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 6%;
  min-width: 60px;
  height: 3.1em;
  background-color: var(--primary-bg-color);
  margin: -0.2em auto 0;
  border-radius: 1.6em 1.6em 0 0;
  cursor: pointer;
}

.drop span{
  width: 0.2em;
  height: 1.7em;
  background-color: black;
  border-radius: 1em;
}

.drop span:nth-child(1){
  height: 1em;
  transform: rotate(45deg) translate(-7px, -5px);
}

.drop span:nth-child(3){
  height: 1em;
  transform: rotate(-45deg) translate(7px, -5px);
}

main{
  padding-top: 1em;
  padding-bottom: 3em;
  background-color: var(--primary-bg-color);
  width: 100%;
  height: 100%;
}

#card-intro,
#card-join,
#card-why-us,
#card-locations {
  display: flex;
  width: 90%;
  height: 28em;
  margin: 3em auto 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.08);
  border-radius: 1.4em;
}

#card-intro,
#card-join,
#card-why-us{
  background-color: var(--card-bg-color);
}

.card-main-title{
  font-size: 2.4em;
  line-height: 1.3em;
  color: var(--card-title-color);
}

#card-intro img,
#card-why-us img{
  height: 100%;
  width: 44%;
  object-fit: cover;
}

#card-intro{
  margin-top: 2.5em;
}

#card-intro div{
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  width: 52%;
  margin-left: 4%;
  padding-right: 2%;
}

#card-intro h2{
  width: 100%;
  text-align: left;
}

#card-intro p{
  font-size: 1.3em;
  line-height: 1.5em;
  color: var(--card-subtitle-color);
}

#card-intro a{
  margin: 0 auto 0 0;
}

#card-intro img{
  margin-left: auto;
  border-radius: 0 1.4em 1.4em 0;
}

#card-join{
  flex-direction: column;
}

#card-join-title{
  margin: 0 auto 1em;
  padding-top: 1em;
  height: 22%;
}

#card-join-title h2{
  margin: auto;
  text-align: center;
}

#card-join-title p{
  font-size: 1.4em;
  line-height: 1.5em;
  margin-top: 0.2em;
} 

#card-join ul{
  list-style-type: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 74%;
  width: 80%;
  margin: 1em auto 0;
  justify-content: space-around;
  padding-bottom: 1.2em;
}

#card-join li{
  display: flex;
  flex-direction: column;
  justify-items: stretch;
  background-color: var(--white);
  border-radius: 1.2em;
  height: 100%;
  width: 20%;
  transition: all 0.4s ease;
}

#card-join li p{
  margin-top: 0.2em;
  text-align: center;
}

#card-join img{
  border-radius: 1em 1em 0 0;
  height: 88%;
  width: 100%;
  object-fit: cover;
}

#card-join li:hover{
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.08);
  transform: scale(1.05);
}

#card-why-us{
  flex-direction: row-reverse;
}

#div-why-us{
  width: 49%;
  display: flex;
  flex-direction: column;
  margin-top: 2%;
  margin-right: 3%;
}

#div-why-us h2{
  text-align: left;
}

#div-why-us ul{
  list-style: none;
  margin-top: 0;
}

#div-why-us li{
  margin-top: 1%;
}

#div-why-us h3{
  color: var(--card-title-color);
  font-size: 1.6em;
  line-height: 1.5em;
  text-align: left;
}

#div-why-us p{
  font-size: 1.2em;
  line-height: 1.5em;
}

#card-why-us img{
  margin-right: auto;
  border-radius: 1.4em 0 0 1.4em;
}

#card-locations{
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

#card-locations::before{
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: url(../../images/torreindex.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.7;
  z-index: 0;
  border-radius: 1.4em;
}

#card-locations div{
  width: 54%;
  height: fit-content;
  padding: 2em 2em 2.5em;
  background-color: var(--card-locations-bg-color);
  text-align: center;
  border-radius: 1.4em;
  position: relative;
  z-index: 1;
}

#card-locations h2{
  font-size: 2em;
  line-height: 1.5em;
  margin-bottom: 0.2em;
}

#card-locations p{
  margin-bottom: 2em;
  font-size: 1.2em;
  line-height: 1.5em;
  color: var(--card-locations-subtitle-color);
}

/* Footer */

footer {
  background: linear-gradient(135deg, var(--footer-primary-color) 0%, var(--footer-secondary-color) 100%);
  color: var(--card-title-color);
  padding: 2em 0 0 0;
}

.footer-buttons {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 2em;
  margin-bottom: 2em;
}

.footer-buttons a{
  text-transform: none;
  padding: 0.8em;
}

.footer-container {
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: row;
}

.left-footer {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 35%;
  margin-left: auto;
}

.vertical-divider {
  width: 2px;
  height: auto;
  background-color: rgba(0, 0, 0, 0.2);
  margin: 0 3em;
}

.right-footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 35%;
  margin-right: auto;
  padding-top: 0.6em;
}

.left-footer img {
  height: 6em;
  width: auto;
  margin-bottom: 0.3em;
}

.contact-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1em;
  margin: 2em 0;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.5em;
  justify-content: flex-end;
}

.contact-item a {
  color: inherit;
  font-size: 1em;
  transition: opacity 0.3s ease;
  margin: 0;
  line-height: 1.2;
}

.contact-item a:hover {
  opacity: 0.7;
  text-decoration: underline; 
}

.contact-item .icon {
  width: 2em;
  height: 2em;
}

.contact-item p {
  margin: 0;
  font-size: 1em;
  line-height: 1.2;
}

.title-item, .times-item{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 1.2em 0;
}

.title-item h2 {
  color: #000000;
  font-size: 2em;
  font-weight: 700;
  margin-bottom: 0.3em;
}

.title-item abbr {
  text-decoration: none;
}

.title-item p {
  font-size: 1.2em;
  color: var(--footer-text-color);
  text-align: left;
}

.times-item h3 {
  font-size: 1.1em;
  font-weight: 600;
  margin-bottom: 0.3em;
  text-transform: uppercase;
}

.times-item p {
  font-size: 1em;
  color: var(--footer-text-color);
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1.4em;
}

.footer-social a {
  width: 3.2em;
  height: 3.2em;
  background-color: var(--link-button-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.footer-social a:hover {
  transform: scale(1.1);
}

.footer-social img {
  width: 2.2em;
  height: 2.2em;
  border-radius: 50%;
  margin: 0;
}

.footer-copyright {
  margin-top: 1.6em;
  padding: 1em 0;
  background-color: rgba(0, 0, 0, 0.1);
  text-align: center;
}

.footer-copyright p {
  margin: 0;
  font-size: 1em;
  font-weight: 500;
}

/* STILE COMUNE A TUTTE LE PAGINE TRANNE INDEX*/
.main-standard {
    background-color: white;
    padding: 2em;
    margin-top: 4%;
}

.dashboard-container {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.page-background{
  background-image: url(../../images/back.jpg);
}

#title-standard{
  margin-top: 2%;
  text-align: center;
}

#title-standard h1{
  line-height: 1em;
  font-size: 5em;
  font-weight: 900;
  margin-bottom: 0.4em;
}

#title-standard h2{
  font-size: 1.7em;
  font-weight: 400;
}


/*-----------------*/
/* CHI SIAMO */
/*-----------------*/

.tertiary-title {
  font-size: 2em;
  font-weight: 600;
  color: var(--card-title-color);
  margin: 2em 0 1em;
  padding-left: 1em;
  border-left: 5px solid #749ba3;
}

.text-standard {
  background-color: var(--white);
  width: 80%;
  margin: 2em auto;
  padding: 1em;
  border-radius: 1.4em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  line-height: 1.8em;
}

.text-standard p {
  font-size: 1.2em;
  color: var(--text-secondary);
  margin-top: 1.2em;
  margin-bottom: 1.2em;
}

.text-standard ul {
  list-style-position: inside;
  margin-left: 1.5em;
  margin-top: 1em;
}

.text-standard li {
  font-size: 1.2em;
  color: var(--text-secondary);
  margin-bottom: 0.8em;
  padding-left: 0.5em;
}

.text-standard dl {
  margin-top: 2em;
}

.text-standard dt {
  font-size: 1.4em;
  font-weight: 700;
  color: var(--card-title-color);
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

.text-standard dd {
  font-size: 1.2em;
  color: var(--text-secondary);
  margin-left: 2em;
  margin-bottom: 1em;
  line-height: 1.8em;
}

.text-standard .text-separator {
  margin: 0;
}

.text-standard a {
  color: #0000FF;
  text-decoration: none;
  font-weight: 600;
  font-size: 1em;
  transition: color 0.3s ease;
  margin-top: auto;
}

.text-standard a:visited {
  color: #800080;
  text-decoration: none;
  font-weight: 600;
  font-size: 1em;
  transition: color 0.3s ease;
  margin-top: auto;
}

.text-standard a:hover,
.text-standard a:visited:hover {
  color: #FF0000;
  text-decoration: underline;
}

#founders {
  background: var(--card-bg-color);
  width: 80%;
  margin: 3em auto;
  padding: 2.5em;
  border-radius: 1.4em;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  text-align: center;
}

#founders h3 {
  font-size: 2em;
  font-weight: 700;
  color: var(--card-title-color);
  margin-bottom: 1em;
}

#founders p {
  font-size: 1.2em;
  color: var(--card-subtitle-color);
  margin-bottom: 1.5em;
}

#founders ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1em;
  max-width: 600px;
  margin: 0 auto;
}

#founders li {
  background-color: var(--white);
  padding: 1.2em;
  border-radius: 0.8em;
  font-size: 1.2em;
  font-weight: 600;
  color: var(--card-title-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#founders li:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/*-----------------*/
/*  DOVE TROVARCI  */
/*-----------------*/
.search-container {
  width: 90%;
  margin: 2em auto 1em;
  text-align: center;
}

.search-container label {
  display: block;
  font-size: 1.2em;
  font-weight: 600;
  color: var(--card-title-color);
  margin-bottom: 0.5em;
}

.search-container input {
  width: 70%;
  padding: 0.8em 1.2em;
  font-size: 1em;
  border: 2px solid var(--form-accent-color);
  border-radius: 2em;
  background-color: var(--white);
  transition: var(--transition-standard);
}

.search-container input:focus {
  outline: none;
  border-color: #253096;
  box-shadow: 0 0 0 4px rgba(22, 29, 93, 0.15);
}

.locations-container{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2em;
  width: 90%;
  margin: 3em auto;
}

@media screen and (max-width: 1000px) {
  .locations-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

.locations-container abbr{
  text-decoration: none;
}

.location {
  background-color: var(--white);
  border-radius: 1.2em;
  padding: 1.5em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;

}

.location.hidden {
  display: none;
}

.location:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.location h3 {
  color: var(--card-title-color);
  font-size: 1.5em;
  margin-bottom: 1em;
}

.location img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 0.8em;
  margin-bottom: 1em;
}

.location p {
  font-size: 1em;
  line-height: 1.5em;
  margin-bottom: 0.8em;
  color: var(--text-secondary);
}

.location a {
  color: #0000FF;
  text-decoration: none;
  font-weight: 600;
  font-size: 1em;
  transition: color 0.3s ease;
  margin-top: auto;
}

.location a:visited {
  color: #800080;
  text-decoration: none;
  font-weight: 600;
  font-size: 1em;
  transition: color 0.3s ease;
  margin-top: auto;
}

.location a:hover,
.location a:visited:hover {
  color: #FF0000;
  text-decoration: underline;
}

/* Override per i pulsanti .btn-link dentro .location */
.location a.btn-link {
  background-color: var(--btn-primary-bg);
  color: var(--white);
  text-decoration: none;
  padding: 0.5em 1.1em;
  margin-top: auto;
  font-size: 1.1em;
  border-radius: 0.8em;
}

.location a.btn-link:hover {
  background-color: var(--btn-primary-hover);
  color: var(--white);
  text-decoration: none;
}

/* TUTTI I FORM */
form {
  max-width: 380px;
  margin: 1% auto;
  background: var(--card-locations-bg-color);
  border-radius: 1.2em;
  box-shadow: 0 10px 40px rgba(172, 210, 230, 0.4);
  overflow: hidden;
}

form fieldset {
  border: none;
  margin: 0.9em;
  padding: 0 0 0.6em 0;
  background: var(--white);
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(172, 210, 230, 0.2);
  overflow: hidden;
}

form legend {
  width: 100%;
  padding: 1.1em;
  margin: 0 0 0.9em 0;
  background: var(--form-accent-color);
  font-size: 1.1em;
  font-weight: 700;
  color: #1a1a1a;
  text-align: center;
  box-sizing: border-box;
  border-radius: 0.8em; 
  display: block;
  border: none;
}

form fieldset > div {
  margin: 0 1.5em 0.9em 1.5em;
}

label {
  display: block;
  margin-bottom: 0.5em;
  font-weight: 600;
  color: var(--form-label-color);
  font-size: 0.9em;
}

input, 
textarea, 
select {
  width: 100%;
  padding: 0.6em 0.9em;
  border: 2px solid var(--form-accent-color);
  border-radius: 0.8em;
  font-size: 0.9em;
  background-color: var(--form-input-bg); 
  transition: var(--transition-standard);
  box-sizing: border-box;
}


select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg fill="%234f5abb" height="20" width="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><polygon points="5,7 15,7 10,12"/></svg>');
  background-repeat: no-repeat;
  background-position: right 0.75em center;
  background-size: 1em;
  padding-right: 40px;
  cursor: pointer;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--form-focus-color);
  background-color: var(--white); 
  box-shadow: 0 0 0 4px rgba(172, 210, 230, 0.15);
}

small {
  display: block;
  margin-top: 0.3em;
  color: #2C5F7A;
  font-size: 0.7em;
  line-height: 1.4;
}

.radio-standard {
  display: grid;
  grid-template-columns: auto 1.2em;
  column-gap: 0.6em; 
  align-items: center;
  padding: 0.5em 0.9em;
  background: var(--form-input-bg);
  border: 2px solid var(--form-accent-color);
  border-radius: 0.8em;
  margin-bottom: 1em;
  box-sizing: border-box;
  transition: var(--transition-standard);
  outline: none;
}

.radio-standard:hover {
  background: #e8f4f8;
}

.radio-standard label {
  font-weight: 500;
  cursor: pointer;
  margin: 0;
}

.radio-standard input[type="radio"] {
  width: 1.1em;
  height: 1.1em;
  accent-color: var(--form-focus-color);
  cursor: pointer;
  justify-self: end;
  outline: none;
}

.radio-standard:has(input[type="radio"]:focus-visible) {
  border-color: var(--form-focus-color);
  box-shadow: 0 0 0 3px rgba(18, 66, 92, 0.2);
  background: var(--white);
}


.radio-standard:has(input[type="radio"]:checked) {
  border-color: var(--form-focus-color);
}

/* Pulsanti standard */
.btn-submit {
  display: inline-block;
  width: calc(100% - 1.9em);
  padding: 1em;
  margin: 1.2em 0.9em 0.9em 0.9em;
  background: var(--btn-primary-bg);
  color: var(--white);
  border: none;
  border-radius: 0.8em;
  font-size: 1em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.3s ease, box-shadow 0.3s ease, color 0.3s ease, transform 0.1s ease;
  box-shadow: 0 4px 15px rgba(18, 66, 92, 0.3);
  text-decoration: none;
  text-align: center;
}

.btn-submit:hover {
  background-color: var(--btn-primary-hover);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(8, 46, 65, 0.4);
}

.btn-submit:focus,
.btn-submit:focus-visible {
  background-color: var(--btn-primary-bg);
  color: var(--white);
}

.btn-link {
  text-align: center;
  padding: 0.5em 1.1em;
  margin-top: 0.6em;
  font-size: 14px;
  font-weight: 600;
  background-color: var(--btn-primary-bg);
  text-decoration: none;
  display: inline-block;
  border-radius: 0.8em;
  border: none;
  cursor: pointer;
  transition: var(--transition-standard);
  text-transform: none;
  color: var(--white);
}

.btn-link:hover {
  background-color: var(--btn-primary-hover);
  color: var(--white);
}

.profile-header {
  display: flex;
  justify-content: center; 
  align-items: center;
  margin-top: 3.1em;
  margin-bottom: 5em;
  gap: 7.5em; 
  max-width: 600px; 
  margin-left: auto;
  margin-right: auto;
}

.profile-picture {
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  text-align: inherit;
  flex-shrink: 0;
  position: relative;
  cursor: pointer;
  width: 8.1em;
  height: 8.1em;
}

.profile-picture {
  flex-shrink: 0;
  position: relative;
  cursor: pointer;
  width: 8.1em;
  height: 8.1em;
}

.profile-picture img {
  width: 130%;
  height: 130%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--btn-primary-bg);
  box-shadow: 0 4px 15px rgba(172, 210, 230, 0.3);
  transition: var(--transition-opacity);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.profile-picture.is-default #remove-photo-btn {
    display: none;
}

.profile-picture::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(130% + 6px);
  height: calc(130% + 6px);
  border-radius: 50%;
  border: 3px solid var(--btn-primary-bg);
  opacity: 0;
  transition: var(--transition-opacity);
  pointer-events: none;
  z-index: 2;
}

.profile-picture::after {
  content: 'Modifica Foto';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 130%;
  height: 130%;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: normal;
  text-align: center;
  opacity: 0;
  transition: var(--transition-opacity);
  pointer-events: none;
  z-index: 1;
  white-space: nowrap;
}


.profile-picture:focus::before,
.profile-picture:focus-visible::before {
  opacity: 1;
}


.profile-picture:focus,
.profile-picture:focus-visible {
  outline: none;
}

.profile-picture:has(.remove-photo:focus)::before {
  opacity: 0;
}


.profile-picture:hover::after {
  opacity: 1;
}

.profile-picture:has(.remove-photo:hover)::after {
  opacity: 0;
}


.profile-picture:focus::after,
.profile-picture:focus-within::after {
  opacity: 1;
}


.profile-picture:has(.remove-photo:focus)::after {
  opacity: 0;
}


.profile-picture:hover img {
  opacity: 0.8;
}

.profile-picture:has(.remove-photo:hover) img {
  opacity: 1;
}


.profile-picture:focus img {
  opacity: 0.8;
}

.remove-photo {
    position: absolute;
    top: -0.6em;
    right: -0.6em;
    width: 1.9em;
    height: 1.9em;
    background-color: #d44040;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25em;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 10;
    font-family: Arial, sans-serif;
}

.remove-photo:focus {
    outline: 3px solid #ff4d4d;
    outline-offset: 2px;
}

.remove-photo::after {
    content: 'Rimuovi foto';
    position: absolute;
    top: 50%;
    right: 2.5em;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 0.4em 0.7em;
    border-radius: 4px;
    font-size: 0.75em;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-opacity);
    z-index: 1001;
}

.remove-photo:hover::after,
.remove-photo:focus::after {
    opacity: 1;
}

.profile-picture:hover .remove-photo {
    opacity: 1;
    transform: scale(1);
}

.remove-photo:hover {
    background-color: #ce2c2c;
    transform: scale(1.1);
}

.profile-picture input[type="file"] {
  display: none;
}

.hidden-input {
  display: none;
}

/* =========================================
   MESSAGGI FLASH E ERRORI
========================================= */
.no-results-message {
  display: none;
  text-align: center;
  margin-top: 0;
  box-shadow: none;
  background: transparent;
}


.no-results-message-visible {
  display: block;
  text-align: center;
  margin-top: 0;
  box-shadow: none;
  background: transparent;
}

/* Classe base per messaggi */
.msg-success,
.msg-error,
.msg-flash {
  padding: 0.9em;
  margin: 1.2em auto;
  border-radius: 5px;
  text-align: center;
}

/* Messaggio di successo (verde) */
.msg-success,
.msg-success-text {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  width: 90%;
  max-width: 50em;
}

.msg-success-text {
  font-weight: bold;
}


/* Messaggi di errore (rosso) */
.msg-error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  padding: 0.4em;
  border-radius: 0.6em;
  font-weight: 500;
}

/* Messaggi inline dentro i form */
fieldset .msg-error,
form .msg-error {
  width: 90%;
  margin: 0.6em auto;
  margin-bottom: 0.6em;
}

/* Messaggio flash generico */
.msg-flash {
  width: 90%;
}

/* ==================================================
   SEZIONI SPECIALI DONA ORA (ACCESSO RICHIESTO, ETC)
========================================= */

/* Container per azioni (pulsanti login/registrazione) */
.action-container,
.action-container-single {
  display: flex;
  align-items: center;
}

.action-container {
  flex-direction: column;
  gap: 0.6em;
}

.action-container-single {
  justify-content: center;
}

/* Form inline per pulsanti */
.form-inline {
  box-shadow: none;
  background: transparent;
  margin: 0;
  border-radius: 0;
}

/* Wrapper contenitore pulsante */
.btn-wrapper {
  width: 100%;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
}

/* =========================================
   CARD PROFILO DONATORE
========================================= */

.profile-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5em;
  margin: 2em 0;
}

.profile-card {
  background: linear-gradient(135deg, var(--white) 0%, #f8fbfc 100%);
  border-radius: 1em;
  padding: 1.5em;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--form-accent-color);
}

.profile-card-title {
  font-size: 1.3em;
  font-weight: 700;
  color: var(--btn-primary-bg);
  margin-bottom: 1em;
  padding-bottom: 0.5em;
  border-bottom: 2px solid var(--form-accent-color);
}

.data-list-compact {
  margin: 0;
  padding: 0;
  list-style: none;
}

.data-list-compact div {
  padding: 0.6em 0;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0.8em;
  align-items: center;
}

.data-list-compact div:not(:last-child) {
  border-bottom: 1px solid rgba(172, 210, 230, 0.3);
}

.data-list-compact dt {
  font-size: 0.85em;
  color: #12425c;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.data-list-compact dd {
  margin: 0;
  font-size: 1em;
  color: #2c3e50;
  font-weight: 500;
}

.blood-type-badge {
  display: inline-block;
  background: linear-gradient(135deg, #c1121f 0%, #d90429 100%);
  color: var(--white);
  padding: 0.4em 1em;
  border-radius: 2em;
  font-weight: 700;
  font-size: 1.1em;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 8px rgba(193, 18, 31, 0.3);
  vertical-align: middle;
}

/* Stile per abbreviazioni accessibili */
abbr[title] {
  text-decoration: none;
  border-bottom: 1px dotted currentColor;
  cursor: help;
}

abbr[title]:hover,
abbr[title]:focus {
  border-bottom-style: solid;
}

/* =========================================
   LAYOUT ADMIN MODIFICA PRENOTAZIONE
========================================= */

.admin-layout-container {
  display: grid;
  grid-template-columns: 21em 600px 1fr;
  gap: 2em;
  margin-top: 1em;
  padding: 0 2em;
  max-width: 100%;
  box-sizing: border-box;
}

@media screen and (min-width: 769px) and (max-width: 1100px) {
  .admin-layout-container {
    grid-template-columns: 21em 1fr;
    max-width: 100%;
  }
  
  .form-container-admin {
    justify-content: flex-start;
  }
}

.donor-info-sidebar {
  margin-top: 5em;
  width: 100%;
}

.form-container-admin {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.form-container-admin form {
  margin: 0;
  width: 100%;
  max-width: 380px;
}

/* =========================================
   ELEMENTI PROFILO
========================================= */

/* Testo maiuscolo per codici fiscali */
.text-uppercase {
  text-transform: uppercase;
}

/* =========================================
   TABELLE E PRENOTAZIONI  
========================================= */

/* Focus per tutti i bottoni */
.btn-std:focus-visible,
.btn-delete:focus-visible,
button:focus-visible {
  outline: 2px solid #000000;
  outline-offset: 2px;
}

/* Status completata */
.status-completed {
  color: rgb(7, 2, 24);
  font-size: 14px;
}

/* Titolo terziario con margine superiore */
.titolo-margin-top {
  margin-top: 2.5em;
}

/* =========================================
   TABELLA ADMIN - CELLE E AZIONI
========================================= */

/* Cella centrata nella tabella */
.table-cell-centered {
  text-align: center;
}

.button-container {
  display: flex;
  flex-direction: column;
  gap: 0.9em;              
  max-width: 200px;
}

.btn-std {
  display: inline-block;
  padding: 1em;
  background-color: var(--btn-primary-bg);
  color: var(--white);
  text-decoration: none;
  text-align: center;
  border: none;
  border-radius: 0.8em;
  font-size: 1em;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
}

.btn-std:hover {
  background-color: var(--btn-primary-hover);
  color: var(--white);
}

.btn-index{
  padding: 1.2em 4em;
}

.btn-delete {
    display: inline-block;
    padding: 0.7em 1em;
    background-color: var(--btn-delete-bg);
    color: var(--black);
    text-decoration: none;
    text-align: center;
    border: none;
    border-radius: 0.8em;
    font-size: 1em;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
}

.btn-delete:hover {
    background-color: var(--btn-delete-hover);
    color: var(--white);
}

.btn-profile{
  padding: 0.7em 1em;
}

/* DISCALIMER IN DOVE TROVARCI */

#disclaimer {

  max-width: 1000px; 
  margin: 8em auto 2em;
  padding: 1.5em 2em;
  background-color: #ddebf4; 
  border-radius: 1.2em;
  font-size: 0.85em;
  line-height: 1.5;
  color: #444;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

#disclaimer-title {
  font-size: 1.2em;
  font-weight: 700;
  color: var(--card-title-color);
  margin-bottom: 0.5em;
  text-align: left; 
}

#disclaimer p {
  margin-bottom: 0.5em;
  max-width: 95%; 
}

#disclaimer p:last-child {
  margin-bottom: 0;
}


@media (max-width: 1024px) {
  #disclaimer {
    max-width: 90%;
  }
}


.dashboard-title {
    font-family: 'Jost', sans-serif;
    font-size: 1.4em;
    color: #1a3a5a;
    margin-bottom: 25px;
    font-weight: 700;
    display: block;
    border-bottom: 2px solid #acd2e6;
    padding-bottom: 5px;
    width: fit-content;
}

.data-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.data-list div {
    padding: 0.75em 0;
    border-bottom: 1px solid #f0f4f8;
    display: flex;
    justify-content: flex-start;
    align-items: baseline;
}


.data-list div:last-child {
    border-bottom: none;
}


.data-list dt {
    width: 11.2em;
    font-size: 0.85rem;
    color: #7f8c8d;
    text-transform: uppercase;
    font-weight: 600;
    flex-shrink: 0;
}


.data-list dd {
    margin: 0;
    font-size: 1.1em;
    color: #2c3e50;
    font-weight: 500;
}


.data-list dd.evidenziato {
    color: #d90429;
    font-weight: 700;
}

/*-----------------*/
/* TASTO INDIETRO  */
/*-----------------*/
.back-button-container {
  margin-left: 2%;
  text-align: left;
  position: absolute;
}

.back-button {
  display: inline-block;
  padding: 0.6em 1.2em;
  background-color: var(--btn-primary-bg);
  color: var(--white);
  text-decoration: none;
  font-size: 0.9em;
  font-weight: 700;
  border-radius: 0.8em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(18, 66, 92, 0.3);
  border: none;
}

.back-button:hover {
  background-color: var(--btn-primary-hover);
  color: var(--white);
  box-shadow: 0 6px 15px rgba(8, 46, 65, 0.4);
}

.back-button:focus-visible {
  outline: 2px solid #000000;
  outline-offset: 2px;
}

.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2em;
}

.error-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4em;
  width: 95%;
  max-width: 1000px;
  margin: 0 auto;
  flex-direction: row
}

.error-content {
  flex: 1;
  text-align: center;
  width: 100%;
}

.error-code {
  font-size: 8em;
  font-weight: bold;
  color: var(--accent-blue);
  margin: 0;
  line-height: 1;
}

.error-message {
  font-size: 2.5em;
  margin: 0.8em 0;
  color: #333;
  line-height: 1.4;
}

.error-description {
  font-size: 1.2em;
  color: #3b3b3b;
  margin: 2em 0;
  line-height: 1.8;
}

.error-actions {
  display: flex;
  gap: 1.5em;
  flex-wrap: wrap;
  margin-top: 2.5em;
  justify-content: center;
}

.error-actions a:hover {
  background: linear-gradient(135deg, var(--link-active-bg-color2) 0%, var(--link-active-bg-color1) 100%);
  color: var(--link-active-txt-color);
  box-shadow: 0 6px 15px rgba(23, 80, 111, 0.4);
}

.error-image {
  flex: 1;
  max-width: 400px;
  height: auto;
}

/* =========================================
   PAGINE ERRORE RESPONSIVE
========================================= */

/* DOMANDE E RISPOSTE IN ABOUT US */

.faq-atds {
    margin: 3em auto;
    max-width: 900px;
    padding: 0 1em;
}

.faq {
    display: flex;
    flex-direction: column;
    margin: 2em 0 0 0;
}

.faq dt, .faq dd {
    max-width: 85%;
    width: 100%;
    box-sizing: border-box;
}

.faq dt {
    font-weight: 700;
    font-size: 1.45em;
    padding: 1.5em 1.75em 1em 1.75em;
    color: #006064;
    display: flex;
    align-items: center;
    line-height: 1.4;
    background: linear-gradient(135deg, #a0c7cf 0%, #ffffff 100%);
    margin-top: 2.5em;
    border-radius: 16px 16px 0 0;
    position: relative;
    z-index: 2;
}

.faq dt:first-of-type {
    margin-top: 0;
}

.faq dt::before {
    content: "❓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #b3e7ee 0%, #feffff 100%);
    margin-right: 1em;
    border-radius: 50%;
    flex-shrink: 0;
    font-size: 1.1em;
    box-shadow: 0 2px 8px rgba(39, 206, 228, 0.3);
}

.faq dd {
    padding: 1.5em 1.75em 1.5em 1.75em;
    line-height: 1.7;
    font-size: 1.2em;
    color: #37474f;
    background: var(--white);
    margin: 0;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1;
}

.faq dt:nth-of-type(odd), 
.faq dt:nth-of-type(odd) + dd {
    align-self: flex-start;
    margin-left: 0;
    margin-right: auto;
    border-left: 5px solid var(--accent-blue);
}

.faq dt:nth-of-type(even), 
.faq dt:nth-of-type(even) + dd {
    align-self: flex-end;
    margin-right: 0;
    margin-left: auto;
    border-right: 5px solid var(--accent-blue);
    border-left: none;
}

.faq dt:nth-of-type(even) {
    flex-direction: row-reverse;
    text-align: right;
}

.faq dt:nth-of-type(even)::before {
    margin-right: 0;
    margin-left: 1em;
}

.faq dd p { margin: 0 0 1em 0; }
.faq dd p:last-child { margin-bottom: 0; }

.faq dd ul {
    margin: 1em 0 0 0;
    padding-left: 1.5em;
    list-style-type: disc;
}

.faq dd li {
    margin-bottom: 0.75rem;
    color: #37474f;
}

.faq dd li::marker { color: #00bcd4; }

/* CAROSELLO DI FOTO IN ABOUT US */
.carousel {
    overflow: hidden;
    width: 100%;
    margin: 3em 0;
    position: relative;
}

.carousel-track {
    display: flex;
    width: max-content;
    animation: scroll 40s linear infinite;
}

.carousel-track.manually-paused {
    animation-play-state: paused;
}

.carousel img {
    width: 400px;
    height: 300px;
    object-fit: cover;
    margin-right: 1em;
    border-radius: 10px;
    flex-shrink: 0;
}

.carousel-toggle {
    position: absolute;
    top: 1em;
    right: 1em;
    z-index: 10;
    background-color: rgba(8, 38, 54, 0.8);
    color: var(--white);
    border: 2px solid var(--white);
    border-radius: 50%;
    width: 3em;
    height: 3em;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2em;
    transition: var(--transition-standard);
}

.carousel-toggle:hover {
    background-color: rgba(8, 38, 54, 0.95);
    transform: scale(1.1);
}

.carousel-toggle:focus-visible {
    outline: 3px solid #ff0;
    outline-offset: 2px;
}

.carousel-toggle .hidden {
    display: none;
}

@media (prefers-reduced-motion: reduce) {
    .carousel-track {
        animation: none;
    }
    .carousel-toggle {
        display: none;
    }
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* =========================================
   TABELLA PRENOTAZIONI ADMIN
========================================= */

.profile-admin .tertiary-title {
  font-size: 1.8em;
  color: var(--card-title-color);
  margin: 2em 0 1em 0;
  padding-bottom: 0.5em;
}

.tertiary-title-centered {
  font-size: 2em;
  color: var(--card-title-color);
  margin: 2em auto 1em auto;
  padding-bottom: 0.5em;
  text-align: center;
  border-left: none;
  padding-left: 0;
  width: 100%;
}

.profile-admin label[for="sede-donazioni"] {
  display: block;
  font-size: 1.1em;
  font-weight: 600;
  color: #000000;
  margin: 1.5em 0 0.5em 0;
  text-align: center;
}

.select-locations-admin {
  margin-bottom: 2.2em;
  align-items: center;
  display: flex;
  justify-content: center;
}

.select-locations-admin select {
  justify-content: center;
  width: 100%;
  max-width: 400px;
  padding: 0.8em 1em;
  font-size: 1em;
  border: 2px solid var(--card-bg-color);
  border-radius: 0.6em;
  background-color: var(--white);
  color: var(--black);
  cursor: pointer;
  transition: all 0.3s ease;
}

.table-container {
  margin: 2em 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.data-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background-color: var(--white);
}

.data-table thead {
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--card-bg-color) 100%);
}

.data-table th {
  padding: 1.2em 1em;
  text-align: center;
  font-weight: 700;
  font-size: 0.95em;
  color: var(--black);
  letter-spacing: 0.05em;
  border-bottom: 1px solid #e0e7ec;
}

.data-table tbody tr {
  background-color: var(--white);
}

.data-table td {
  padding: 1.2em 1em;
  font-size: 1em;
  text-align: center;
  color: #12425C;
  border-bottom: 1px solid #e0e7ec;
  vertical-align: middle;
}

.data-table td:last-child {
  white-space: nowrap;
}

.data-table form {
  background: transparent;
  box-shadow: none;
  border: none;
  border-radius: 0;
  padding: 0;
  margin: 0;
  width: auto;
  max-width: none;
  height: auto;
  display: inline-block;
  vertical-align: middle;
  overflow: visible;
}

.data-table tbody tr:nth-child(even) {
  background-color: #e8f4f8;
}

/* Bottoni nelle tabelle */
.btn-table {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 2.5em;
  min-width: auto;
  width: auto;
  padding: 0 1.2em;
  margin: 0 0.4em;
  font-size: 0.85em;
  line-height: normal;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-align: center;
  border: none;
  border-radius: 0.6em;
  cursor: pointer;
  box-shadow: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  background-color: var(--btn-primary-bg);
  color: var(--white);
}

.btn-table:hover {
  background-color: var(--btn-primary-hover);
  color: var(--white);
}

.btn-table.delete {
  background-color: var(--btn-delete-bg);
  color: var(--black);
}

.btn-table.delete:hover {
  background-color: var(--btn-delete-hover);
  color: var(--white);
}

@media screen and (max-width: 1200px) {
  .data-table {
    font-size: 0.9em;
  }
  
  .data-table th,
  .data-table td {
    padding: 1em 0.8em;
  }
}

/* ========================================
   DIALOG MODALE ACCESSIBILE
======================================== */
dialog {
  border: none;
  border-radius: 0.5em;
  padding: 0;
  box-shadow: 0 0.5em 2em rgba(0, 0, 0, 0.3);
  max-width: 90%;
  width: 500px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
}

dialog::backdrop {
  background-color: rgba(0, 0, 0, 0.6);
}

.dialog-content {
  padding: 2em;
}

.dialog-content h2 {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--card-title-color);
  margin-bottom: 1em;
  font-size: 1.5em;
}

.dialog-content p {
  margin-bottom: 1.5em;
  line-height: 1.6;
  color: #333;
}

.dialog-content form,
.dialog-content .dialog-form {
  background: transparent;
  box-shadow: none;
  border: none;
  padding: 0;
  margin: 0;
  border-radius: 0;
  max-width: none;
}

.dialog-buttons {
  display: flex;
  gap: 1em;
  justify-content: center;
  flex-wrap: nowrap;
}

.dialog-buttons .dialog-form {
  flex: 1;
  margin: 0;
}

.dialog-buttons button,
.dialog-buttons .btn-std,
.dialog-buttons .btn-delete {
  width: 100%;
  margin: 0;
  flex: 1;
  height: 3em;
  padding: 0 1.5em;
  font-size: 1em;
  line-height: normal;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Nasconde la ricerca di aria-live su dove_trovarci*/
.sr-only {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Spazio in dashboard admin fra le due tabelle*/
.spacer-admin {
  margin: 2rem 0;
  border-top: 1px solid #ccc;
}

.obligatory{
  font-size: 0.9em;
  color: rgb(164, 7, 7);
}
