/* Stili del "gate" (login / richiesta accesso / attesa approvazione) del
   Preventivatore DDG.SOLUTIONS, introdotto il 20/09/2026 con l'accesso
   multi-utente. Caricato sempre che lo shortcode [ddg_preventivatore] sia
   in pagina (anche per chi non ha ancora accesso all'app vera e propria),
   separato dal CSS pesante dell'app (ddg-preventivatore-public.css), che
   invece viene caricato solo per chi ha gia' accesso. Ogni selettore e'
   prefissato con .ddg-preventivatore-gate per non influenzare il resto del
   tema, come l'analogo CSS dell'app. */

.ddg-preventivatore-gate {
	font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	max-width: 780px;
	margin: 24px auto;
	color: #1c1c1a;
}

.ddg-preventivatore-gate h3 {
	margin: 0 0 10px;
	font-size: 1.15em;
	font-weight: 600;
}

.ddg-preventivatore-gate p {
	margin: 0 0 14px;
	line-height: 1.5;
}

.ddg-gate-box {
	background: #faf9f6;
	border: 1px solid #e0e0dc;
	border-radius: 10px;
	padding: 22px 24px;
}

.ddg-gate-tabs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}

@media (max-width: 640px) {
	.ddg-gate-tabs {
		grid-template-columns: 1fr;
	}
}

.ddg-gate-pending {
	border-color: #d8c98a;
	background: #fbf6e6;
}

.ddg-gate-denied {
	border-color: #d9b3b0;
	background: #fbeeed;
}

.ddg-gate-notice {
	padding: 10px 14px;
	border-radius: 8px;
	margin-bottom: 16px;
	font-size: 0.95em;
}

.ddg-gate-notice-success {
	background: #e7f3e8;
	border: 1px solid #b9dcbd;
	color: #2b5d31;
}

.ddg-gate-notice-error {
	background: #fbeeed;
	border: 1px solid #d9b3b0;
	color: #7a2f2a;
}

.ddg-gate-form {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.ddg-gate-form label {
	display: flex;
	flex-direction: column;
	gap: 5px;
	font-size: 0.92em;
	font-weight: 500;
}

.ddg-gate-form input[type="text"],
.ddg-gate-form input[type="email"],
.ddg-gate-form input[type="password"],
.ddg-gate-form textarea {
	font-family: inherit;
	font-size: 0.95em;
	padding: 8px 10px;
	border: 1px solid #cfcfc8;
	border-radius: 6px;
	background: #fff;
}

.ddg-gate-form textarea {
	resize: vertical;
}

.ddg-gate-honeypot {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.ddg-gate-submit,
.ddg-preventivatore-gate .login-submit input[type="submit"] {
	align-self: flex-start;
	font-family: inherit;
	font-size: 0.95em;
	font-weight: 600;
	padding: 9px 18px;
	border: none;
	border-radius: 6px;
	background: #1c1c1a;
	color: #fff;
	cursor: pointer;
}

.ddg-gate-submit:hover,
.ddg-preventivatore-gate .login-submit input[type="submit"]:hover {
	background: #3a3a36;
}

.ddg-preventivatore-gate .login-username input,
.ddg-preventivatore-gate .login-password input {
	width: 100%;
	box-sizing: border-box;
	font-family: inherit;
	font-size: 0.95em;
	padding: 8px 10px;
	border: 1px solid #cfcfc8;
	border-radius: 6px;
}

.ddg-preventivatore-gate .login-remember {
	font-size: 0.9em;
	margin: 8px 0;
}
