/* APP_FILE_VER: 1.2.0 */
/* ==========================================================================
   SAFE Applications — front-end form styles.

   Kept deliberately plain and high-contrast. Someone may be filling this in
   on an old phone, on a library computer, or in a hurry.
   ========================================================================== */

.safe-app-form {
	max-width: 640px;
	margin: 1.5rem 0;
}

.safe-app-heading {
	margin: 2rem 0 0.75rem;
	padding-bottom: 0.4rem;
	border-bottom: 2px solid #7f4cbe;
	font-size: 1.15rem;
}
.safe-app-heading:first-child { margin-top: 0; }

.safe-app-field { margin-bottom: 1.15rem; }

.safe-app-label,
.safe-app-group legend {
	display: block;
	font-weight: 600;
	margin-bottom: 0.3rem;
}

.safe-app-req {
	font-weight: 400;
	color: #7a2f22;
	font-size: 0.88em;
}

.safe-app-help {
	font-size: 0.9rem;
	color: #4d4854;
	margin: 0 0 0.4rem;
	line-height: 1.5;
}

.safe-app-form input[type="text"],
.safe-app-form input[type="email"],
.safe-app-form input[type="tel"],
.safe-app-form input[type="date"],
.safe-app-form select,
.safe-app-form textarea {
	width: 100%;
	padding: 0.65rem 0.75rem;
	border: 1px solid #a9a2b8;
	border-radius: 4px;
	font: inherit;
	background: #fff;
	color: #1a1c20;
}
.safe-app-form input:focus,
.safe-app-form select:focus,
.safe-app-form textarea:focus {
	outline: 3px solid #7f4cbe;
	outline-offset: 1px;
	border-color: #7f4cbe;
}
.safe-app-form input[type="file"] {
	padding: 0.5rem 0;
	font: inherit;
}

.safe-app-group {
	border: 1px solid #ddd6e8;
	border-radius: 4px;
	padding: 0.9rem 1rem;
	margin: 0;
}
.safe-app-option {
	display: flex;
	align-items: flex-start;
	gap: 0.55rem;
	padding: 0.35rem 0;
	font-weight: 400;
	cursor: pointer;
	line-height: 1.45;
}
.safe-app-option input { margin-top: 0.25rem; flex: 0 0 auto; }

/* The honeypot. Hidden from people without being hidden from a bot's parser. */
.safe-app-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.safe-app-note {
	background: #f7f4fc;
	border-left: 4px solid #7f4cbe;
	padding: 0.9rem 1.15rem;
	margin: 1.25rem 0;
	border-radius: 0 4px 4px 0;
}
.safe-app-note p { margin: 0; }
.safe-app-note--urgent {
	background: #fdf1ee;
	border-left-color: #b3261e;
}

.safe-app-notice {
	padding: 1rem 1.25rem;
	margin: 1.25rem 0;
	border-radius: 4px;
	border-left: 4px solid;
}
.safe-app-notice p:last-child { margin-bottom: 0; }
.safe-app-notice--ok { background: #eaf4ef; border-left-color: #1f5f5b; }
.safe-app-notice--error { background: #fdf1ee; border-left-color: #b3261e; }
.safe-app-notice--warn { background: #fdf6e8; border-left-color: #b8860b; }
.safe-app-notice ul { margin: 0.5rem 0 0 1.25rem; }
.safe-app-notice__admin {
	font-size: 0.9rem;
	border-top: 1px dashed #c9c2d6;
	padding-top: 0.7rem;
	margin-top: 0.9rem;
	color: #4d4854;
}

.safe-app-actions { margin-top: 1.75rem; }
.safe-app-submit {
	background: #7f4cbe;
	color: #fff;
	border: 0;
	border-radius: 4px;
	padding: 0.85rem 1.75rem;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}
.safe-app-submit:hover { background: #5f3596; }
.safe-app-submit:focus-visible {
	outline: 3px solid #f2b705;
	outline-offset: 2px;
}
.safe-app-submit[disabled] { opacity: 0.6; cursor: progress; }

.safe-app-privacy {
	font-size: 0.9rem;
	color: #4d4854;
	margin: 0.75rem 0 0;
	line-height: 1.5;
}
