/* ==========================================================================
   Submit Event page + form
   Loaded only on pages using page-submit-event.php template.
   Visual language matches /aba-profile-submission/ (see inc/profile-form.php).
   ========================================================================== */

.bna-ef-scope {
	font-family: var(--font-sans);
	color: var(--ink);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

.bna-ef-scope *,
.bna-ef-scope *::before,
.bna-ef-scope *::after {
	box-sizing: border-box;
}

/* --- Top stripe ----------------------------------------------------------- */

.bna-ef-stripe {
	display: flex;
	height: 2px;
	width: 100%;
}

.bna-ef-stripe span {
	flex: 1;
	background: var(--red);
}

/* --- Hero (light gray, matches /event-submitted/ thank-you hero) ---------- */

.bna-ef-hero {
	background: var(--bg-2);
	color: var(--ink);
	padding: 46px 24px 40px;
	text-align: center;
	border-bottom: 1px solid var(--line);
}

.bna-ef-hero-inner {
	max-width: 720px;
	margin: 0 auto;
}

.bna-ef-eyebrow {
	display: inline-block;
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--red);
	background: var(--red-tint);
	padding: 8px 16px;
	margin-bottom: 20px;
	border-radius: 8px;
}

.bna-ef-hero h1 {
	font-size: 52px;
	font-weight: 800;
	letter-spacing: -1.2px;
	line-height: 1.08;
	color: var(--navy);
	margin: 0 0 20px;
}

.bna-ef-hero-lead {
	font-size: 18px;
	color: var(--muted);
	max-width: 670px;
	line-height: 1.5;
	margin: 0 auto 16px;
}

/* --- Form wrapper --------------------------------------------------------- */

.bna-ef-form-wrap {
	max-width: 960px;
	margin: 0 auto;
	padding: 0 24px 56px;
}

.bna-ef-intro {
	margin: 32px 0 0;
	font-size: 16px;
	line-height: 1.6;
	color: var(--muted);
}

/* --- Sections ------------------------------------------------------------- */

.bna-ef-section {
	margin-top: 40px;
	background: var(--white);
	border: 1px solid var(--line);
	border-top: 3px solid var(--red);
	padding: 28px 32px 32px;
}

.bna-ef-sec-head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 8px;
	flex-wrap: wrap;
}

.bna-ef-sec-head h2 {
	font-size: 28px;
	font-weight: 800;
	letter-spacing: -0.4px;
	color: var(--navy);
	line-height: 1.2;
	margin: 0 !important;
}

.bna-ef-sec-num {
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: var(--red);
	background: var(--red-tint);
	padding: 6px 12px;
	border-radius: 2px;
}

.bna-ef-sec-desc {
	font-size: 17px;
	color: var(--muted);
	margin: 6px 0 24px;
	line-height: 1.55;
	max-width: 680px;
}

/* --- Grid + fields -------------------------------------------------------- */

.bna-ef-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}

.bna-ef-grid .full {
	grid-column: 1 / -1;
}

.bna-ef-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.bna-ef-field label {
	font-size: 16px;
	font-weight: 700;
	color: var(--navy);
	letter-spacing: -0.1px;
}

.bna-ef-scope .req {
	color: var(--red);
	margin-left: 3px;
	font-weight: 800;
}

.bna-ef-field .hint {
	font-weight: 400;
	font-size: 16px;
	color: var(--muted);
	display: block;
	margin-top: 2px;
}

/* --- Inputs --------------------------------------------------------------- */

.bna-ef-field input,
.bna-ef-field textarea,
.bna-ef-field select,
.bna-ef-section input[type="text"],
.bna-ef-section input[type="email"],
.bna-ef-section input[type="url"],
.bna-ef-section input[type="date"],
.bna-ef-section textarea,
.bna-ef-section select {
	width: 100%;
	background: var(--bg-2);
	border: 1.5px solid var(--line);
	border-radius: 2px;
	padding: 14px 16px;
	font-family: var(--font-sans);
	font-size: 15px;
	color: var(--ink);
	outline: none;
	-webkit-appearance: none;
	appearance: none;
	transition: border-color 0.15s, background 0.15s;
}

.bna-ef-field input:focus,
.bna-ef-field textarea:focus,
.bna-ef-field select:focus {
	border-color: var(--navy);
	background: var(--white);
}

.bna-ef-field textarea {
	resize: vertical;
	min-height: 140px;
	line-height: 1.55;
}

.bna-ef-field select {
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path fill='%230C2E54' d='M6 9L1 4h10z'/></svg>");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 36px;
}

