/* Stile generale */
body {
    font-family: Arial, sans-serif;
}

/* Contenitore del login */
.login-container {
    background-color: rgba(0, 0, 0, 0.322);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
    width: 100%;
    max-width: 400px;
}

/* Etichette */
label {
    display: block;
    color: white;
    font-size: 0.875rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

/* Campi di input */
.input-group {
    position: relative;
}

.input-group input {
    width: 100%;
    padding: 10px 35px 10px 10px;
    border-radius: 5px;
    border: none;
    background-color: transparent;
    color: rgba(128, 128, 128, 0.623);
    outline: none;
}

.input-group span {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    color: gray;
}

/* Bottone di login */
.btn-login {
    background-color: #007BFF;
    color: white;
    font-weight: bold;
    padding: 10px;
    border-radius: 5px;
    width: 100%;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

.btn-login:hover {
    background-color: #0056b3;
}

@media (max-width: 640px) {
    .login-container {
        max-width: 350px; /* Riduci la larghezza su mobile */
        padding: 1.5rem;  /* Meno padding per schermi piccoli */
    }
}


/* Contenitore ruoli */
.role-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 800px;
    justify-content: center;
}

/* Stile dei box ruoli */
.role-box {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    width: 100%;
    max-width: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.role-box i {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #007BFF;
}

.role-box:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.08);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.2);
}

/* Responsività */
@media (max-width: 640px) {
    .role-container {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}
