/* ====== REPTIL EXPO - THEME SCURO ORO ====== */

/* Reset e Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #1a1a1a;
  color: white;
  line-height: 1.6;
  overflow-x: hidden;
}
p{color: #aeb5b5;}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;

}
.mt120{margin-top:120px;}
/* ====== NAVIGATION ====== */
.reptil-nav {
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  border-bottom: 2px solid #b9b274;
  box-shadow: 0 4px 20px rgba(185, 178, 116, 0.1);
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1380px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.nav-brand {
  color: #b9b274;
  font-size: 1.8rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.brand-text {
  color: white;
  background: linear-gradient(45deg, #b9b274, #d4c985);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
color: #bdbdbd;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 16px;
}
.center-ott{
max-width: 800px;
margin-left: auto;
margin-right: auto;
}
.nav-link:hover {
  color: #b9b274;
  background: rgba(185, 178, 116, 0.1);
  transform: translateY(-2px);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px;
  background: #b9b274;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 80%;
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: #b9b274;
  transition: 0.3s;
  border-radius: 3px;
}

/* ====== HERO BANNER ====== */
.hero-banner {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: -10%;
    left: 7%;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    flex-direction: row;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  padding: 2rem;
  animation: heroFadeIn 2s ease-out;
}

.hero-title {
  font-size: 4rem;
  font-weight: 900;
  background: linear-gradient(45deg, #b9b274, #d4c985, #b9b274);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  animation: titleGlow 3s ease-in-out infinite alternate;
}

.hero-subtitle {
  font-size: 3.5rem;
  color: #b9b274;
  margin-bottom: 1rem;
  font-weight: 600;
}

.hero-description {
  font-size: 1.2rem;
  color: #888888;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-hero {
  display: inline-block;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-width: 200px;
  text-align: center;
}

.btn-hero.primary {
  background: linear-gradient(45deg, #b9b274, #d4c985);
  color: #1a1a1a;
  box-shadow: 0 8px 25px rgba(185, 178, 116, 0.3);
}

.btn-hero.secondary {
  background: transparent;
  color: #b9b274;
  border: 2px solid #b9b274;
}
.form-group {
    margin-bottom: 8px;
}

.btn-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(185, 178, 116, 0.4);
}

.btn-hero.primary:hover {
  background: linear-gradient(45deg, #d4c985, #b9b274);
}

.btn-hero.secondary:hover {
  background: #b9b274;
  color: #1a1a1a;
}

/* ====== MAIN CONTENT ====== */
.main-wrapper {
  margin-top: 0;
  min-height: 100vh;
}

.page-content {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

.content-section {
  padding: 5rem 0;
  position: relative;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}

.content-section-page {
  padding: 12rem 0;
  position: relative;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}

.content-section.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.content-section.alternate {
  background: #2a2a2a;
}

.section-title {
  font-size: 3rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 3rem;
  background: linear-gradient(45deg, #b9b274, #d4c985);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(45deg, #b9b274, #d4c985);
  border-radius: 2px;
}

.intro-text {
  font-size: 1.3rem;
  text-align: center;
  color: #888888;
  margin-bottom: 3rem;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}
.intro-text-two {
  font-size: 1.3rem;
  text-align: center;
  color: #888888;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.highlight-text {
  font-size: 1.4rem;
  color: white;
  line-height: 1.8;
}

.highlight-text strong {
  color: #b9b274;
  font-weight: 700;
}

/* ====== CONTENT GRID ====== */
.content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
}

.content-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.animated-icon {
  font-size: 8rem;
  animation: float 3s ease-in-out infinite;
  transition: all 0.5s ease;
}

/* ====== FEATURES GRID ====== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: rgba(42, 42, 42, 0.8);
  border: 1px solid #bebd8054;
  border-radius: 15px;
  padding: 0.5rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(185, 178, 116, 0.1), transparent);
  transition: all 0.6s ease;
}

.feature-card:hover::before {
  left: 100%;
}

.feature-card:hover {
  border-color: #b9b274;
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(185, 178, 116, 0.2);
}

.feature-icon {
  font-size: 3rem;
  display: block;
}

.feature-card h3 {
	color: #918c5c;
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.4;
}

/* ====== EXPO CATEGORIES ====== */
.expo-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.expo-categories-two {
  display: grid;
  margin: 3rem 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    background: #292929;
    padding: 20px;
	border-radius: 15px;
}

.category-item {
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
  border: 2px solid #b9b274;
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.category-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(185, 178, 116, 0.3);
}

.category-item h3 {
  font-size: 1.5rem;
  color: #b9b274;
  margin-bottom: 1rem;
  font-weight: 700;
}

.category-item p {
  color: #888888;
  line-height: 1.6;
}

/* ====== DISCLAIMER BOX ====== */
.disclaimer-box {
  background: rgba(185, 178, 116, 0.1);
  border: 2px solid #b9b274;
  border-radius: 15px;
  padding: 2rem;
  margin: 6rem 0;
  position: relative;
      max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}


.disclaimer-box p {
  color: #888888;
  line-height: 1.8;
  font-size: 1rem;
}
.important{
	position: absolute;
    top: -34%;
    background: #252525;
    padding: 10px;
    border-radius: 12px;
}

.disclaimer-box strong {
  color: #b9b274;
  font-weight: 700;
}

/* ====== CTA SECTION ====== */
.cta-section {
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
      padding: 70px;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="snake" patternUnits="userSpaceOnUse" width="20" height="20"><path d="M0 10 Q 5 0 10 10 Q 15 20 20 10" stroke="%23b9b274" stroke-width="0.5" fill="none" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23snake)"/></svg>') center/cover;
  opacity: 0.1;
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(45deg, #b9b274, #d4c985);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-content p {
  font-size: 1.3rem;
  color: #888888;
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-cta {
  display: inline-block;
  padding: 1.2rem 2.5rem;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  min-width: 220px;
  text-align: center;
}

.btn-cta.primary {
  background: linear-gradient(45deg, #b9b274, #d4c985);
  color: #1a1a1a;
  box-shadow: 0 8px 25px rgba(185, 178, 116, 0.3);
}

.btn-cta.secondary {
  background: transparent;
  color: #b9b274;
  border: 2px solid #b9b274;
}

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(185, 178, 116, 0.4);
}

/* ====== FOOTER ====== */
.reptil-footer {
  background: #1a1a1a;
  color: #888888;
  text-align: center;
  padding: 3rem 0;
  border-top: 3px solid #b9b274;

}

.footer-content p {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.footer-subtitle {
  color: #b9b274;
  font-weight: 600;
}

/* ====== ANIMATIONS ====== */
@keyframes heroFadeIn {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes titleGlow {
  0% {
    text-shadow: 0 0 20px rgba(185, 178, 116, 0.5);
  }
  100% {
    text-shadow: 0 0 30px rgba(185, 178, 116, 0.8), 0 0 40px rgba(185, 178, 116, 0.3);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {

  
  .hero-banner {
    height: auto;
    min-height: 100vh;
    flex-direction: column;
    justify-content: flex-end; /* Contenuto in basso */
    align-items: center;
  }
  .hero-overlay {
        position: absolute;
        top: -1%;
        left: 0%;
        width: 102%;
        height: 100%;
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        flex-wrap: nowrap;
        flex-direction: row;
}
  .hero-content {
    max-width: 100%;
    width: 100%;
    text-align: center;
    margin-left: 0;
    padding: 3rem 2rem;
    background: rgb(26 26 26 / 0%);
        backdrop-filter: blur(2px);
    border-radius: 30px 30px 0 0;
    margin-top: auto;
  }
  
  .hero-title {
    font-size: 4rem; /* Ridotto per mobile ma ancora grande */
    line-height: 1;
    margin-bottom: 1.5rem;
  }
  
  .hero-subtitle {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-description {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  
  .btn-hero {
    padding: 1.5rem 2.5rem;
    font-size: 1.3rem;
    min-width: 280px;
  }
  
  /* Navigation Mobile */
  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.98);
    flex-direction: column;
    padding: 2rem;
    transform: translateY(-100%);
    transition: all 0.3s ease;
    gap: 1rem;
  }
  
  .nav-menu.active {
    transform: translateY(0);
  }
  
  .nav-toggle {
    display: flex;
  }
  
  /* Content sections mobile */
  .content-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .features-grid {
	  display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  }
  
  .expo-categories {
      display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  .cta-content h2 {
	  font-size: 1rem;
  }
  .cta-section{
	      padding: 10px;
  }
  .animated-icon {
    font-size: 4rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  .hero-content {
    padding: 1rem;
  }
  
  .content-section {
    padding: 3rem 0;
  }
  
  .feature-card, .category-item {
    padding: 1.5rem;
  }
}

/* ====== PAGINE SPECIFICHE ====== */

/* Info Grid (Orari) */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.info-card {
  background: #2a2a2a;
  border: 2px solid #b9b274;
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(185, 178, 116, 0.3);
}

.info-card h3 {
  color: #b9b274;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.big-text {
  font-size: 1.3rem;
  color: white;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.highlight {
  color: #b9b274;
  font-weight: 600;
  font-size: 1.1rem;
}

.btn-map {
  display: inline-block;
  background: linear-gradient(45deg, #b9b274, #d4c985);
  color: #1a1a1a;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 1rem;
  transition: all 0.3s ease;
}

.btn-map:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(185, 178, 116, 0.4);
}

/* Pricing Table */
.pricing-table {
  background: #2a2a2a;
  border-radius: 15px;
  overflow: hidden;
  margin: 2rem 0;
  border: 2px solid #b9b274;
}

.price-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  padding: 1rem 2rem;
  border-bottom: 1px solid #888888;
}

.price-row.header {
  background: #b9b274;
  color: #1a1a1a;
  font-weight: 700;
  font-size: 1.1rem;
}

.price-row:not(.header):nth-child(even) {
  background: rgba(185, 178, 116, 0.05);
}

/* Forms */
.download-form, .contact-form {
  background: #2a2a2a;
  border: 1px solid #b9b274;
  border-radius: 20px;
  padding: 1.5rem;

}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  color: #b9b274;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid #888888;
  border-radius: 10px;
  background: #1a1a1a;
  color: white;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #b9b274;
  outline: none;
  box-shadow: 0 0 10px rgba(185, 178, 116, 0.2);
}

.btn-download, .btn-send {
  background: linear-gradient(45deg, #b9b274, #d4c985);
  color: #1a1a1a;
  padding: 1.2rem 2.5rem;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.btn-download:hover, .btn-send:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(185, 178, 116, 0.4);
}

/* Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.benefit-card {
  background: #2a2a2a;
  border: 2px solid #b9b274;
  border-radius: 15px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(185, 178, 116, 0.2);
}

.benefit-card h4 {
  color: #b9b274;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.category {
	background: rgb(26 26 26 / 66%);
    border-radius: 10px;
    padding: 0.5rem;
    text-align: center;
    font-weight: 600;
    color: #999999;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: capitalize;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
    align-items: start;
    justify-items: end;
}

.contact-item {
  margin-bottom: 1.5rem;
  color: #888888;
  line-height: 1.6;
}

.contact-item a {
  color: #b9b274;
  text-decoration: none;
}

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

/* Responsive */
@media (max-width: 768px) {
  .price-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    text-align: center;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .category-grid {
    grid-template-columns: 1fr;
  }
}
/* ====== ELENCO ESPOSITORI ====== */

.espositori-layout {
display: grid;
    grid-template-columns: 355px 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

/* SIDEBAR FILTRI */
.filtri-sidebar {
  background: #2a2a2a;
  border: 1px solid #b9b274;
  border-radius: 20px;
  padding: 1rem;
  height: fit-content;
  position: sticky;
  top: 100px;
}



.search-box h3, .filtri-section h3, .ordina-section h3 {
  color: #b9b274;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #888888;
  padding-bottom: 0.5rem;
}

.search-input {
  width: 100%;
  padding: 0.7rem;
  border: 2px solid #888888;
  border-radius: 10px;
  background: #1a1a1a;
  color: white;
  transition: all 0.3s ease;
}

.search-input:focus {
  border-color: #b9b274;
  outline: none;
  box-shadow: 0 0 10px rgba(185, 178, 116, 0.2);
}

/* Filtri Checkbox */
.filtri-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.filtro-item {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  color: #888888;
  font-size: 0.9rem;
}

.filtro-item:hover {
  background: rgba(185, 178, 116, 0.1);
  color: white;
}

.filtro-item input[type="checkbox"] {
  display: none;
}

.checkmark {
  width: 18px;
  height: 18px;
  border: 2px solid #888888;
  border-radius: 4px;
  margin-right: 0.5rem;
  position: relative;
  transition: all 0.3s ease;
}

.filtro-item input[type="checkbox"]:checked + .checkmark {
  background: #b9b274;
  border-color: #b9b274;
}

.filtro-item input[type="checkbox"]:checked + .checkmark::after {
  content: '✓';
  position: absolute;
  top: -2px;
  left: 2px;
  color: #1a1a1a;
  font-weight: bold;
  font-size: 12px;
}

/* Select Ordina */
.ordina-select {
  width: 100%;
  padding: 0.8rem;
  border: 2px solid #888888;
  border-radius: 10px;
  background: #1a1a1a;
  color: white;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.ordina-select:focus {
  border-color: #b9b274;
  outline: none;
}

/* GRIGLIA ESPOSITORI */
.espositori-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 1rem;
    align-items: start;
}

.espositore-card {
background: #2a2a2a;
    border: 2px solid #888888;
    border-radius: 15px;
    padding: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.espositore-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(185, 178, 116, 0.1), transparent);
  transition: all 0.6s ease;
}

.espositore-card:hover {
  border-color: #b9b274;
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(185, 178, 116, 0.2);
}

.espositore-card:hover::before {
  left: 100%;
}
.form-row {
  display: flex;
  gap: 1rem;

}

.form-group.half {
  flex: 1;
}

@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
    gap: 0;
  }
}
.logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
    height: 80px; /* Altezza fissa per il contenitore */
    align-items: center;
}

.espositore-info h4 {
  color: #b9b274;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.5rem;
}

.specialita {
  color: #888888;
  text-align: center;
  font-style: italic;
  margin-bottom: 1rem;
}

.animali-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.tag {
  background: rgba(185, 178, 116, 0.2);
  color: #b9b274;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid #b9b274;
}

.contatti-esp {
    display: flex;
    /* flex-direction: column; */
    gap: 0.5rem;
    align-items: center;
    justify-content: space-around;
}
.info-esp {
  color: #888888;
  font-size: 0.9rem;
}

/* CTA Finale */
.espositori-cta {
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
  border: 2px solid #b9b274;
  border-radius: 20px;
  padding: 3rem;
  text-align: center;
  margin-top: 4rem;
}

.espositori-cta h3 {
  color: #b9b274;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.espositori-cta p {
  color: #888888;
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.btn-cta-esp {
  display: inline-block;
  background: linear-gradient(45deg, #b9b274, #d4c985);
  color: #1a1a1a;
  padding: 1.2rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.btn-cta-esp:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(185, 178, 116, 0.4);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .espositori-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .filtri-sidebar {
    position: static;
  }
  
  .espositori-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .espositori-grid {
    grid-template-columns: 1fr;
  }
  
  .filtri-sidebar {
    padding: 1.5rem;
  }
}
/* Logo dinamico */
.exhibitor-logo {
    width: 235px;
    height: 120px;
    object-fit: cover;
	border-radius: 15px;
}

/* Messaggio nessun espositore */
.no-exhibitors {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2rem;
}

.message-card {
  background: #2a2a2a;
  border: 1px solid #b9b274;
  border-radius: 12px;
  padding: 2rem;
  color: white;
}

.message-card h3 {
  color: #b9b274;
  margin-bottom: 1rem;
}


.radiomark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.filtro-item input[type="radio"]:checked ~ .radiomark {
    background-color: #2ecc71;
    border-color: #2ecc71;
}

.filtro-item input[type="radio"]:checked ~ .radiomark:after {
    content: "";
    position: absolute;
    display: block;
    top: 4px;
    left: 4px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}
.tags-container {
    max-height: 300px;
    overflow-y: auto;
    padding: 2px;
    background: #1a1a1a;
    border-radius: 8px;
    border: 1px solid #2a2a2a;
}

.tag-filter {
    display: inline-block;
    background: #2a2a2a;
    color: #888888;
    padding: 3px 10px;
    margin: 4px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    user-select: none;
}

.tag-filter:hover {
    background: #b9b274;
    color: white;
    transform: translateY(-2px);
}

.tag-filter.active {
    background: #b9b274;
    color: white;
    border-color: #b9b274;
    font-weight: bold;
}

.tags-container::-webkit-scrollbar {
    width: 8px;
}

.tags-container::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 4px;
}

.tags-container::-webkit-scrollbar-thumb {
    background: #b9b274;
    border-radius: 4px;
}

.tags-container::-webkit-scrollbar-thumb:hover {
    background: #a19f5f;
}
.espositore-card {
    position: relative;
    background: #2a2a2a;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #333;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.admin-edit-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #b9b274;
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    z-index: 5;
}

.admin-edit-btn:hover {
    background: #a19f5f;
    transform: scale(1.1);
}

.contatti-esp {
    margin: 10px 0;
    flex-shrink: 0;
}

.info-esp {
    display: block;
    color: #888888;
    font-size: 13px;
    margin: 4px 0;
}

.stand-missing {
    color: #ff6b6b;
    font-style: italic;
}

.animali-tags-scroll {
    max-height: 80px;
    overflow-y: auto;
    padding: 5px 0;
    flex-grow: 1;
}

.animali-tags-scroll::-webkit-scrollbar {
    width: 4px;
}

.animali-tags-scroll::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 2px;
}

.animali-tags-scroll::-webkit-scrollbar-thumb {
    background: #b9b274;
    border-radius: 2px;
}

.tag {
    display: inline-block;
    background: #1a1a1a;
    color: #b9b274;
    padding: 4px 8px;
    margin: 2px;
    border-radius: 12px;
    font-size: 11px;
    border: 1px solid #b9b274;
}
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-content {
  background: #2a2a2a;
  border-radius: 12px;
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  border: 2px solid #b9b274;
}

.popup-header {
  background: #b9b274;
  color: white;
  padding: 5px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 10px 10px 0 0;
}

.popup-close {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  width: 30px;
  height: 30px;
}

.popup-form {
  padding: 20px;
}


.form-group {
  flex: 1;
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  color: #b9b274;
  margin-bottom: 5px;
  font-weight: bold;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 6px;
  color: white;
  font-size: 14px;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #b9b274;
}

.switches-row {
  align-items: center;
  justify-content: space-around;
  padding: 15px 0;
  background: #1a1a1a;
  border-radius: 8px;
}

.switch-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #333;
  transition: .4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #b9b274;
}

input:checked + .slider:before {
  transform: translateX(26px);
}

.popup-buttons {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #333;
}

.btn-cancel {
  background: #666;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  cursor: pointer;
}

.btn-save {
  background: #b9b274;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  cursor: pointer;
}

.btn-add-exhibitor {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #b9b274;
  color: white;
  border: none;
  padding: 15px 25px;
  border-radius: 50px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(185, 178, 116, 0.3);
  z-index: 100;
}

.btn-add-exhibitor:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(185, 178, 116, 0.4);
}
/* === CARD ESPOSITORI TEMA REPTILEXPO === */
.espositore-card {
    background: #2a2a2a;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.espositore-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.6);
    border-color: #b9b274;
}

.logo-container {
    text-align: center;
    margin-bottom: 30px;
    flex-shrink: 0;
}


.logo-placeholder {
    width: 235px;
    height: 100px;
       background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto;
    color: #1a1a1a;
}

.exhibitor-name {
    font-size: 18px;
    font-weight: bold;
    color: #b9b274;
    margin: 10px 0 15px 0;
    line-height: 1.3;
    text-align: center;
}

.contatti-esp {
    margin-bottom: 15px;
    flex-shrink: 0;
}

.info-esp {
    display: inline-block;
    background: rgb(26 26 26 / 35%);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    margin: 2px 4px 2px 0;
    font-weight: 500;
    border: 1px solid rgba(185, 178, 116, 0.3);
}

.info-esp.activity {
    background: rgb(26 26 26 / 35%);
    color: #b9b274;
    font-weight: bold;
    border-color: #b9b274;
}

/* === SEZIONE SPECIE === */
.species-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}
.mt20{margin-top:20px;}
.mt120{margin-top:120px;}
.species-label {
	font-size: 13px;
    color: #888888;
    margin-bottom: 8px;
    font-weight: 500;
    text-align: center;
    margin-top: 25px;
}

.animali-tags-container {
	flex: 1;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 4px;
    justify-content: center;
}

.tag {
	color: #858585;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    display: inline-block;
    margin: 2px;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tag:hover {

}

.tag-more {
    background: linear-gradient(135deg, #666, #777) !important;
    color: white !important;
    cursor: help;
    position: relative;
    animation: pulse 2s infinite;
    border-color: #888 !important;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* === TOOLTIP === */
.species-tooltip {
    background: #1a1a1a !important;
    color: white !important;
    border: 1px solid #b9b274 !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.4;
    box-shadow: 0 4px 15px rgba(0,0,0,0.8) !important;
}

/* === ADMIN BUTTON === */
.admin-edit-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #b9b274;
    color: #1a1a1a;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.admin-edit-btn:hover {
    background: #c4c987;
    transform: scale(1.1);
    box-shadow: 0 3px 8px rgba(0,0,0,0.5);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .espositore-card {
        height: auto;
        min-height: 280px;
        padding: 15px;
    }
    
    .exhibitor-name {
        font-size: 16px;
    }
    
    .info-esp {
        font-size: 11px;
        padding: 4px 8px;
    }
    
    .tag {
        font-size: 10px;
        padding: 3px 6px;
    }
}

/* === GRID LAYOUT === */
.espositori-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

@media (max-width: 768px) {
    .espositori-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 15px 0;
    }
}

/* === LOADING E NO RESULTS === */
.loading-message, .no-exhibitors {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    color: #888888;
    background: #2a2a2a;
    border-radius: 12px;
    border: 1px solid #333;
}

.loading-message h3, .no-exhibitors h3 {
    color: #b9b274;
    margin: 0;
    font-size: 18px;
}

/* === HOVER EFFECTS === */
.espositore-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, transparent, rgba(185, 178, 116, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.espositore-card:hover::before {
    opacity: 1;
}

/* === NO SPECIES STYLING === */
.no-species {
    color: #888888;
    font-style: italic;
    font-size: 12px;
    padding: 8px;
    text-align: center;
    background: rgba(136, 136, 136, 0.1);
    border-radius: 8px;
    border: 1px dashed #555;
}
/* === BOTTONI ADMIN === */
.admin-buttons {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 5px;
    z-index: 10;
}


.admin-link-btn {
    background: #b9b274;
    color: #1a1a1a;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
	    margin-top: -10px;
}

.admin-link-btn {
    background: linear-gradient(135deg, #4a7c59, #6ba583);
    color: white;
}

.admin-edit-btn:hover {
    background: #c4c987;
    transform: scale(1.1);
    box-shadow: 0 3px 8px rgba(0,0,0,0.5);
}

.admin-link-btn:hover {
    background: linear-gradient(135deg, #5a8c69, #7bb593);
    transform: scale(1.1);
    box-shadow: 0 3px 8px rgba(0,0,0,0.5);
}

/* === MODAL LINK === */
.link-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.link-modal {
    background: #2a2a2a;
    border: 1px solid #b9b274;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { transform: translateY(-20px) scale(0.95); }
    to { transform: translateY(0) scale(1); }
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    color: #b9b274;
    margin: 0;
    font-size: 18px;
}

.modal-close {
    background: none;
    border: none;
    color: #888;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: #444;
    color: white;
}

.modal-body {
    padding: 20px;
}

.modal-body p {
    color: white;
    margin-bottom: 15px;
}

.link-container {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.link-container input {
    flex: 1;
    background: #1a1a1a;
    border: 1px solid #444;
    border-radius: 8px;
    padding: 12px;
    color: white;
    font-size: 14px;
}

.copy-btn {
    background: #b9b274;
    color: #1a1a1a;
    border: none;
    border-radius: 8px;
    padding: 12px 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
}

.copy-btn:hover {
    background: #c4c987;
    transform: translateY(-1px);
}

.link-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.whatsapp-btn,
.test-btn {
    background: linear-gradient(135deg, #4a7c59, #6ba583);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    flex: 1;
    min-width: 140px;
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25d366, #128c7e);
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #2aeb75, #1ba68c);
    transform: translateY(-1px);
}

.test-btn:hover {
    background: linear-gradient(135deg, #5a8c69, #7bb593);
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .link-modal {
        width: 95%;
        margin: 20px;
    }
    
    .link-container {
        flex-direction: column;
    }
    
    .link-actions {
        flex-direction: column;
    }
    
    .whatsapp-btn,
    .test-btn {
        min-width: auto;
    }
}
.edit-header {
  text-align: center;
  margin-bottom: 40px;
  padding: 30px;
  background: #2a2a2a;
  border-radius: 12px;
  border: 1px solid #333;
}

.edit-subtitle {
  color: #888888;
  margin: 10px 0 0 0;
  font-size: 16px;
}

.form-container {
  max-width: 800px;
  margin: 0 auto;
}

.exhibitor-edit-form {
  background: #2a2a2a;
  padding: 30px;
  border-radius: 12px;
  border: 1px solid #333;
}

.form-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 5px;
}

.form-group {
  margin-bottom:5px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  color: #b9b274;
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px;
  background: #1a1a1a;
  border: 1px solid #444;
  border-radius: 8px;
  color: white;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #b9b274;
  box-shadow: 0 0 0 2px rgba(185, 178, 116, 0.2);
}

.form-group.readonly input {
  background: #333;
  color: #888;
  cursor: not-allowed;
}

.readonly-note {
  font-size: 12px;
  color: #666;
  margin-top: 5px;
  font-style: italic;
}

/* Tag Input System */
.species-input-container {
  position: relative;
}

.species-tags {
  background: #1a1a1a;
  border: 1px solid #444;
  border-radius: 8px;
  padding: 8px;
  min-height: 100px;
  cursor: text;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 7px;
}

.species-tags:focus-within {
  border-color: #b9b274;
  box-shadow: 0 0 0 2px rgba(185, 178, 116, 0.2);
}

.species-tag {
  background: linear-gradient(135deg, #b9b274, #c4c987);
  color: #1a1a1a;
  padding: 6px 10px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.species-tag .remove-tag {
  background: rgba(0,0,0,0.3);
  border: none;
  color: #1a1a1a;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  cursor: pointer;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.species-input {
  background: transparent;
  border: none;
  outline: none;
  color: white;
  font-size: 14px;
  flex: 1;
  min-width: 120px;
  padding: 6px 0;
}

.form-actions {
  margin-top: 40px;
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #333;
}

.btn-save-exhibitor {
  background: linear-gradient(135deg, #b9b274, #c4c987);
  color: #1a1a1a;
  padding: 15px 30px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(0,0,0,0.3);
}

.btn-save-exhibitor:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.4);
}

.error-message {
  background: #4a2c2c;
  color: #ff9999;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #662;
  text-align: center;
}

.loading-form {
  background: #2a2a2a;
  padding: 40px;
  border-radius: 12px;
  border: 1px solid #333;
  text-align: center;
}

.loading-form h3 {
  color: #b9b274;
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}
/* === LOGO UPLOAD === */
.logo-upload-section {
    margin: 20px 0;
    padding: 20px 0;
    border-top: 1px solid #333;
}

.logo-upload-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.current-logo {
    width: 120px;
    height: 68px;
    border: 2px solid #444;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1a1a;
}

.logo-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.no-logo {
    color: #666;
    font-size: 12px;
    text-align: center;
    padding: 10px;
}

.upload-controls {
    display: flex;
    gap: 10px;
}

.btn-upload,
.btn-remove {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-upload {
    background: #b9b274;
    color: #1a1a1a;
}

.btn-remove {
    background: #666;
    color: white;
}

.btn-upload:hover {
    background: #c4c987;
}

.btn-remove:hover {
    background: #777;
}

/* === CROP MODAL === */
.crop-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.crop-container {
    background: #2a2a2a;
    border: 1px solid #b9b274;
    border-radius: 12px;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.crop-header {
    padding: 15px 20px;
    border-bottom: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.crop-header h4 {
    color: #b9b274;
    margin: 0;
}

.crop-close {
    background: none;
    border: none;
    color: #888;
    font-size: 20px;
    cursor: pointer;
    width: 25px;
    height: 25px;
}

.crop-area {
    padding: 20px;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #1a1a1a;
}
#crop-canvas {
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.crop-instructions {
    position: absolute;
    top: 10px;
    left: 20px;
    color: #888;
    font-size: 12px;
    background: rgba(0,0,0,0.7);
    padding: 8px 12px;
    border-radius: 6px;
}
.crop-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.crop-selection {
    position: absolute;
    border: 2px solid #b9b274;
    background: rgba(185, 178, 116, 0.1);
    cursor: move;
    pointer-events: all;
}

.crop-handles {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
}

.crop-handle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #b9b274;
    border: 1px solid #1a1a1a;
}

.crop-handle.top-left { top: 0; left: 0; }
.crop-handle.top-right { top: 0; right: 0; }
.crop-handle.bottom-left { bottom: 0; left: 0; }
.crop-handle.bottom-right { bottom: 0; right: 0; }

.crop-controls {
    padding: 15px 20px;
    border-top: 1px solid #333;
    display: flex;
    gap: 10px;
    justify-content: center;
}

.btn-apply-crop,
.btn-cancel-crop {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}

.btn-apply-crop {
    background: #b9b274;
    color: #1a1a1a;
}

.btn-cancel-crop {
    background: #666;
    color: white;
}
.resize-handle {
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 15px;
    height: 15px;
    background: #b9b274;
    cursor: se-resize;
    border: 2px solid #1a1a1a;
}

/* === CONTACT INFO SECTION === */
.contact-info {
    background: #2a2a2a;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 30px;
}

.contact-info h3 {
    color: #b9b274;
    font-size: 28px;
    font-weight: bold;
    margin: 0 0 30px 0;
    text-align: center;
    border-bottom: 2px solid #b9b274;
    padding-bottom: 15px;
}

.contact-item {
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 1.6;
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-item strong {
    color: #b9b274;
    font-weight: 600;
    min-width: 140px;
    font-size: 16px;
}

.contact-item a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 18px;
}

.contact-item a:hover {
    color: #b9b274;
    text-decoration: underline;
}

/* Stile specifico per il testo normale */
.contact-item:not(:has(a)) {
    color: white;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .contact-info {
        padding: 25px;
    }
    
    .contact-info h3 {
        font-size: 24px;
        margin-bottom: 25px;
    }
    
    .contact-item {
        font-size: 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .contact-item strong {
        min-width: auto;
        font-size: 15px;
    }
    
    .contact-item a {
        font-size: 16px;
    }
}
/* === MESSAGGI FORM CONTATTI === */
.contact-message {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
    text-align: center;
    animation: slideInDown 0.3s ease;
}

.message-success {
    background: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
    border: 1px solid #4CAF50;
}

.message-error {
    background: rgba(244, 67, 54, 0.1);
    color: #F44336;
    border: 1px solid #F44336;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Bottone submit durante invio */
.form-contact button[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: #666 !important;
}
/* === CAMPANELLINA MANUTENZIONE === */
.maintenance-indicator {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 999;
}

.maintenance-bell {
    background: #2a2a2a;
    border: 2px solid #b9b274;
    border-radius: 25px;
    padding: 8px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.maintenance-bell:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(185, 178, 116, 0.4);
}

.maintenance-bell.maintenance-on {
    background: #1a4d1a;
    border-color: #4CAF50;
	width: 159px;
    float: right;
}

.maintenance-bell.maintenance-off {
    background: #4d1a1a;
    border-color: #f44336;
    animation: pulse-red 2s infinite;
	width: 159px;
    float: right;
}

.bell-icon {
    font-size: 16px;
    animation: ring 3s infinite;
}

.maintenance-text {
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.maintenance-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4CAF50;
}

.maintenance-off .maintenance-status-dot {
    background: #f44336;
}

@keyframes ring {
    0%, 20%, 40%, 60%, 80%, 100% { transform: rotate(0deg); }
    10%, 30%, 50%, 70%, 90% { transform: rotate(10deg); }
}

@keyframes pulse-red {
    0%, 100% { box-shadow: 0 4px 15px rgba(244, 67, 54, 0.3); }
    50% { box-shadow: 0 6px 25px rgba(244, 67, 54, 0.6); }
}

/* === MAINTENANCE PAGE === */
.maintenance-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 20px;
}

.maintenance-container {
    max-width: 600px;
    background: #2a2a2a;
    padding: 60px 40px;
    border-radius: 20px;
    border: 2px solid #b9b274;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.maintenance-icon {
    font-size: 80px;
    margin-bottom: 30px;
    animation: float 3s ease-in-out infinite;
}

.maintenance-title {
    color: #b9b274;
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: bold;
}

.maintenance-subtitle {
    font-size: 24px;
    margin-bottom: 30px;
    color: #cccccc;
}

.maintenance-description {
    font-size: 16px;
    line-height: 1.6;
    color: #888888;
    margin-bottom: 40px;
}

.maintenance-contact {
    background: #1a1a1a;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #b9b274;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}
.maintenance-indicator {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 9999;
}
.admin-dashboard-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: linear-gradient(45deg, #b9b274, #d4c986);
    color: #1a1a1a;
    text-decoration: none;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-left: 10px;
}

.admin-dashboard-btn:hover {
    background: linear-gradient(45deg, #d4c986, #b9b274);
    transform: translateY(-1px);
    color: #1a1a1a;
    text-decoration: none;
}

.dashboard-icon {
    font-size: 14px;
}

@media (max-width: 768px) {
    .dashboard-text {
        display: none;
    }
    .admin-dashboard-btn {
        padding: 8px;
    }
}
/* Bottone fisso in basso a sinistra */
.quick-manager-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: linear-gradient(45deg, #b9b274, #d4c986);
    color: #1a1a1a;
    border: none;
    padding: 12px 16px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(185, 178, 116, 0.4);
    transition: all 0.3s ease;
    z-index: 999;
    white-space: nowrap;
}

.quick-manager-btn:hover {
    background: linear-gradient(45deg, #d4c986, #b9b274);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(185, 178, 116, 0.6);
}

/* Modal overlay */
.quick-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    padding: 20px;
}

/* Modal content */
.quick-modal-content {
    background: #2a2a2a;
    border: 2px solid #b9b274;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Header modal */
.quick-modal-header {
    background: #1a1a1a;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #b9b274;
}

.quick-modal-header h3 {
    color: #b9b274;
    margin: 0;
    font-size: 18px;
}

.quick-modal-close {
    background: none;
    border: none;
    color: #b9b274;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
}

.quick-modal-close:hover {
    color: white;
}

/* Search bar */
.quick-search-bar {
    padding: 15px 20px;
    background: #1a1a1a;
    border-bottom: 1px solid #333;
}

.quick-search-bar input {
    width: 100%;
    padding: 10px 15px;
    background: #2a2a2a;
    border: 1px solid #b9b274;
    border-radius: 8px;
    color: white;
    font-size: 14px;
}

.quick-search-bar input:focus {
    outline: none;
    border-color: #d4c986;
    box-shadow: 0 0 5px rgba(185, 178, 116, 0.3);
}

/* Lista espositori */
.quick-exhibitors-container {
    flex: 1;
    overflow-y: auto;
    padding: 10px 20px;
    min-height: 300px;
}

.quick-exhibitor-item {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: border-color 0.3s ease;
}

.quick-exhibitor-item:hover {
    border-color: #b9b274;
}

.quick-exhibitor-info {
    flex: 1;
}

.quick-exhibitor-name {
    color: white;
    font-weight: 600;
    margin-bottom: 5px;
}

.quick-exhibitor-details {
    color: #888;
    font-size: 12px;
}

.quick-exhibitor-controls {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Switch toggle */
.quick-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.quick-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.quick-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #333;
    transition: 0.3s;
    border-radius: 24px;
}

.quick-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .quick-slider {
    background-color: #b9b274;
}

input:checked + .quick-slider:before {
    transform: translateX(26px);
}

.quick-switch-label {
    font-size: 11px;
    color: #888;
    margin-top: 2px;
    text-align: center;
    display: block;
}

/* Footer modal */
.quick-modal-footer {
    background: #1a1a1a;
    padding: 15px 20px;
    border-top: 1px solid #333;
    text-align: right;
}

.btn-quick-cancel {
    background: #666;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}

.btn-quick-cancel:hover {
    background: #777;
}

/* Loading */
.loading-quick {
    text-align: center;
    color: #888;
    padding: 40px;
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .quick-modal-content {
        width: 95%;
        max-height: 85vh;
    }
    
    .quick-exhibitor-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .quick-exhibitor-controls {
        width: 100%;
        justify-content: space-around;
    }
    
    .quick-manager-btn {
        bottom: 15px;
        left: 15px;
        padding: 10px 12px;
        font-size: 12px;
    }
}
/* CARD ESPOSITORI MODERNE */
.espositore-card-modern {
    background: #2a2a2a;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #333;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

.espositore-card-modern:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(185, 178, 116, 0.2);
    border-color: #b9b274;
}

/* Header con immagine (1/3 della card) */
.card-header {
    height: 150px;
    position: relative;
    overflow: hidden;
}

.exhibitor-image {
    width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
}

.espositore-card-modern:hover .exhibitor-image {
    transform: scale(1.05);
}

.default-image {
    opacity: 0.7;
}

/* Overlay admin (nascosto di default) */
.admin-overlay {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    gap: 6px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.espositore-card-modern:hover .admin-overlay {
    opacity: 1;
}

.admin-btn {
    width: 32px;
    height: 32px;
    background: rgba(185, 178, 116, 0.9);
    border: none;
    border-radius: 50%;
    color: #1a1a1a;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
}

.admin-btn:hover {
    background: #b9b274;
    transform: scale(1.1);
}

.edit-btn:hover {
    background: #4CAF50;
}

.link-btn:hover {
    background: #2196F3;
}

/* Content area (2/3 della card) */
.card-content {
    flex: 1;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.exhibitor-name {
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
    min-height: 42px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.exhibitor-info {
    color: #b9b274;
    font-size: 12px;
    line-height: 1.4;
    min-height: 32px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Sezione specie */
.species-section {
    margin-top: auto;
}

.species-tags {
display: flex;
    flex-wrap: wrap;
    gap: 4px;
    overflow: hidden;
    align-items: flex-start;
    height: 100%;
}

.species-tags .tag {
    background: linear-gradient(45deg, #b9b274, #d4c986);
    color: #1a1a1a;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
    max-width: 128px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.species-tags .tag-more {
    background: #666;
    color: white;
    cursor: pointer;
    position: relative;
}

.species-tags .tag-more:hover {
    background: #888;
}

.species-tags .no-species {
    color: #666;
    font-style: italic;
    font-size: 11px;
    padding: 4px 8px;
}

/* Grid responsive */
.espositori-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 270px);
    gap: 10px;
    justify-content: start;
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .espositori-grid {
        grid-template-columns: repeat(auto-fill, 250px);
        gap: 16px;
        justify-content: center;
    }
    
    .espositore-card-modern {
        height: 260px;
    }
    
    .card-header {
        height: 90px;
    }
    
    .admin-overlay {
        opacity: 1; /* Sempre visibile su mobile */
    }
    
    .admin-btn {
        width: 28px;
        height: 28px;
    }
    
    .exhibitor-name {
        font-size: 15px;
        min-height: 38px;
    }
}

@media (max-width: 580px) {
    .espositori-grid {
        grid-template-columns: repeat(auto-fill, 280px);
        justify-content: center;
    }
}

/* Animazioni */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.espositore-card-modern {
    animation: fadeInUp 0.5s ease forwards;
}
@media (max-width: 320px) {
    .espositori-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}
/* ============================================
   SISTEMA RIDUZIONE BIGLIETTI
   ============================================ */

.reduction-request-container {
  max-width: 800px;
  margin: 40px auto;
  background: #2a2a2a;
  padding: 30px;
  border-radius: 12px;
  border: 1px solid #b9b274;
}

.reduction-form .form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.reduction-form .form-group {
  display: flex;
  flex-direction: column;
}

.reduction-form .form-group label {
  color: #b9b274;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 14px;
}

.reduction-form .form-group label small {
  color: #888888;
  font-weight: 400;
  font-size: 12px;
}

.reduction-form input,
.reduction-form select {
  background: #1a1a1a;
  border: 1px solid #444;
  color: white;
  padding: 12px 15px;
  border-radius: 6px;
  font-size: 15px;
  transition: all 0.3s ease;
}

.reduction-form input:focus,
.reduction-form select:focus {
  outline: none;
  border-color: #b9b274;
  box-shadow: 0 0 0 3px rgba(185, 178, 116, 0.1);
}

.reduction-form .form-actions {
  text-align: center;
  margin-top: 30px;
}

.btn-request-reduction {
  background: linear-gradient(135deg, #b9b274 0%, #8a8558 100%);
  color: #1a1a1a;
  font-weight: 700;
  font-size: 16px;
  padding: 15px 40px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(185, 178, 116, 0.3);
}

.btn-request-reduction:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(185, 178, 116, 0.4);
}

.btn-request-reduction:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* ============================================
   MODAL OTP
   ============================================ */

.otp-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  animation: fadeIn 0.3s ease;
}

.otp-modal-content {
  background: #2a2a2a;
  border: 2px solid #b9b274;
  border-radius: 16px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.3s ease;
}

.otp-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 30px;
  border-bottom: 1px solid #444;
}

.otp-modal-header h3 {
  color: #b9b274;
  margin: 0;
  font-size: 24px;
}

.otp-modal-close {
  background: transparent;
  border: none;
  color: #888;
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.3s ease;
}

.otp-modal-close:hover {
  color: #b9b274;
}

.otp-modal-body {
  padding: 30px;
}

.otp-instructions {
  text-align: center;
  color: white;
  margin-bottom: 30px;
  font-size: 15px;
  line-height: 1.6;
}

.otp-instructions strong {
  color: #b9b274;
}

.otp-input-container {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 30px 0;
}

.otp-digit {
  width: 50px;
  height: 60px;
  background: #1a1a1a;
  border: 2px solid #444;
  border-radius: 8px;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  color: #b9b274;
  transition: all 0.3s ease;
}

.otp-digit:focus {
  outline: none;
  border-color: #b9b274;
  box-shadow: 0 0 0 4px rgba(185, 178, 116, 0.2);
  transform: scale(1.05);
}

.otp-timer {
  text-align: center;
  color: #888;
  font-size: 14px;
  margin-bottom: 20px;
}

#timer-countdown {
  color: #b9b274;
  font-weight: 700;
  font-size: 16px;
}

.otp-actions {
  text-align: center;
  margin: 25px 0;
}

.btn-verify-otp {
  background: linear-gradient(135deg, #b9b274 0%, #8a8558 100%);
  color: #1a1a1a;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 50px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(185, 178, 116, 0.3);
}

.btn-verify-otp:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(185, 178, 116, 0.4);
}

.btn-verify-otp:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.otp-alternative {
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #444;
}

.otp-not-received {
  color: #888;
  font-size: 14px;
  margin-bottom: 10px;
}

.btn-email-fallback {
  background: transparent;
  color: #b9b274;
  border: 1px solid #b9b274;
  padding: 10px 25px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
}

.btn-email-fallback:hover {
  background: #b9b274;
  color: #1a1a1a;
}

#email-fallback-container {
  margin-top: 20px;
}

.email-input-group {
  display: flex;
  gap: 10px;
}

.email-input-group input {
  flex: 1;
  background: #1a1a1a;
  border: 1px solid #444;
  color: white;
  padding: 12px;
  border-radius: 6px;
}

.email-input-group input:focus {
  outline: none;
  border-color: #b9b274;
}

.btn-send-email {
  background: #b9b274;
  color: #1a1a1a;
  border: none;
  padding: 12px 25px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-send-email:hover {
  background: #8a8558;
}

/* ============================================
   MODAL SUCCESS
   ============================================ */

.success-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  animation: fadeIn 0.3s ease;
}

.success-modal-content {
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
  border: 3px solid #b9b274;
  border-radius: 20px;
  padding: 50px 40px;
  text-align: center;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(185, 178, 116, 0.3);
  animation: bounceIn 0.5s ease;
}

.success-icon {
  font-size: 80px;
  margin-bottom: 20px;
  animation: pulse 2s infinite;
}

.success-modal-content h3 {
  color: #b9b274;
  font-size: 28px;
  margin-bottom: 15px;
}

.success-modal-content p {
  color: white;
  font-size: 16px;
  margin-bottom: 25px;
}

.reduction-code-display {
  background: #1a1a1a;
  border: 2px dashed #b9b274;
  padding: 25px;
  border-radius: 12px;
  margin: 25px 0;
  font-size: 32px;
  font-weight: 900;
  color: #b9b274;
  letter-spacing: 3px;
  text-align: center;
  font-family: 'Courier New', monospace;
  box-shadow: inset 0 0 20px rgba(185, 178, 116, 0.1);
}

.reduction-instructions {
  color: #888;
  font-size: 14px;
  margin-top: 20px;
  line-height: 1.6;
}

.success-details {
  background: #1a1a1a;
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
  color: white;
  font-size: 14px;
  text-align: left;
}

.success-details p {
  margin: 8px 0;
  color: white;
}

.success-details strong {
  color: #b9b274;
}

.btn-close-success {
  background: transparent;
  border: 2px solid #b9b274;
  color: #b9b274;
  padding: 12px 40px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  margin-top: 20px;
  transition: all 0.3s ease;
}

.btn-close-success:hover {
  background: #b9b274;
  color: #1a1a1a;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes bounceIn {
  0% {
    transform: scale(0.3);
    opacity: 0;
  }
  50% {
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  .reduction-request-container {
    padding: 20px;
  }
  
  .reduction-form .form-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .otp-digit {
    width: 45px;
    height: 55px;
    font-size: 22px;
  }
  
  .otp-input-container {
    gap: 8px;
  }
  
  .reduction-code-display {
    font-size: 24px;
    padding: 20px;
  }
  
  .success-modal-content {
    padding: 30px 20px;
  }
}
/* ============================================
   TICKET SELECTION MULTI-BIGLIETTO
   ============================================ */

.ticket-selection-section {
  margin: 30px 0;
  padding: 25px;
  background: #1a1a1a;
  border-radius: 10px;
  border: 1px solid #444;
}

.ticket-selection-title {
  color: #b9b274;
  font-size: 20px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ticket-selection-subtitle {
  color: #888;
  font-size: 14px;
  margin-bottom: 25px;
}

.ticket-options {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.ticket-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #2a2a2a;
  padding: 15px 20px;
  border-radius: 8px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.ticket-option:hover {
  border-color: #444;
}

.ticket-option:has(input[type="checkbox"]:checked) {
  border-color: #b9b274;
  background: rgba(185, 178, 116, 0.05);
}

.ticket-checkbox {
  display: flex;
  align-items: center;
  flex: 1;
}

.ticket-checkbox input[type="checkbox"] {
  width: 22px;
  height: 22px;
  margin-right: 15px;
  cursor: pointer;
  accent-color: #b9b274;
}

.ticket-label {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  flex: 1;
}

.ticket-name {
  color: white;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 4px;
}

.ticket-description {
  color: #888;
  font-size: 13px;
}

.ticket-price-qty {
  display: flex;
  align-items: center;
  gap: 20px;
}

.ticket-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  min-width: 80px;
}

.price-original {
  color: #888;
  font-size: 13px;
  text-decoration: line-through;
}

.price-reduced {
  color: #b9b274;
  font-weight: 700;
  font-size: 18px;
}

.price-free {
  color: #4CAF50;
  font-weight: 700;
  font-size: 16px;
}

.ticket-quantity {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.3;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.ticket-option:has(input[type="checkbox"]:checked) .ticket-quantity {
  opacity: 1;
  pointer-events: all;
}

.qty-btn {
  width: 32px;
  height: 32px;
  background: #1a1a1a;
  border: 1px solid #b9b274;
  color: #b9b274;
  border-radius: 6px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.qty-btn:hover {
  background: #b9b274;
  color: #1a1a1a;
}

.qty-btn:active {
  transform: scale(0.95);
}

.ticket-quantity input[type="number"] {
  width: 50px;
  height: 32px;
  text-align: center;
  background: #1a1a1a;
  border: 1px solid #444;
  color: white;
  font-weight: 700;
  font-size: 16px;
  border-radius: 6px;
  padding: 0;
}

/* ============================================
   TOTAL SECTION
   ============================================ */

.total-section {
  margin: 30px 0;
  padding: 25px;
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
  border: 2px solid #b9b274;
  border-radius: 12px;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #444;
}

.total-label {
  color: white;
  font-size: 16px;
  font-weight: 600;
}

.total-amount {
  color: #b9b274;
  font-size: 32px;
  font-weight: 900;
  font-family: 'Courier New', monospace;
}

.total-savings {
  text-align: center;
  margin: 15px 0;
  padding: 12px;
  background: rgba(76, 175, 80, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(76, 175, 80, 0.3);
}

.total-savings span {
  color: #4CAF50;
  font-size: 14px;
}

.total-savings strong {
  font-size: 18px;
}

.total-tickets {
  text-align: center;
  margin-top: 15px;
  color: #888;
  font-size: 14px;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  .ticket-option {
    flex-direction: column;
    gap: 15px;
    padding: 15px;
  }
  
  .ticket-price-qty {
    width: 100%;
    justify-content: space-between;
  }
  
  .total-row {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  
  .total-amount {
    font-size: 28px;
  }
}
/* ============================================
   SEZIONE RECUPERO RIDUZIONE
   ============================================ */

.recovery-section {
    margin-top: 60px;
    padding: 40px 20px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border-radius: 12px;
    border: 2px solid #b9b274;
}

.recovery-card {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.recovery-card h3 {
    color: #b9b274;
    font-size: 24px;
    margin: 0 0 10px 0;
}

.recovery-card p {
    color: #cccccc;
    margin-bottom: 30px;
}

.recovery-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.recovery-form .form-group {
    text-align: left;
}

.recovery-form label {
    display: block;
    color: #b9b274;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}

.recovery-form input {
    width: 100%;
    padding: 12px 15px;
    background: #1a1a1a;
    border: 2px solid #444444;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
}

.recovery-form input:focus {
    outline: none;
    border-color: #b9b274;
    box-shadow: 0 0 0 3px rgba(185, 178, 116, 0.2);
}

.btn-recovery {
    background: linear-gradient(135deg, #b9b274 0%, #9a9260 100%);
    color: #1a1a1a;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(185, 178, 116, 0.3);
}

.btn-recovery:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(185, 178, 116, 0.4);
}

.btn-recovery:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* MODAL RECUPERO */
.recovery-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.recovery-modal-content {
    background: #2a2a2a;
    border-radius: 12px;
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    border: 2px solid #b9b274;
}

.recovery-modal-header {
    background: #1a1a1a;
    padding: 25px;
    border-bottom: 2px solid #b9b274;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.recovery-modal-header h3 {
    color: #b9b274;
    margin: 0;
    font-size: 22px;
}

.recovery-modal-body {
    padding: 30px;
}

.recovery-item {
    background: #1a1a1a;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #b9b274;
}

.recovery-item:last-child {
    margin-bottom: 0;
}

.recovery-code {
    background: #b9b274;
    color: #1a1a1a;
    padding: 15px;
    border-radius: 8px;
    font-size: 32px;
    font-weight: 900;
    letter-spacing: 3px;
    text-align: center;
    margin: 15px 0;
    font-family: 'Courier New', monospace;
}

.recovery-details {
    color: #cccccc;
    line-height: 1.8;
    margin-top: 15px;
}

.recovery-details p {
    margin: 8px 0;
}

.recovery-details strong {
    color: #b9b274;
}

.recovery-status {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.recovery-status.verified {
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
    border: 1px solid #4caf50;
}

.recovery-status.pending {
    background: rgba(255, 152, 0, 0.2);
    color: #ff9800;
    border: 1px solid #ff9800;
}

.recovery-modal-footer {
    background: #1a1a1a;
    padding: 20px;
    border-top: 1px solid #333333;
    text-align: center;
}

.btn-close-recovery {
    background: #888888;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-close-recovery:hover {
    background: #999999;
}

.recovery-empty {
    text-align: center;
    padding: 40px 20px;
    color: #888888;
}

.recovery-empty h4 {
    color: #b9b274;
    margin-bottom: 10px;
}

.recovery-loading {
    text-align: center;
    padding: 40px;
    color: #b9b274;
}

.recovery-error {
    background: rgba(244, 67, 54, 0.1);
    color: #f44336;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #f44336;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .recovery-section {
        margin-top: 40px;
        padding: 30px 15px;
    }
    
    .recovery-card h3 {
        font-size: 20px;
    }
    
    .recovery-code {
        font-size: 24px;
        padding: 12px;
    }
}
/* ====================================
   RECUPERO RIDUZIONE
   ==================================== */

.recovery-section {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px dashed #444;
}

.recovery-banner {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    border: 2px solid #b9b274;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
}

.recovery-banner h3 {
    color: #b9b274;
    margin: 0 0 10px 0;
    font-size: 22px;
}

.recovery-banner p {
    color: #888;
    margin: 0 0 20px 0;
    font-size: 15px;
}

.btn-recovery {
    padding: 15px 40px;
    background: linear-gradient(135deg, #b9b274 0%, #8a8250 100%);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-recovery:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(185, 178, 116, 0.5);
}

/* Modal Recupero */
.recovery-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.recovery-modal-content {
    background: #2a2a2a;
    border: 2px solid #b9b274;
    border-radius: 15px;
    width: 90%;
    max-width: 550px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.9);
}

.recovery-modal-header {
    background: linear-gradient(135deg, #b9b274 0%, #8a8250 100%);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 13px 13px 0 0;
}

.recovery-modal-header h3 {
    margin: 0;
    color: white;
    font-size: 22px;
}

.recovery-modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 28px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.recovery-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.recovery-modal-body {
    padding: 30px;
}

.recovery-step {
    display: none;
}

.recovery-step.active {
    display: block;
    animation: slideInUp 0.4s ease;
}

.recovery-instructions {
    color: #888;
    margin-bottom: 25px;
    text-align: center;
    font-size: 15px;
    line-height: 1.6;
}

.recovery-form-group {
    margin-bottom: 20px;
}

.recovery-form-group label {
    display: block;
    color: #b9b274;
    font-weight: 600;
    margin-bottom: 8px;
}

.recovery-input {
    width: 100%;
    padding: 14px 15px;
    background: #1a1a1a;
    border: 2px solid #444;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
}

.recovery-input:focus {
    border-color: #b9b274;
    outline: none;
    box-shadow: 0 0 0 3px rgba(185, 178, 116, 0.1);
}

.recovery-info-box {
    background: #1a1a1a;
    border: 1px solid #444;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
}

.recovery-info-box p {
    color: #ccc;
    margin: 10px 0;
    font-size: 15px;
}

.recovery-info-box strong {
    color: white;
    display: inline-block;
    min-width: 80px;
}

.recovery-info-box span {
    color: #b9b274;
    font-weight: 600;
}

.btn-recovery-continue {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #b9b274 0%, #8a8250 100%);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-recovery-continue:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(185, 178, 116, 0.4);
}

.btn-recovery-continue:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Success Step */
.recovery-success-icon {
    font-size: 80px;
    text-align: center;
    margin-bottom: 20px;
    animation: scaleIn 0.5s ease;
}

.recovery-step h3 {
    text-align: center;
    color: #b9b274;
    font-size: 28px;
    margin: 0 0 15px 0;
}

.recovery-success-text {
    text-align: center;
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 25px;
}

.recovery-email-sent {
    background: rgba(185, 178, 116, 0.1);
    border: 1px solid #b9b274;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    color: #ccc;
    margin-bottom: 20px;
}

.recovery-email-sent strong {
    color: white;
    font-size: 16px;
}

.btn-recovery-close {
    width: 100%;
    padding: 15px;
    background: #2a2a2a;
    border: 2px solid #b9b274;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-recovery-close:hover {
    background: #b9b274;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .recovery-modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .recovery-banner {
        padding: 20px;
    }
    
    .recovery-banner h3 {
        font-size: 18px;
    }
}

/* Animazioni */
@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}