/* --- Submit area + status ------------------------------------------------- */

.bna-ef-submit-area {
	text-align: center;
	padding-top: 20px;
}

.bna-ef-submit-lead {
	font-size: 16px;
	color: var(--muted);
	margin-bottom: 24px;
	max-width: 560px;
	margin-left: auto;
	margin-right: auto;
	line-height: 1.6;
}

.bna-ef-btn-submit {
	background: var(--red);
	color: var(--white);
	border: none;
	border-radius: 2px;
	font-family: var(--font-sans);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	padding: 17px 36px;
	cursor: pointer;
	transition: background 0.15s;
}

.bna-ef-btn-submit:hover {
	background: var(--red-dark);
}

.bna-ef-btn-submit:disabled {
	background: #9AA5B4;
	cursor: not-allowed;
}

.bna-ef-submit-note {
	font-size: 12px;
	color: var(--muted);
	margin-top: 18px;
}

.bna-ef-msg {
	min-height: 20px;
	margin-top: 14px;
	font-size: 14px;
}

.bna-ef-msg.error {
	color: var(--red);
}

.bna-ef-msg.success {
	color: #0E7A3F;
}

/* --- Success state -------------------------------------------------------- */

.bna-ef-success {
	display: none;
	text-align: center;
	padding: 72px 24px;
	background: var(--white);
	border: 1px solid var(--line);
	border-top: 3px solid var(--red);
	margin-top: 40px;
}

.bna-ef-success.show {
	display: block;
}

.bna-ef-success .icon {
	width: 60px;
	height: 60px;
	background: #0E7A3F;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-size: 28px;
	margin: 0 auto 20px;
}

.bna-ef-success h2 {
	font-size: 28px;
	font-weight: 800;
	letter-spacing: -0.5px;
	color: var(--navy);
	margin: 0 0 12px;
}

.bna-ef-success p {
	color: var(--muted);
	max-width: 520px;
	margin: 0 auto;
	font-size: 15px;
	line-height: 1.6;
}

/* --- Image upload (Section 03) ------------------------------------------- */

.bna-ef-upload {
	border: 1.5px dashed var(--line);
	background: var(--bg-2);
	border-radius: 2px;
	padding: 32px 20px;
	text-align: center;
	cursor: pointer;
	transition: border-color 0.2s, background 0.2s;
	position: relative;
}

.bna-ef-upload:hover,
.bna-ef-upload.dragover {
	border-color: var(--red);
	background: var(--white);
}

.bna-ef-upload input[type="file"] {
	position: absolute;
	inset: 0;
	opacity: 0;
	cursor: pointer;
	width: 100%;
	height: 100%;
}

.bna-ef-upload h4 {
	font-size: 16px;
	font-weight: 700;
	color: var(--navy);
	margin: 6px 0 4px;
}

.bna-ef-upload p {
	font-size: 13px;
	color: var(--muted);
	margin: 2px 0;
}

.bna-ef-upload .types {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--muted);
	margin-top: 10px;
}

.bna-ef-upload .cta {
	display: inline-block;
	margin-top: 12px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--white);
	background: var(--red);
	padding: 10px 24px;
	border-radius: 2px;
	pointer-events: none;
}

.bna-ef-file-list {
	margin-top: 12px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.bna-ef-file-item {
	display: flex;
	align-items: center;
	gap: 12px;
	background: var(--bg-2);
	border: 1px solid var(--line);
	border-radius: 2px;
	padding: 10px 14px;
	font-size: 13px;
}

.bna-ef-file-item .name {
	flex: 1;
	color: var(--ink);
	font-weight: 500;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.bna-ef-file-item .size {
	font-size: 12px;
	color: var(--muted);
	font-variant-numeric: tabular-nums;
}

/* --- Honeypot ------------------------------------------------------------- */

.bna-ef-honey {
	position: absolute;
	left: -9999px;
	top: -9999px;
	width: 0;
	height: 0;
	overflow: hidden;
	opacity: 0;
}

/* --- Mobile --------------------------------------------------------------- */

@media (max-width: 760px) {
	.bna-ef-hero {
		padding: 40px 20px 32px;
	}

	.bna-ef-hero h1 {
		font-size: 34px;
		letter-spacing: -0.5px;
	}

	.bna-ef-section {
		padding: 22px 20px 26px;
	}

	.bna-ef-grid {
		grid-template-columns: 1fr;
	}

	.bna-ef-grid .full {
		grid-column: 1;
	}
}
