﻿/* 1. Assicuriamo che l'intera pagina sia alta quanto la finestra */
html, body {
    height: 100%;
    margin: 0;
    overflow: hidden; /* Evita scroll strani sulla pagina intera */
}


form {
    display: flex;
    flex-direction: column;
    height: 100vh;
}


header {
    flex-shrink: 0; 
}


.container-fluid {
    flex-grow: 1; 
    overflow-y: auto; 
}



.form-signin {
    max-width: 330px;
    padding: 1rem;
}

.sidebar .nav-link.active {
    color: #2470dc;
}
.nav-link {
    color: #000;
}
.sidebar .nav-link {
    font-size: .875rem;
    font-weight: 500;
}
.nav-link.active {
    color: #F17502 !important;
}
.sidebar-heading {
    font-size: .75rem;
}
.bg-orange {
    background-color: #F17502
}
#sidebarMenu {
    background-image: url(images/Logo-Fondazione-Pensare-Oltre.png);
    background-repeat: no-repeat;
    background-size: 150px;
    background-position-x: center;
    background-position-y: bottom;
}

.form-control.px-2 label {
    padding-left: 5px;
}
:root {
    --bs-primary: #F17502;
    --bs-primary-rgb: 241, 117, 2; /* Necessario per le trasparenze di Bootstrap 5 */
    /* Varianti per hover e stati attivi */
    --bs-primary-hover: #d66802;
    --bs-primary-active: #bc5b02;
}

/* Applica il colore ai bottoni originali di Bootstrap se presenti */
.btn-primary {
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
}

    .btn-primary:hover {
        background-color: var(--bs-primary-hover) !important;
    }
.card-header {
    font-weight: bold;
}