/* Trick17 Gravity Drafts */

.t17gd-notice {
	margin: 0 0 1.5em;
	padding: 0.875em 1em;
	border-left: 4px solid #2271b1;
	background: #f0f6fc;
	color: #1d2327;
	line-height: 1.5;
}

.t17gd-notice--success {
	border-left-color: #00a32a;
	background: #edfaef;
}

.t17gd-notice--error {
	border-left-color: #d63638;
	background: #fcf0f1;
}

.t17gd-notice__link {
	font-weight: 600;
	white-space: nowrap;
}

.t17gd-live {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.t17gd-draft-button.gform_button {
	margin-right: 0.75em;
}

.t17gd-draft-button:focus-visible,
.t17gd-notice a:focus-visible,
.t17gd-files button:focus-visible,
.t17gd-files input:focus-visible {
	outline: 3px solid #2271b1;
	outline-offset: 2px;
}

.t17gd-draft-button[disabled] {
	opacity: 0.6;
	cursor: progress;
}

/* Vorhandene Dateien beim Bearbeiten */
.t17gd-files {
	margin: 0.5em 0 0;
	padding: 0;
	list-style: none;
}

.t17gd-files li {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25em 1em;
	align-items: center;
	padding: 0.25em 0;
}

.t17gd-files label {
	font-weight: normal;
}

/* Mobil: Buttons untereinander und in voller Breite */
@media (max-width: 640px) {
	form[data-t17gd] .gform_footer,
	form[data-t17gd] .gform_page_footer {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 0.75em;
	}

	form[data-t17gd] .gform_footer .gform_button,
	form[data-t17gd] .gform_page_footer .gform_button,
	form[data-t17gd] .gform_page_footer .gform_next_button,
	form[data-t17gd] .gform_page_footer .gform_previous_button {
		width: 100%;
		margin: 0;
	}
}
