@charset "utf-8";
/* Stili aggiuntivi per il servizio di code review, sopra a source/styles.css e content.css */

.stpm-form {
	display: flex;
	flex-direction: column;
	max-width: 420px;
	gap: 4px;
}

.stpm-form label {
	margin-top: 10px;
	font-weight: bold;
}

.stpm-form input[type="email"],
.stpm-form input[type="password"],
.stpm-form input[type="file"] {
	padding: 6px;
	border: 1px solid #ccc;
	border-radius: 3px;
}

.stpm-form input[type="submit"],
.stpm-inline-form input[type="submit"] {
	margin-top: 14px;
	padding: 8px 16px;
	border: 0;
	border-radius: 3px;
	background-color: #0c1117;
	color: #fff;
	cursor: pointer;
	align-self: flex-start;
}

.stpm-inline-form {
	display: inline;
}

.stpm-inline-form input[type="submit"] {
	margin: 0;
	padding: 3px 8px;
	font-size: 0.85em;
}

.stpm-error {
	color: #a30000;
	border: 1px solid #a30000;
	background-color: #fdecea;
	padding: 10px;
	border-radius: 3px;
}

.stpm-notice {
	color: #205020;
	border: 1px solid #205020;
	background-color: #eaf7ea;
	padding: 10px;
	border-radius: 3px;
}

.stpm-hint {
	font-size: 0.85em;
	color: #555;
	margin-top: 6px;
}

.stpm-loading {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 10px;
	color: #0c1117;
	font-weight: bold;
}

/* .stpm-loading{display:flex} ha la stessa origine (author) della regola dello user
   agent [hidden]{display:none} quindi vincerebbe a parità di specificità: serve questa
   regola più specifica per restare davvero nascosto finché l'attributo è presente. */
.stpm-loading[hidden] {
	display: none;
}

.stpm-spinner {
	width: 16px;
	height: 16px;
	border: 3px solid #ccc;
	border-top-color: #0c1117;
	border-radius: 50%;
	animation: stpm-spin 0.8s linear infinite;
}

@keyframes stpm-spin {
	to { transform: rotate(360deg); }
}

.stpm-disclaimer {
	color: #6b5300;
	border: 1px solid #d8b100;
	background-color: #fff8e1;
	padding: 10px;
	border-radius: 3px;
	font-size: 0.9em;
	max-width: 100%;
}

.stpm-review {
	background-color: #f7f7f7;
	border: 1px solid #ddd;
	border-radius: 3px;
	padding: 16px;
	max-width: 100%;
	overflow-x: auto;
}

.stpm-diskusage {
	margin-top: 16px;
	margin-bottom: 6px;
}

.stpm-diskusage + form.stpm-inline-form input[type="submit"] {
	background-color: #a35b00;
}

.stpm-review pre {
	white-space: pre-wrap;
	word-wrap: break-word;
	font-family: "Droid Sans", Verdana, Arial, Helvetica, sans-serif, sans;
	margin: 0;
}

.stpm-admin-table {
	border-collapse: collapse;
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
	display: block;
}

.stpm-admin-table th,
.stpm-admin-table td {
	border: 1px solid #ddd;
	padding: 6px 10px;
	text-align: left;
	font-size: 0.9em;
}

.stpm-admin-table th {
	background-color: #eee;
}
