body {
	font-family: Arial, sans-serif;
	background: linear-gradient(to bottom, #ffffff, #f4f4f4);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 100vh; /* almeno l'altezza della finestra */
	margin: 0;
}

.logo {
	margin-bottom: 20px;
}

.login-container {
	background: #fff;
	padding: 30px 40px;
	border-radius: 12px;
	box-shadow: 0px 6px 18px rgba(0,0,0,0.2);
	text-align: center;
	border-top: 6px solid #000;
}

h2 {
	color: #000;
	margin-bottom: 20px;
}

label {
	display: block;
	margin: 12px 0 6px;
	font-weight: bold;
	color: #333;
}

input {
	width: 100%;
	padding: 10px;
	border: 1px solid #ddd;
	border-radius: 8px;
	outline: none;
}

input:focus {
	border-color: #1DA4DF; /* blu logo */
	box-shadow: 0 0 5px rgba(0,120,215,0.4);
}

button {
	margin-top: 20px;
	width: 100%;
	padding: 12px;
	border: none;
	border-radius: 8px;
	background: linear-gradient(90deg, #1DA4DF, #8EBC14, #E51F20); /* blu, verde, rosso */
	background-size: 300% 100%;
	color: white;
	font-size: 16px;
	font-weight: bold;
	cursor: pointer;
	transition: background-position 0.5s ease;
}

button:hover {
	background-position: right;
}

p {
	margin-top: 15px;
	font-size: 14px;
}

a {
	color: #1DA4DF;
	text-decoration: none;
	font-weight: bold;
}

a:hover {
	text-decoration: underline;
}

/* NAVBAR BASE */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: white;
    border-bottom: 5px solid #1DA4DF;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    box-sizing: border-box;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    z-index: 1000;
}

.navbar-logo {
    height: 40px;
}

/* MENU CENTRALE */
.navbar-menu {
    flex: 1;
    display: flex;
    justify-content: center;
}

.navbar-menu ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.navbar-menu li {
    white-space: nowrap;
}

.navbar-menu a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    padding: 6px 12px;
    border-radius: 6px;
    transition: background 0.3s, color 0.3s;
}

.navbar-menu li.active a {
    background: #1DA4DF;
    color: white;
}

.navbar-menu a:hover {
    background: #8EBC14;
    color: white;
}

/* SEZIONE DESTRA */
.navbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logout-btn {
    background: #E51F20;
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: background 0.3s;
    white-space: nowrap;
}

.logout-btn:hover {
    background: #a71d2a;
}

/* HAMBURGER ICON */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    border-radius: 2px;
}

/* Ogni linea con un colore diverso */
.hamburger span:nth-child(1) {
	background: #1DA4DF;
}
.hamburger span:nth-child(2) {
	background: #8EBC14;
}
.hamburger span:nth-child(3) {
	background: #E51F20;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
    .navbar-menu {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        align-items: center;
        padding: 10px 0;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

    .navbar-menu ul {
        flex-direction: column;
        gap: 12px;
    }

    .navbar-menu.show {
        display: flex;
    }

    .hamburger {
        display: flex;
    }
}

/* Per evitare che il contenuto resti nascosto dietro la navbar */
.content {
    margin-top: 60px; /* spazio sotto la barra */
    padding: 20px;
    text-align: center;
}