:root {
	--eidp-bg: #0b1648;
	--eidp-surface: rgba(7, 19, 61, 0.8);
	--eidp-border: rgba(255, 255, 255, 0.1);
	--eidp-text: #f6fbff;
	--eidp-muted: rgba(246, 251, 255, 0.72);
	--eidp-primary: #61c7d3;
	--eidp-secondary: #9af557;
	--eidp-warning: #ffcc66;
	--eidp-radius: 18px;
}

* {
	box-sizing: border-box;
}

body {
	min-height: 100vh;
	margin: 0;
	color: var(--eidp-text);
	font-family: "Trebuchet MS", "Segoe UI", sans-serif;
	background:
		radial-gradient(900px 450px at 12% 10%, rgba(97, 199, 211, 0.18), transparent 60%),
		radial-gradient(900px 450px at 88% 12%, rgba(154, 245, 87, 0.16), transparent 55%),
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 1024' preserveAspectRatio='none'%3E%3Crect width='1440' height='1024' fill='%232c5f8e'/%3E%3Cpath d='M0 232C203 201 423 151 638 99C933 28 1190 -13 1440 0V682C1166 786 883 826 627 782C365 738 161 652 0 564V232Z' fill='%230b1648'/%3E%3Cpath d='M0 652C213 720 417 770 642 812C931 865 1178 929 1440 918V1024H0V652Z' fill='%2322b39d'/%3E%3Cpath d='M0 822C256 855 518 901 776 952C1006 998 1221 1024 1440 1015V1024H0V822Z' fill='%239af557'/%3E%3C/svg%3E"),
		var(--eidp-bg);
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	background-attachment: fixed;
	overflow-x: hidden;
}

.eidp-shell {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px 16px;
}

.eidp-card {
	width: 100%;
	max-width: 860px;
	border-radius: var(--eidp-radius);
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
		var(--eidp-surface);
	border: 1px solid var(--eidp-border);
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
	overflow: hidden;
	position: relative;
}

.eidp-card::before {
	content: "";
	position: absolute;
	inset: -2px;
	background:
		radial-gradient(600px 220px at 30% 0%, rgba(97, 199, 211, 0.24), transparent 60%),
		radial-gradient(600px 220px at 85% 0%, rgba(154, 245, 87, 0.22), transparent 60%);
	opacity: 0.75;
	pointer-events: none;
}

.eidp-card > * {
	position: relative;
}

.eidp-topbar {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 18px 22px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	background: rgba(0, 0, 0, 0.12);
	backdrop-filter: blur(6px);
}

.eidp-logo {
	width: 34px;
	height: 34px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.08);
	flex: 0 0 auto;
}

.eidp-logo svg {
	width: 22px;
	height: 22px;
	display: block;
}

.eidp-title {
	line-height: 1.1;
	flex: 1 1 auto;
}

.eidp-title .brand {
	font-weight: 700;
	letter-spacing: 0.06em;
	font-size: 12px;
	opacity: 0.9;
}

.eidp-title .page {
	font-weight: 700;
	font-size: 16px;
	margin-top: 2px;
}

.eidp-body {
	padding: 22px;
}

.eidp-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 800;
	letter-spacing: 0.08em;
	font-size: 12px;
	padding: 6px 10px;
	border-radius: 999px;
	color: #fff;
	background: rgba(154, 245, 87, 0.14);
	border: 1px solid rgba(154, 245, 87, 0.35);
	user-select: none;
}

.eidp-h1 {
	font-size: 28px;
	font-weight: 800;
	margin: 10px 0 6px;
}

.eidp-muted,
.eidp-countdown-sub,
.eidp-footer {
	color: var(--eidp-muted);
}

.eidp-panel {
	margin-top: 16px;
	padding: 14px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.eidp-panel-line + .eidp-panel-line {
	margin-top: 10px;
}

.eidp-code {
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
	padding: 3px 7px;
	border-radius: 10px;
	background: rgba(0, 0, 0, 0.25);
	border: 1px solid rgba(255, 255, 255, 0.08);
	color: rgba(246, 251, 255, 0.95);
	word-break: break-all;
}

.eidp-actions {
	margin-top: 16px;
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	align-items: center;
}

.btn-eidp-primary,
.btn-eidp-ghost {
	appearance: none;
	border-radius: 14px;
	padding: 10px 14px;
	font-weight: 700;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
}

.btn-eidp-primary {
	border: 1px solid rgba(255, 255, 255, 0.16);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0)), linear-gradient(135deg, var(--eidp-primary), var(--eidp-secondary));
	color: #0b1648;
}

.btn-eidp-primary:hover {
	filter: brightness(1.05);
}

.btn-eidp-ghost {
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: rgba(255, 255, 255, 0.04);
	color: var(--eidp-text);
}

.btn-eidp-ghost:hover {
	background: rgba(255, 255, 255, 0.06);
}

.gear {
	width: 16px;
	height: 16px;
	display: inline-block;
	border-radius: 50%;
	position: relative;
	box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.65);
	opacity: 0.95;
}

.gear::before,
.gear::after {
	content: "";
	position: absolute;
	inset: -3px;
	border-radius: 50%;
	border: 2px dashed rgba(255, 255, 255, 0.45);
}

.spin-slow {
	animation: spin 2.8s linear infinite;
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

.eidp-countdown-card {
	margin-top: 14px;
	padding: 14px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.035);
	border: 1px solid rgba(255, 255, 255, 0.1);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	justify-content: space-between;
}

.eidp-countdown-left {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 220px;
}

.eidp-countdown-title {
	font-weight: 800;
	letter-spacing: 0.04em;
	font-size: 12px;
	text-transform: uppercase;
	color: rgba(246, 251, 255, 0.85);
}

.eidp-timer {
	display: flex;
	gap: 10px;
	align-items: center;
	flex-wrap: wrap;
}

.eidp-unit {
	min-width: 86px;
	padding: 10px 12px;
	border-radius: 14px;
	background: rgba(0, 0, 0, 0.2);
	border: 1px solid rgba(255, 255, 255, 0.08);
	text-align: center;
}

.eidp-unit-num {
	font-size: 22px;
	font-weight: 900;
	line-height: 1;
}

.eidp-unit-label {
	margin-top: 4px;
	font-size: 11px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: rgba(246, 251, 255, 0.6);
}

.eidp-footer {
	margin-top: 14px;
	font-size: 12px;
}

@media (max-width: 767px) {
	.eidp-shell {
		padding: 18px 14px;
	}

	.eidp-topbar,
	.eidp-body {
		padding: 18px;
	}

	.eidp-h1 {
		font-size: 24px;
	}

	.eidp-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.eidp-countdown-card {
		align-items: stretch;
	}

	.eidp-timer {
		width: 100%;
	}

	.eidp-unit {
		flex: 1 1 0;
		min-width: 0;
	}
}