.main-content {
    flex: 1; /* Permette alla main-content di occupare lo spazio rimanente */
    background-color: #fff; /* Bianco appena più scuro */
    color: black;
    overflow-y: auto;
    text-align: left;
    margin-left: 0; /* Rimuovi il margine sinistro */
}

.button-group {
    padding: 20px;
}

.main-content-container {
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    min-height: 1268px;
}

/************************/
/** STILE DEI PULSANTI **/
/************************/

.floating-edit-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.floating-edit-btn:hover {
    background-color: #0056b3; /* Cambia colore al passaggio del mouse */
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #00146d;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    color: white;
    text-align: center;
}

.container {
    text-align: center;
}

img {
    max-width: 430px;
    width: 100%;
    height: auto;
}

h2 {
    font-family: 'Montserrat', sans-serif;
    color: #FFF;
    margin-top: 20px;
    font-size: 1.3rem;
    font-weight: 100;
}

.login-box {
    background-color: #00146d;
    border: 1px solid white; /* Bordino ancora più sottile */
    border-radius: 15px; /* Arrotondamento dei bordi */
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5); /* Ombreggiatura migliorata */
    padding: 40px;
    color: white;
    margin-top: 20px;
    display: inline-block;
    width: 350px; /* Larghezza del riquadro */
}

.login-box label {
    color: white;
    display: block;
    margin-bottom: 5px;
    text-align: center; /* Centratura delle etichette */
    width: 60%; /* Allineamento con gli input */
    margin: 0 auto; /* Centra gli elementi orizzontalmente */
}

.login-box input,
.login-box button,
.login-button {
    width: 60%; /* Riduce la lunghezza dei campi di input e del pulsante di login */
    padding: 10px;
    margin: 10px auto; /* Margine automatico per centrare gli elementi */
    border: 1px solid #ccc;
    border-radius: 5px;
    display: block;
    text-align: center; /* Centra il testo nel pulsante */
    text-decoration: none; /* Rimuove la sottolineatura del link */
}

.login-box button,
.login-button {
    width: 66%;
    background-color: #FE00F6;
    color: white;
    border: none;
    cursor: pointer;
}

.login-box button:hover,
.login-button:hover {
    background-color: #d400d0;
}

/* Media Query per Mobile */
@media (max-width: 768px) {
    body {
        padding: 0 !important;
        margin: 0 !important;
        height: 100vh !important;
        justify-content: center !important;
    }

    .container {
        width: 100vw !important;
        max-width: 100vw !important;
        margin: 0 !important;
        padding: 0 10px !important;
        box-sizing: border-box !important;
    }

    .login-box {
        width: 100% !important;
        padding: 30px !important;
        box-shadow: none !important;
        margin: 0 !important;
        border-radius: 10px !important;
    }

    h1 {
        font-size: 2em !important;
        margin: 20px 0 !important;
    }

    img {
        max-width: 90% !important;
        margin-bottom: 20px !important;
    }

    .login-box input,
    .login-box button,
    .login-button {
        width: 95% !important;
        font-size: 1.2em !important;
        padding: 15px !important;
    }

    .login-box label {
        width: 95% !important;
        font-size: 1.1em !important;
    }
}

.forgot-password a {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.9em;
    color: #fff;
    text-decoration: none;
}

.forgot-password a:hover {
    text-decoration: underline;
}

.forgot-passwrod a:visited {
    color: #fff;
}

/***********************/
/*   ANIMAZIONE LOGO   */
/***********************/

.animate-logo {
  animation: spinEaseBounce 3s ease-in-out infinite;
  animation-delay: 0s;
  animation-iteration-count: infinite;
  animation-direction: normal;
  animation-fill-mode: forwards;
  animation-timing-function: ease-in-out;
}

@keyframes spinEaseBounce {
  0%   { transform: rotate(0deg); }
  40%  { transform: rotate(400deg); }
  60%  { transform: rotate(355deg); }
  75%  { transform: rotate(360deg); }
  100% { transform: rotate(360deg); }
}

