/* Colori personalizzati per il tema D&D */
:root {
  --bs-primary-rgb: 225, 73, 61;
  --bs-primary: #e1493d;
  --bs-danger-rgb: 225, 73, 61;
  --bs-danger: #e1493d;
  --bs-secondary: #34495e;
  --bs-dark: #2c3e50;
}

/* Sovrascritture di Bootstrap */
.btn-danger,
.btn-primary {
  background-color: var(--bs-danger);
  border-color: var(--bs-danger);
}

.btn-danger:hover,
.btn-primary:hover {
  background-color: #c93b30;
  border-color: #c93b30;
}

/* Stili per il pannello VTT */
.vtt-container {
  border: 1px solid #ccc;
  border-radius: 0.25rem;
  overflow: hidden;
}

.map-container {
  position: relative;
  background: #f0f0f0;
  aspect-ratio: 16 / 9;
}

#map-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Stili per il tema scuro */
.bg-dark {
  background-color: #2c3e50 !important;
}

/* Stili per i form di autenticazione */
.auth-container {
  max-width: 450px;
  margin: 2rem auto;
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  background-color: #fff;
}

/* Tabelle */
.table-responsive {
  border-radius: 0.5rem;
  overflow: hidden;
}

/* Effetto hover per le carte */
.card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Utility classes */
.text-danger {
  color: var(--bs-danger) !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .navbar-brand {
    font-size: 1.2rem;
  }
}
