.button1{
    background-color: #e9a003;
    border-color: #ffffff;
}

.button1:hover{
    background-color: #ff0000;
    color: white;
    border-color: black;
}

.attivo{
    background-color: #c58700;
    border-color: #c58700;
}

/* ── Admin navbar two-row layout ── */
#navContent{
    flex-direction: column;        /* stack the two <ul> vertically */
}
#navContent .navbar-nav{
    justify-content: center;
    flex-wrap: wrap;
}
#navContent .navbar-nav .button1{
    font-size: .82rem;
    padding: .25rem .55rem;
}
#navContent .navbar-nav .button1 .bi{
    font-size: 20px;
    vertical-align: -3px;
    margin-right: 2px;
}

/* ---- THEME (pastel / crochet-ish) ---- */
  :root{
    --ch-purple: #a53d3d;           /* viola sito */
    --ch-purple-200:#ad615e;
    --ch-pink-50:#ff7c7c;
    --ch-cream:#fde2c3;
    --ch-text:#000000;
    --ch-muted:#9a7b6d;
    --ch-border:#ff9191;
  }

  .ch-modal{
    border-radius: 18px;
    border: 2px solid rgba(255, 117, 117, 0.15);
    box-shadow: 0 18px 55px rgba(0,0,0,.15);
    background: linear-gradient(180deg, #fff 0%, var(--ch-cream) 100%);
    overflow: visible;
  }
  .ch-modal-header{
    background: linear-gradient(90deg, var(--ch-pink-50), #fff);
    border-bottom: 1px solid rgba(255, 117, 117, 0.15);
  }
  .ch-modal-header .modal-title{
    color: var(--ch-text);
    font-weight: 800;
    letter-spacing: .2px;
  }
  .ch-close{
    opacity: .7;
  }

  .ch-dropzone{
    position: relative;
    border-radius: 18px;
    border: 2px dashed rgba(255, 117, 117, 0.35);
    background:
      radial-gradient(circle at 15% 20%, rgba(241,215,255,.60), transparent 50%),
      radial-gradient(circle at 90% 30%, rgba(242,183,212,.40), transparent 55%),
      linear-gradient(180deg, #ffffff 0%, rgba(255,242,247,.55) 100%);
    padding: 18px;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
    outline: none;
  }
  .ch-dropzone:hover{
    transform: translateY(-1px);
    box-shadow: 0 14px 32px rgba(255, 117, 117, 0.15);
    border-color: rgba(255, 117, 117, 0.55);
  }
  .ch-dropzone:focus-visible{
    box-shadow: 0 0 0 4px rgba(255, 117, 117, 0.18);
  }
  .ch-dropzone.is-dragover{
    border-color: var(--ch-purple);
    box-shadow: 0 0 0 5px rgba(255, 117, 117, 0.16);
  }

  .ch-dropzone-inner{
    text-align: center;
    padding: 10px 8px 6px;
    user-select: none;
  }
  .ch-icon{
    width: 58px; height: 58px;
    margin: 0 auto 10px;
    border-radius: 16px;
    color: var(--ch-purple);
    background: rgba(255, 118, 118, 0.55);
    display: grid;
    place-items: center;
  }
  .ch-title{
    font-size: 18px;
    font-weight: 900;
    color: var(--ch-text);
  }
  .ch-subtitle{
    margin-top: 4px;
    color: var(--ch-muted);
    font-weight: 600;
  }
  .ch-link{
    color: var(--ch-purple);
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  .ch-hint{
    margin-top: 8px;
    font-size: 12px;
    color: rgba(107,74,58,.75);
  }

  .ch-preview{
    display: grid;
    gap: 12px;
    place-items: center;
    padding: 8px 4px 2px;
  }
  .ch-preview img{
    max-width: 100%;
    max-height: 260px;
    border-radius: 16px;
    border: 2px solid rgba(242,183,212,.55);
    box-shadow: 0 12px 28px rgba(0,0,0,.12);
    background: #fff;
    object-fit: cover;
  }
  .ch-preview-actions{
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
  }
  .ch-btn-soft{
    border-radius: 12px;
    border: 1px solid rgba(125,60,152,.25);
    background: rgba(241,215,255,.45);
    color: var(--ch-purple);
    font-weight: 800;
  }
  .ch-btn-soft:hover{ background: rgba(241,215,255,.75); }
  .ch-btn-danger{
    border-radius: 12px;
    border: 1px solid rgba(220,53,69,.25);
    background: rgba(220,53,69,.08);
    color: #b02a37;
    font-weight: 800;
  }

  .ch-error{
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(220,53,69,.08);
    border: 1px solid rgba(220,53,69,.25);
    color: #b02a37;
    font-weight: 700;
    font-size: 14px;
  }

  .ch-modal-footer{
    border-top: 1px solid rgba(125,60,152,.12);
    background: linear-gradient(90deg, #fff, var(--ch-cream));
    padding: 14px 20px;
  }
  .ch-modal-footer .btn{
    border-radius: 12px;
    font-weight: 700;
    padding: 8px 22px;
  }

  .ch-meta{
    background: rgba(255,255,255,.45);
    border-radius: 14px;
    padding: 14px;
    border: 1px solid rgba(125,60,152,.08);
  }

  .ch-meta .ch-label{
  font-weight: 800;
  color: var(--ch-text);
  margin-bottom: 6px;
}

.ch-input{
  border-radius: 14px;
  border: 1px solid rgba(125,60,152,.20);
  background: rgba(255,255,255,.85);
  box-shadow: 0 6px 18px rgba(0,0,0,.04);
}

.ch-input:focus{
  border-color: rgba(125,60,152,.55);
  box-shadow: 0 0 0 4px rgba(125,60,152,.15);
}

.footer-admin * {
min-width: 0;
}

.footer-admin-logo {
max-width: 150px;
height: auto;
}

/* intestazioni (Info/Support/Account) con linea rossa come nel tuo admin */
.footer-admin-head {
font-size: 25px;
padding-bottom: 6px;
border-bottom: 0.4rem outset #ff0000;
display: inline-flex;
align-items: center;
gap: 10px;
color: #000;
width: 100%;
}

/* link uno sotto l'altro */
.footer-admin-links {
display: flex;
flex-direction: column;
gap: 10px;
margin-top: 12px;
}

/* mobile: tutto centrato e comodo da cliccare */
@media (max-width: 576px) {
.footer-admin-head {
    justify-content: center;
    text-align: center;
}

.footer-admin-links {
    align-items: center;
    text-align: center;
}

/* icone social più “touch-friendly” */
.footer-admin .socialB svg {
    width: 28px;
    height: 28px;
}
}
      
.cardd1,
.cardd2{
  width: 100%;
  height: 100%;
  padding: 5px; /* spessore bordo */
  border-radius: 1rem;
  position: relative;
  overflow: hidden;
  z-index: 1;

  background:
    linear-gradient(#111111, #111111) padding-box, /* interno */
    var(--background) border-box;                  /* bordo */

  border: 3px solid transparent;
}

.cardd1{ 
  --background: linear-gradient(to left, #ffae00, #ff0000);
}

.cardd2{ 
  --background: linear-gradient(to left, #ff0000, #ffae00);
}

.cardd1::after,
.cardd2::after{
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;

  background: var(--background);

  filter: blur(30px);
  transform: scale(0.9);
  opacity: 0.6;

  transition: opacity .4s ease;
}

.cardd1:hover::after,
.cardd2:hover::after{
  opacity: 0.9;
}

.join-img-grid{
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

@media (max-width: 992px){
  .join-img-grid{ grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px){
  .join-img-grid{ grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 420px){
  .join-img-grid{ grid-template-columns: repeat(2, 1fr); }
}

.join-img-item{
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 10px 24px rgba(0,0,0,0.25);
  background: rgba(255,255,255,0.04);

  aspect-ratio: 1 / 1;   /* 👈 rende il contenitore quadrato */
  position: relative;
}

.join-img-item img{
  width: 100%;
  height: 100%;
  object-fit: cover;     /* 👈 riempie senza deformare */
  display: block;
  cursor: pointer;
  transition: transform .18s ease;
}

.join-img-item img:hover{
  transform: scale(1.03);
}

.reject-modal{
  background: linear-gradient(180deg, rgba(20,20,20,0.98) 0%, rgba(10,10,10,0.98) 100%);
  border: 1px solid rgba(255, 0, 0, 0.35);
  border-radius: 18px;
  box-shadow:
    0 20px 60px rgba(0,0,0,0.65),
    0 0 0 1px rgba(255,0,0,0.10),
    0 0 24px rgba(255,0,0,0.18);
  color: #fff;
}

.reject-modal .modal-title{
  font-weight: 800;
  letter-spacing: .2px;
}

.reject-textarea{
  background: rgba(255,255,255,0.06);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  padding: 12px 14px;
  resize: none;
}

.reject-textarea::placeholder{
  color: rgba(255,255,255,0.55);
}

.reject-textarea:focus{
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(255,0,0,0.18);
  border-color: rgba(255,0,0,0.35);
}
