html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.bg-primary {
  background-color: #FA9341 !important;
}

.card-lista {
  padding: 0 !important;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
  background-color: #fff;
}

/* Card personalizzate */
.card {
  border-radius: 10px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.15) !important;
}

/* Tabelle */
.table-hover tbody tr:hover {
  background-color: rgba(0,123,255,0.1);
  cursor: pointer;
}

/* Badge personalizzati */
.badge {
  font-size: 0.85rem;
  padding: 0.5em 0.75em;
}

/* Navbar */
.navbar {
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand img {
  height: 40px;
}

/* Footer */
.main-content {
  flex: 1 0 auto;
}
.footer {
  width: 100%;
  white-space: nowrap;
  line-height: 60px;
  margin-top: auto;
}
html, body {
  height: 100%;
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin-bottom: 0;
  background-color: #fff;
}

/* Card dashboard */
.card.h-100 {
  transition: all 0.3s ease;
}

.card.h-100:hover {
  transform: scale(1.05);
}

/* Bottoni */
.btn {
  border-radius: 5px;
  transition: all 0.3s ease;
}

/* Alert personalizzati */
.alert {
  border-radius: 8px;
  border-left: 4px solid;
}

.alert-success {
  border-left-color: #28a745;
}

.alert-danger {
  border-left-color: #dc3545;
}

.alert-info {
  border-left-color: #17a2b8;
}

/* Form */
.form-control, .form-select {
  border-radius: 5px;
}

.form-label {
  font-weight: 500;
  color: #495057;
}

/* Dropdown menu */
.dropdown-menu {
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.dropdown-item {
  transition: background-color 0.2s;
}

.dropdown-item:hover {
  background-color: rgba(0,123,255,0.1);
}