.b4c-secure-access {
	max-width: 860px;
	padding: 24px;
	border: 1px solid #d9e2ec;
	border-radius: 12px;
	background: #fff;
}

.b4c-secure-form {
	display: grid;
	gap: 12px;
	max-width: 420px;
}

.b4c-secure-form input[type="email"] {
	padding: 10px 12px;
	border: 1px solid #b8c4d1;
	border-radius: 8px;
}

.b4c-secure-form button {
	width: fit-content;
	padding: 10px 16px;
	border: 0;
	border-radius: 8px;
	background: #114b5f;
	color: #fff;
	cursor: pointer;
}

.b4c-secure-notice {
	margin: 16px 0;
	padding: 12px 16px;
	border-radius: 8px;
}

.b4c-secure-notice-info {
	background: #edf6ff;
	color: #174a7c;
}

.b4c-secure-notice-error {
	background: #fff1f1;
	color: #8a1f11;
}

.b4c-secure-notice-success {
	background: #eefbf3;
	color: #1e5e36;
}

.b4c-secure-folder + .b4c-secure-folder {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid #e5e7eb;
}

.b4c-secure-files {
	list-style: none;
	margin: 0;
	padding: 0;
}

.b4c-secure-files li {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 16px;
	padding: 16px;
	border: 1px solid #e6edf3;
	border-radius: 12px;
	background: #f9fbfc;
}

.b4c-secure-files li + li {
	margin-top: 12px;
}

.b4c-secure-file-meta {
	display: grid;
	gap: 4px;
}

.b4c-secure-file-label {
	font-weight: 700;
	color: #163041;
}

.b4c-secure-file-date {
	font-size: 0.92rem;
	color: #58707f;
}

.b4c-secure-download-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 148px;
	padding: 12px 18px;
	border-radius: 999px;
	background: #114b5f;
	color: #ffffff;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	box-shadow: 0 6px 18px rgba(17, 75, 95, 0.18);
	transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.b4c-secure-download-link:hover,
.b4c-secure-download-link:focus {
	background: #0d3c4b;
	color: #ffffff;
	transform: translateY(-1px);
	box-shadow: 0 10px 22px rgba(17, 75, 95, 0.22);
}

.b4c-secure-download-link:focus {
	outline: 3px solid rgba(17, 75, 95, 0.18);
	outline-offset: 2px;
}

@media (max-width: 640px) {
	.b4c-secure-files li {
		grid-template-columns: 1fr;
		justify-items: stretch;
	}

	.b4c-secure-download-link {
		width: 100%;
	}
}