/**
 * Application Gate block styling.
 * Brand tokens per project conventions: primary blue #1F2B8E, dark navy
 * #001C4C, orange #FA9B1C, light blue #79A2E6, cream #F3EFEC.
 * Nunito Sans (body) — not re-declaring Bebas Neue here since this block
 * has no structural heading of its own.
 */

.bpda-ag {
	max-width: 720px;
	margin: 2rem auto;
	font-family: 'Nunito Sans', sans-serif;
	color: #001C4C;
}

.bpda-ag[hidden] {
	display: none;
}

/*
 * Section-level hide/reveal (since 2.7.1). Applied to the Divi Section
 * itself (not a module inside it) via CSS ID & Classes → bpda-ag-section.
 * Hidden by default; JS adds bpda-ag-section--visible on Apply click or
 * on auto-reveal-after-login. Kept separate from [hidden] above so both
 * the section-level and block-level hide can coexist without conflict.
 */
.bpda-ag-section {
	display: none;
}

.bpda-ag-section.bpda-ag-section--visible {
	display: block;
}

.bpda-ag__logged-out {
	background: #F3EFEC;
	border-radius: 6px;
	padding: 2rem;
	text-align: center;
}

.bpda-ag__copy {
	font-size: 1.05rem;
	margin: 0 0 1.25rem;
}

.bpda-ag__actions {
	display: flex;
	gap: 1rem;
	justify-content: center;
	flex-wrap: wrap;
}

.bpda-ag__login,
.bpda-ag__register {
	display: inline-block;
	padding: 0.75rem 1.75rem;
	border-radius: 999px;
	font-weight: 700;
	text-decoration: none;
	transition: opacity 0.15s ease;
}

.bpda-ag__login:hover,
.bpda-ag__register:hover {
	opacity: 0.85;
}

.bpda-ag__login {
	background: #ffffff;
	color: #1F2B8E;
	border: 2px solid #1F2B8E;
}

.bpda-ag__register {
	background: #FA9B1C;
	color: #001C4C;
}

.bpda-ag__form {
	background: #ffffff;
}
