.paypal-button {
    background-color: #FFC439;
    color: #111;
    font-weight: bold;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: background-color 0.3s;
    width: 250px;
}
.paypal-button:hover {
    background-color: #f7b71e;
}


.payment-button-disabled {
    background-color: #727272;
    color: #ffffff;
    font-weight: bold;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: background-color 0.3s;
}


.stripe-button {
    background-color: #00a2e2;
    color: #ffffff;
    font-weight: bold;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: background-color 0.3s;
    width: 300px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    height: 45px;
}
.stripe-button:hover {
    background-color: #007491;
}

/* --- Stile generale TicketYIC --- */
body, html {
  font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  background: #f6f8fa;
  color: #222;
  margin: 0;
  padding: 0;
}

.main-wrap, .evento-main-wrap {
  max-width: 1100px;
  margin: 40px auto;
  border-radius: 16px;
  padding: 32px 18px;
  
 
}

.container, .evento-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.img, .evento-img {
  flex: 0 0 340px;
  max-width: 340px;
}
.img img, .evento-img img {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 2px 16px #0002;
}
.details, .evento-details {
  flex: 1;
  min-width: 260px;
}
.details h1, .evento-details h1 {
  font-size: 2.3rem;
  margin-bottom: 0.2em;
  font-weight: 700;
  color: #1976d2;
}
.details .luogo, .evento-details .luogo {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 1.2em;
}
.info-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5em 0;
}
.info-list li {
  margin-bottom: 0.5em;
  font-size: 1.08rem;
}
.tipo-ingresso {
  margin-top: 1.2em;
  font-size: 1.1rem;
  color: #388e3c;
}
.table-section, .evento-table-section {
  margin-top: 40px;
}
.table, .evento-table, .cal-museo {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  background: #fff;
  box-shadow: 0 2px 12px #0001;
  border-radius: 10px;
  overflow: hidden;
}
.table th, .evento-table th, .cal-museo th,
.table td, .evento-table td, .cal-museo td {
  padding: 14px 10px;
  text-align: center;
  border-bottom: 1px solid #eee;
}
.table th, .evento-table th, .cal-museo th {
  background: #f7f7f7;
  font-size: 1.1rem;
}
.table tr:last-child td, .evento-table tr:last-child td, .cal-museo tr:last-child td {
  border-bottom: none;
}
input[type=number], .evento-table input[type=number] {
  width: 70px;
  padding: 6px;
  border-radius: 4px;
  border: 1px solid #ccc;
  text-align: center;
}
.btn, .btn-acquista, .btn-musicale {
  background: linear-gradient(90deg, #1976d2 0%, #43a047 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 28px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 4px 10px rgba(25, 118, 210, 0.08);
}
.btn:hover, .btn-acquista:hover, .btn-musicale:hover {
  background: linear-gradient(90deg, #1565c0 0%, #388e3c 100%);
  transform: scale(1.04);
}
.btn-acquista:disabled {
  background: #ccc;
  color: #fff;
  cursor: not-allowed;
}
@media (max-width: 900px) {
  .container, .evento-container { flex-direction: column; align-items: center; gap: 24px; }
  .img, .evento-img { max-width: 100%; }
  .details, .evento-details { min-width: 0; }
}
@media (max-width: 600px) {
  .main-wrap, .evento-main-wrap { padding: 10px 2vw; }
  .details h1, .evento-details h1 { font-size: 1.3rem; }
  .table th, .table td, .evento-table th, .evento-table td, .cal-museo th, .cal-museo td { padding: 8px 4px; font-size: 0.98rem; }
}
/* Calendario custom */
.cal-museo th, .cal-museo td { width: 14.2%; text-align: center; font-size: 1.1rem; }
.cal-museo td.vuoto { background: transparent; border: none; }
.cal-museo td.disponibile button {
  background: #eaf1fb;
  color: #1967d2;
}
/* Testo bianco su verde */
.cal-museo td.disponibile,
.cal-museo td.disponibile button {
  background: #43a047 !important;
  color: #fff !important;
}
.cal-museo td.disponibile button:hover,
.cal-museo td.disponibile button:focus {
  background: #388e3c !important;
  color: #fff !important;
  box-shadow: 0 2px 8px #1967d220;
}
.cal-museo td.chiuso, .cal-museo td.non-disponibile { background: #f5f5f5; color: #bbb; }
.cal-museo td.oggi { outline: 2px solid #1976d2; }
.cal-museo td.gratuito, .cal-museo td.gratuito button { background: #ffe082 !important; color: #333 !important; }
.cal-museo td.chiusura-straordinaria, .cal-museo td.chiusura-straordinaria button { background: #ff5252 !important; color: #fff !important; }

/* --- Calendario stile Google Calendar --- */
.cal-museo {
  width: 100%;
  max-width: 100%;
  margin: auto;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px #0001;
  overflow: hidden;
}
.cal-museo th {
  background: #f5f7fa;
  color: #1967d2;
  font-size: 1.15rem;
  font-weight: 600;
  padding: 14px 0;
  border-bottom: 1px solid #e0e3e6;
  letter-spacing: 0.04em;
}
.cal-museo td {
  height: 56px;
  padding: 0;
  background: #fff;
  border: 1px solid #f0f1f3;
  transition: background 0.15s, box-shadow 0.15s;
  position: relative;
}
.cal-museo td.vuoto {
  background: transparent;
  border: none;
}
.cal-museo td button {
  width: 100%;
  height: 54px;
  background: none;
  border: none;
  color: #222;
  font-size: 1.08rem;
  font-weight: 500;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
  outline: none;
}
.cal-museo td.disponibile button {
  background: #eaf1fb;
  color: #1967d2;
}
.cal-museo td.disponibile button:hover,
.cal-museo td.disponibile button:focus {
  background: #d2e3fc;
  color: #174ea6;
  box-shadow: 0 2px 8px #1967d220;
}
.cal-museo td.oggi button {
  border: 2px solid #1967d2;
  background: #fff;
  color: #1967d2;
}
.cal-museo td.gratuito button {
  background: #fff8e1 !important;
  color: #b28704 !important;
  border: 1.5px solid #ffe082;
}
.cal-museo td.gratuito button:hover {
  background: #ffe082 !important;
  color: #b28704 !important;
}
.cal-museo td.chiusura-straordinaria button {
  background: #ffebee !important;
  color: #c62828 !important;
  border: 1.5px solid #ff5252;
}
.cal-museo td.chiusura-straordinaria button:hover {
  background: #ff5252 !important;
  color: #fff !important;
}
.cal-museo td.non-disponibile {
  background: #f5f5f5;
  color: #bbb;
}
.cal-museo td.non-disponibile button {
  color: #bbb;
  cursor: default;
}
.cal-museo td.selected button {
  background: #1967d2 !important;
  color: #fff !important;
  box-shadow: 0 2px 8px #1967d220;
}
/* Header mese stile Google */
#cal-mese-label {
  font-size: 1.5rem;
  color: #1967d2;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0 12px;
}
#cal-mese-prev, #cal-mese-next {
  background: #eaf1fb;
  color: #1967d2;
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
  cursor: pointer;
  margin: 0 4px;
}
#cal-mese-prev:hover, #cal-mese-next:hover {
  background: #d2e3fc;
  color: #174ea6;
}
@media (max-width: 700px) {
  .cal-museo th, .cal-museo td { font-size: 0.98rem; }
  #cal-mese-label { font-size: 1.1rem; }
  .cal-museo td { height: 38px; }
  .cal-museo td button { height: 36px; font-size: 0.98rem; }
}