.custom-switch{
    margin-bottom: 18px;
}

.outline-1
{
    outline: 1px solid black;
}

input[type=radio] {
    width: 20px;
    height: 20px;
}

.cursor-pointer {
    cursor: pointer;
}

.my-dropzone-onefile {
    background: #eae9e9;
    border-radius: 5px;
    border: 2px dashed rgb(78, 78, 78);
    border-image: none;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    cursor: pointer;
}

.dz-upload {
    display: block;
    background-color: #6da968;
    height: 10px;
    width: 0%;
}

.dz-success-mark,
.dz-error-mark,
.dz-image {
    display: none;
}

.first-btn-group-radius {
    border-top-right-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
}

.last-btn-group-radius {
    border-top-left-radius: 0px !important;
    border-bottom-left-radius: 0px !important;
}


/* Style Dashboard template*/
/**********START***********/

img.logo {

    width: 25%;
    margin-top: 2%;
}

div.zona_logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 3%;
}

div.corpo_dashboard {
    display: flex;
    flex-direction: column;
    align-items: left;
    text-align: left;
    padding-left: 5%;
}

ul{
    padding-left: 15%;
}

li.puntato_riepilogo {
    list-style-type: circle;
    size: 50;
    font-size: 20px;
    padding-left: 1%;
}

li.puntato_riepilogo .numero_riepilogo {
    font-weight: bold;
    font-size: 25px;
}
/***********END*************/
/* Style Dashboard template*/

/* Footer: layout flexbox per footer sempre visibile e spazio adeguato */
html, body {
    min-height: 100vh;
}
.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.wrapper .content-wrapper {
    flex: 1 0 auto;
    min-height: 0 !important; /* override Layout plugin inline style */
}
.wrapper .main-footer {
    flex-shrink: 0;
    margin-top: auto;
}
.content-wrapper > .content {
    padding-bottom: 2rem;
}
.main-footer {
    padding: 1rem 1rem 1.5rem;
}

/* Sidebar: centra nome utente e pulsante logout */
.main-sidebar .user-panel {
    justify-content: center;
    align-items: center;
    text-align: center;
}
.main-sidebar .user-panel .info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding-left: 0;
}

/* Calendario taxi: select destinazione in evidenza */
.taxi-calendar-page .taxi-calendar-destination-bar .taxi-calendar-destination-select {
    min-height: 3.25rem;
    font-size: 1.1rem;
    border-width: 2px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.06);
}
.taxi-calendar-page .taxi-calendar-destination-bar .taxi-calendar-destination-select:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Calendario taxi-sharing (full viewport sotto header) */
.taxi-calendar-page .taxi-calendar-full-wrapper {
    display: flex;
    flex-direction: column;
    flex: 1 0 auto;
    min-height: 0;
}

.taxi-calendar-page .taxi-calendar-full-wrapper > .content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding-bottom: 0.5rem;
}

.taxi-calendar-page .taxi-calendar-card {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    margin-bottom: 0;
}

.taxi-calendar-page .taxi-calendar-card .card-body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.taxi-calendar-wrap {
    flex: 1 1 auto;
    min-height: calc(100vh - 200px);
    height: calc(100vh - 200px);
}

.taxi-calendar-page #taxi-calendar-root {
    height: 100%;
    min-height: 320px;
}

/* Calendario taxi: giorni cliccabili con cursore e hover tipo “selezionato” */
.taxi-calendar-page #taxi-calendar-root .fc-daygrid-day {
    cursor: pointer;
}

.taxi-calendar-page #taxi-calendar-root .fc-daygrid-day .fc-daygrid-day-frame {
    transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.taxi-calendar-page #taxi-calendar-root .fc-daygrid-day:hover .fc-daygrid-day-frame {
    background-color: rgba(0, 123, 255, 0.14);
    box-shadow: inset 0 0 0 2px rgba(0, 123, 255, 0.4);
    border-radius: 4px;
}

/* Vista settimana / giorno: colonne giorno */
.taxi-calendar-page #taxi-calendar-root .fc-timegrid-col {
    cursor: pointer;
    transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.taxi-calendar-page #taxi-calendar-root .fc-timegrid-col:hover {
    background-color: rgba(0, 123, 255, 0.08);
    box-shadow: inset 0 0 0 1px rgba(0, 123, 255, 0.35);
}

/* Prenotazioni giorno: colonna prelievi multi-riga */
.table-prenotazioni-giorno td:nth-child(2) {
    white-space: normal;
    vertical-align: top;
    max-width: 28rem;
}

/* Modifica corsa: colonna indirizzo */
.table-modifica-corsa-bookings td:nth-child(3) {
    white-space: normal;
    vertical-align: top;
    max-width: 24rem;
}
