
/* Colori principali */
:root {
    --primary-color: #644aedff;
    --secondary-color: #ffffff;
    --text-color: #333;
}

/* Global Styles */
body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa; /* Sfondo chiaro */
    color: #333;
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;  /* Forza l’altezza minima a tutto schermo */
  }
  
  .content {
    flex: 1;           /* Si espande per occupare lo spazio rimanente */
  }
  

.navbar {
    background-color: var(--primary-color);
}

.title-section {
    width: 100%;
    background-color: var(--primary-color); /* Sfondo a tinta unita */
    padding: 0.5rem 0;                     /* Spazio sopra e sotto il testo */
    margin-bottom: 1.5rem;                 /* Distanziazione dal contenuto successivo */
    text-align: center;
    border-radius: 0.5rem;                 /* Bordi arrotondati */
}

.title-section h1 {
    color: #fff;               /* testo in bianco */
    margin: 0;                 /* rimuovo il margine di default di h1 */
    font-size: 2rem;           /* ingrandisco un po' il testo */
    font-size: clamp(1.2rem, 5vw, 2.5rem);
    font-weight: bold;        /* testo più evidente */
    /* Altre personalizzazioni, come text-transform: uppercase; o letter-spacing, se vuoi */
}

h1 {
    text-align: center;
    color: #644aed;
}

/* Container full-width */
.container-fluid {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    margin: 0 auto;
}

/* Card Styles */
.card {
    margin-bottom: 1rem;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.card-text {
    font-size: 0.9rem;
}

/* Utility per testi piccoli e centrati */
.small-text {
    font-size: 0.85rem;
}

.text-center {
    text-align: center !important;
}

/* Stile per blocchi "pulsante" non cliccabili */
.btn-non-clickable {
    border: 1px solid #6c757d; /* Colore secondary di Bootstrap */
    border-radius: 0.25rem;
    padding: 0.5rem 1rem;
    background-color: transparent;
    display: block;
    width: 100%;
    text-align: center;
}

/* Media Queries per dispositivi piccoli */
@media (max-width: 576px) {
    body {
        font-size: 0.9rem;
    }
    .card-title {
        font-size: 1.1rem;
    }
    .card-text {
        font-size: 0.85rem;
    }
}

/* Stili aggiuntivi per modali */
.modal-content {
    border-radius: 0; /* Modale a tutto schermo senza arrotondamenti */
}

/* Utilità di margine/padding se non usi le classi Bootstrap già incluse */
.mt-4 {
    margin-top: 1.5rem !important;
}
.mb-2 {
    margin-bottom: 0.5rem !important;
}
.mt-2 {
    margin-top: 0.5rem !important;
}

/* Assicurare che link e bottoni siano touch-friendly */
a, button {
    padding: 0.5rem 1rem;
    font-size: 1rem;
}

/* Stili per overlay, se necessario */
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1050;
}

.overlay-content {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
}

/* Stili personalizzati per il time picker */
.custom-time-picker {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.time-picker {
    display: flex;
    align-items: center;
    gap: 5px;
    justify-content: center;
}

.time-dropdown {
    padding: 5px 10px;
    font-size: 1rem;
    border: 1px solid #ced4da;
    border-radius: 5px;
    background: #fff;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.time-dropdown:focus {
    outline: none;
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
.card-step {
    margin-bottom: 20px;
}
.card-header {
    font-size: 1.2rem;
    font-weight: bold;
}
.navigation-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

/* Esempio di stile per rendere i "pulsanti" più simili a card */
.dashboard-button {
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    text-decoration: none;
    color: #fff; 
    padding: 30px;
    min-height: 150px;
    border-radius: 8px;
  }
  .dashboard-button i {
    font-size: 2rem;
    margin-bottom: 10px;
  }
  .dashboard-button:hover {
    opacity: 0.85;
    text-decoration: none;
  }