﻿html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.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 {
  background-color: #000000;
  color: #FFD700;
  padding-top: 80px; /* spazio per il menu fisso in alto */
}

.bg-black {
  background-color: #000000 !important;
}

.form-control-dark {
  background-color: #1a1a1a;
  color: #FFD700;
  border: 1px solid #FFD700;
}

  .form-control-dark:focus {
    background-color: #333300;
    color: #FFFF00;
    border-color: #FFFF00;
    box-shadow: 0 0 5px #FFFF00;
  }

label {
  font-weight: 600;
}

.btn-warning {
  background-color: #FFD700;
  border-color: #FFD700;
  color: #000000;
  transition: background-color 0.3s ease, color 0.3s ease;
}

  .btn-warning:hover, .btn-warning:focus {
    background-color: #e6c200;
    color: #000000;
  }

.btn-outline-warning {
  color: #FFD700;
  border-color: #FFD700;
  transition: background-color 0.3s ease, color 0.3s ease;
}

  .btn-outline-warning:hover, .btn-outline-warning:focus {
    background-color: #FFD700;
    color: #000000;
  }

.text-warning {
  color: #FFD700 !important;
}

hr.border-warning {
  border-color: #FFD700 !important;
}

footer a:hover, footer a:focus {
  color: #FFFF00;
  text-decoration: none;
  transition: color 0.3s ease;
}

/* Sfondo tabella scuro e testo bianco */
#craneTable {
  background-color: #000000; /* nero */
  color: #FFFFFF !important; /* testo bianco */
}

  /* Testo nelle celle */
  #craneTable tbody td,
  #craneTable thead th {
    color: #FFFFFF !important;
  }

  /* Sfondo intestazione giallo con testo nero */
  #craneTable thead {
    background-color: #FFD700; /* giallo oro */
    color: #000000 !important;
  }

  /* Riga evidenziata al passaggio mouse */
  #craneTable tbody tr:hover {
    background-color: #333300; /* giallo scuro */
    color: #FFFF00 !important; /* giallo chiaro */
  }

/* Sfondo tabella scuro e testo bianco */
#rentalTable {
  background-color: #000000; /* nero */
  color: #FFFFFF !important; /* testo bianco */
}

  /* Testo nelle celle */
#rentalTable tbody td,
#rentalTable thead th {
  color: #FFFFFF !important;
}

  /* Sfondo intestazione giallo con testo nero */
#rentalTable thead {
  background-color: #FFD700; /* giallo oro */
  color: #000000 !important;
}

  /* Riga evidenziata al passaggio mouse */
#rentalTable tbody tr:hover {
  background-color: #333300; /* giallo scuro */
  color: #FFFF00 !important; /* giallo chiaro */
}

/* Input di ricerca e select menu */
.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
  background-color: #222;
  color: #FFD700;
  border: 1px solid #FFD700;
}

/* Bottoni di paginazione */
.dataTables_wrapper .dataTables_paginate .paginate_button {
  background-color: #000;
  color: #FFD700 !important;
  border: 1px solid #FFD700;
  margin: 2px;
  border-radius: 3px;
}

  .dataTables_wrapper .dataTables_paginate .paginate_button.current,
  .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background-color: #FFD700;
    color: #000 !important;
  }

/* Responsive: scroll orizzontale su schermi piccoli */
table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > td:first-child:before,
table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > th:first-child:before {
  background-color: #FFD700 !important;
  color: #000 !important;
}


  .dataTables_length, .dataTables_filter {
    margin-bottom: 10px;
    width: 100%;
  }

    .dataTables_filter input {
      width: 100% !important;
    }

  table.dataTable {
    width: 100% !important;
    overflow-x: auto;
    display: block;
  }

.logout-button {
  border-radius: 30px;
  padding: 8px 20px;
  font-weight: bold;
  color: white;
  background-color: #dc3545;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

  .logout-button:hover {
    background-color: #c82333;
    transform: scale(1.05);
  }

  .logout-button i {
    margin-right: 6px;
  }

.nav-pills .nav-link.active {
  background-color: #FFD700 !important;
}

.nav-link {
  color: white !important;
}

.dashboard-card {
  background: linear-gradient(to right, #FFD700, #FFD700);
  color: black;
  margin: 30px auto;
  border-radius: 15px;
  max-width: 400px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  text-align: center;
}

  .dashboard-card p {
    color: black;
  }

  .dashboard-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .dashboard-card .big-number {
    font-size: 48px;
    font-weight: bold;
  }


body {
  background-color: black;
  color: #FFD700;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
}

.chart-container {
  max-width: 500px;
  margin: 30px auto;
  background-color: black;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
}

  .chart-container p {
    font-size: 18px;
    margin: 5px 0;
    color: #FFD700; /* ✅ Colore testo giallo */
  }

h2 {
  font-size: 26px;
  margin-bottom: 10px;
}

p {
  font-size: 18px;
  margin: 5px 0;
}

canvas {
  margin-top: 20px;
}

 /*Stile modale */
.custom-modal-style {
  background-color: #111;
  color: #FFEB3B;
  border: 2px solid #FFEB3B;
}

.custom-modal-style .modal-header {
  border-bottom: 1px solid #FFEB3B;
  background: #222;
  color: #FFEB3B;
}

.custom-modal-style .modal-title {
  color: #FFEB3B;
}

.btn-close-yellow {
  filter: invert(92%) sepia(94%) saturate(3147%) hue-rotate(0deg) brightness(105%) contrast(103%);
}


.text-danger {
  color: #ff5252 !important;
}



