* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Arial', sans-serif;
	background-color: #f4f4f4;
	padding-top: 80px;
}

/* ---- ribbon fisso in alto ---- */
.ribbon {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 80px;
	background-color: #ffffff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 30px;
	z-index: 1000;
}

.ribbon-title {
	font-size: 20px;
	font-weight: bold;
	color: #333333;
}

.ribbon-btn {
	text-decoration: none;
	color: #333333;
	font-weight: bold;
	font-size: 14px;
	padding: 8px 14px;
	border-radius: 4px;
	transition: color 0.3s ease, background-color 0.3s ease;
}

.ribbon-btn:hover {
	color: #0056b3;
	background-color: #f4f4f4;
}

/* ---- contenuto principale ---- */
.content {
	max-width: 1200px;
	margin: 40px auto;
	background: #ffffff;
	padding: 40px;
	border-radius: 10px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

/* ---- menu principale (voci in rilievo) ---- */
.menu-title {
	font-size: 36px;
	font-weight: bold;
	color: #222;
	margin-bottom: 20px;
}

.menu-item {
	display: flex;
	align-items: center;
	padding: 16px 20px;
	margin-bottom: 18px;
	background-color: transparent;
	border-radius: 10px;
	text-decoration: none;
	cursor: pointer;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1),
		0 10px 20px rgba(0, 0, 0, 0.12);
	transition: transform 0.2s cubic-bezier(0.25, 0.8, 0.25, 1),
		box-shadow 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.menu-item:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15),
		0 15px 30px rgba(0, 0, 0, 0.18);
}

.menu-item:active {
	transform: translateY(-1px);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1),
		0 4px 8px rgba(0, 0, 0, 0.1);
}

.menu-icon {
	width: 48px;
	height: 48px;
	margin-right: 15px;
	object-fit: contain;
}

.menu-text {
	font-size: 20px;
	font-weight: 500;
	color: #333;
	margin-right: auto;
}

.menu-text small {
	display: block;
	font-size: 13px;
	font-weight: 400;
	color: #888;
	margin-top: 2px;
}

.menu-divider {
	font-size: 14px;
	font-weight: 600;
	color: #888;
	margin-bottom: 12px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* ---- footer ---- */
.app-footer {
	text-align: center;
	padding: 20px 0 30px;
}

.app-footer p {
	font-size: 12px;
	color: #999;
}

/* ---- messaggio esito azioni (fetch) ---- */
.azione-esito {
	margin-top: 10px;
	font-size: 14px;
	font-weight: 500;
	min-height: 20px;
}

.azione-esito.ok {
	color: #2e7d32;
}

.azione-esito.errore {
	color: #c62828;
}

/* ---- form (login, cambia password, impostazioni) ---- */
.login-form {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.form-group {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.form-group label {
	font-weight: bold;
	color: #333;
	font-size: 14px;
}

.login-form input {
	width: 100%;
	padding: 10px;
	box-sizing: border-box;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 15px;
}

.btn-submit {
	width: 100%;
	padding: 12px;
	background-color: #007bff;
	color: white;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 16px;
}

.btn-submit:hover {
	background-color: #0056b3;
}