.efv {
	--efv-blue: #1e5bd8;
	--efv-blue-dark: #1747a8;
	--efv-mint: #3ddc97;
	--efv-mint-soft: #e8faf2;
	--efv-ink: #14213d;
	--efv-muted: #5b6b86;
	--efv-line: #d9e2f1;
	--efv-bg: #ffffff;
	--efv-soft: #f4f7fd;
	--efv-err: #c62828;
	max-width: 760px;
	margin: 0 auto;
	padding: 28px;
	background: var(--efv-bg);
	border: 1px solid var(--efv-line);
	border-radius: 16px;
	box-shadow: 0 10px 30px rgba(20, 33, 61, .06);
	color: var(--efv-ink);
	font-family: inherit;
	box-sizing: border-box;
}
.efv *, .efv *::before, .efv *::after { box-sizing: border-box; }
.efv [hidden] { display: none !important; }

.efv-head { text-align: center; margin-bottom: 22px; }
.efv-title { margin: 0 0 6px; font-size: 1.6em; line-height: 1.25; color: var(--efv-ink); }
.efv-sub { margin: 0; color: var(--efv-muted); }

.efv-drop {
	display: flex; flex-direction: column; align-items: center; gap: 6px;
	padding: 34px 18px; text-align: center; cursor: pointer;
	border: 2px dashed #b8c8ea; border-radius: 14px; background: var(--efv-soft);
	transition: border-color .15s, background .15s;
}
.efv-drop:hover, .efv-drop:focus, .efv-drop.is-over { border-color: var(--efv-blue); background: #eef3fe; outline: none; }
.efv-drop.has-file { border-style: solid; border-color: var(--efv-mint); background: var(--efv-mint-soft); }
.efv-drop-icon { width: 44px; height: 44px; fill: none; stroke: var(--efv-blue); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.efv-drop-main { font-weight: 600; }
.efv-drop-main u { color: var(--efv-blue); text-decoration-thickness: 1px; }
.efv-drop-hint { font-size: .85em; color: var(--efv-muted); }
.efv-file { margin-top: 6px; font-weight: 600; color: #0b7a4b; word-break: break-all; }

.efv-opts { border: 0; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; font-size: .95em; }
.efv-check, .efv-radio label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.efv-radio { display: inline-flex; gap: 14px; align-items: center; }
.efv-radio > span { color: var(--efv-muted); }
.efv input[type=checkbox], .efv input[type=radio] { accent-color: var(--efv-blue); margin: 0; }

.efv-btn {
	display: inline-flex; align-items: center; justify-content: center;
	margin-top: 20px; padding: 13px 26px; width: 100%;
	font: inherit; font-weight: 700; font-size: 1em; line-height: 1.2;
	color: #fff !important; text-decoration: none !important;
	background: var(--efv-blue); border: 0; border-radius: 10px; cursor: pointer;
	transition: background .15s, transform .05s;
}
.efv-btn:hover { background: var(--efv-blue-dark); }
.efv-btn:active { transform: translateY(1px); }
.efv-btn:disabled { background: #a9b8d6; cursor: not-allowed; }
.efv-btn-ghost { background: transparent; color: var(--efv-blue) !important; border: 2px solid var(--efv-blue); }
.efv-btn-ghost:hover { background: #eef3fe; }

.efv-progress { position: relative; margin-top: 16px; height: 34px; border-radius: 9px; background: var(--efv-soft); overflow: hidden; }
.efv-bar { position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(90deg, var(--efv-blue), var(--efv-mint)); transition: width .2s; }
.efv-progress.is-busy .efv-bar { width: 100% !important; animation: efv-pulse 1.2s ease-in-out infinite; }
.efv-status { position: relative; display: block; line-height: 34px; text-align: center; font-size: .9em; font-weight: 600; color: var(--efv-ink); }
@keyframes efv-pulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }

.efv-error { margin: 14px 0 0; padding: 10px 14px; border-radius: 8px; background: #fdecec; color: var(--efv-err); }

.efv-result-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.efv-badge { flex: 0 0 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--efv-mint); color: #fff; font-weight: 800; font-size: 1.2em; }
.efv-result-title { margin: 0; font-size: 1.15em; font-weight: 700; }

.efv-table { width: 100%; border-collapse: collapse; font-size: .92em; margin: 0; }
.efv-table th, .efv-table td { padding: 9px 10px; border-bottom: 1px solid var(--efv-line); text-align: left; vertical-align: top; }
.efv-table th { background: var(--efv-soft); font-weight: 700; color: var(--efv-muted); font-size: .85em; text-transform: uppercase; letter-spacing: .03em; }
.efv-table td:nth-child(2) { font-weight: 700; color: var(--efv-blue); white-space: nowrap; }
.efv-table td:nth-child(3) { color: var(--efv-muted); word-break: break-word; }

.efv-warnings { margin: 14px 0 0; padding: 10px 14px 10px 30px; border-radius: 8px; background: #fff8e1; color: #6d4c00; font-size: .9em; }
.efv-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.efv-actions .efv-btn { padding: 13px 14px; white-space: nowrap; }
.efv-privacy { margin: 14px 0 0; text-align: center; font-size: .82em; color: var(--efv-muted); }

@media (max-width: 560px) {
	.efv { padding: 18px 16px; border-radius: 12px; }
	.efv-title { font-size: 1.3em; }
	.efv-actions { grid-template-columns: 1fr; gap: 0; }
	.efv-table th:nth-child(3), .efv-table td:nth-child(3) { display: none; }
}
