/* buttons-base.css */

/* ======= PULSANTI STANDARD SITO ======= */
.btn,
.concert-button,
.concert-toggle,
.btn-link,
.btn-return {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.28em 0.5em;
  font-size: 1rem;
  border-radius: 6px;
  border: 1.5px solid var(--accent-color);
  background: transparent;
  color: var(--accent-color);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  outline: none;
  width: auto;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  font-family: var(--font-ui);
}

.btn:hover,
.concert-button:hover,
.concert-toggle:hover,
.btn-link:hover,
.btn-return:hover,
.btn.active,
.concert-button.active,
.concert-toggle.active,
.btn-link.active {
  background: rgba(203, 161, 53, 0.6);
  color: #181818;
  box-shadow: none;
}

/* Focus */
.btn:focus,
.concert-button:focus,
.concert-toggle:focus,
.btn-link:focus,
.btn-return:focus {
  outline: 2px solid var(--light-accent);
  outline-offset: 2px;
}

/* Icone nei pulsanti */
.btn img.icon,
.concert-button img.icon,
.concert-toggle img.icon,
.btn-link img.icon,
.btn-return img.icon {
  width: 1.6em;
  height: 1.6em;
  object-fit: contain;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
  transition: none;
  margin: 0;
}

/* Hover icone */
.btn:hover img.icon,
.concert-button:hover img.icon,
.concert-toggle:hover img.icon,
.btn-link:hover img.icon,
.btn-return:hover img.icon {
  filter: none !important;
}

/* ======= VARIANTI PULSANTI ======= */

/* Primary button - filled */
.btn-primary {
  background: var(--accent-color);
  color: #181818;
  border-color: var(--accent-color);
  font-weight: 700;
}

.btn-primary:hover {
  background: var(--light-accent);
  border-color: var(--light-accent);
  color: #181818;
}

/* Secondary button - outlined (same as base, for clarity) */
.btn-secondary {
  background: transparent;
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.btn-secondary:hover {
  background: rgba(203, 161, 53, 0.6);
  color: #181818;
}

/* Link button - no border, underline on hover */
.btn-link {
  border: none;
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.2s, color 0.2s;
}

.btn-link:hover {
  background: transparent;
  text-decoration-color: var(--accent-color);
  color: var(--accent-color);
}