/* ==========================================================================
   eSIM DVK – inner pages: How to Install, Compatible Devices
   ========================================================================== */

/* --- Install guide steps --- */
.edv-guide {
	counter-reset: edv-guide;
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 12px;
}

.edv-guide__step {
	counter-increment: edv-guide;
	display: flex;
	gap: 16px;
	padding: 18px 20px 18px 16px;
	background: var(--edv-surface);
	border: 1px solid var(--edv-border);
	border-radius: var(--edv-radius-lg);
	box-shadow: var(--edv-shadow-xs);
}

.edv-guide__num {
	flex: 0 0 36px;
	width: 36px;
	height: 36px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--edv-gradient);
	color: #fff;
	font-family: var(--edv-font-mono);
	font-weight: 600;
	font-size: 0.875rem;
}

.edv-guide__num::before { content: counter(edv-guide); }

.edv-guide__title { font-size: 1.05rem; font-weight: 700; margin: 6px 0 6px; letter-spacing: 0; }
.edv-guide__text { margin: 0; line-height: 1.6; color: var(--edv-text-2); font-size: 0.95rem; }

.edv-tabs--pills .edv-tabs__list { margin-bottom: 24px; }

/* --- Device search --- */
.edv-search { margin: 0 0 12px; }
.edv-search__label { display: block; font-weight: 700; color: var(--edv-text); margin-bottom: 8px; }

.edv-search__field { position: relative; display: flex; align-items: center; }

.edv-search__field .edv-icon {
	position: absolute;
	left: 16px;
	width: 22px;
	height: 22px;
	color: var(--edv-text-muted);
	pointer-events: none;
}

.edv-search__input,
.edv-search__input[type="search"] {
	width: 100%;
	height: 56px;
	padding: 0 16px 0 48px;
	margin: 0;
	border: 1px solid var(--edv-border);
	border-radius: var(--edv-radius-md);
	background: var(--edv-surface);
	box-shadow: var(--edv-shadow-xs);
	font-size: 1.05rem;
	font-family: var(--edv-font-sans);
	color: var(--edv-text);
}

.edv-search__input:focus {
	border-color: var(--edv-primary);
	box-shadow: 0 0 0 3px rgba(240, 121, 30, 0.18);
	outline: none;
}

.edv-search__count {
	min-height: 1.4em;
	margin: 0 0 20px;
	font-family: var(--edv-font-mono);
	font-weight: 500;
	font-size: 0.8rem;
	color: var(--edv-text-muted);
}

/* --- Device groups --- */
.edv-devices { display: grid; gap: 16px; }

.edv-devices__group {
	padding: 20px 20px 10px;
	background: var(--edv-surface);
	border: 1px solid var(--edv-border);
	border-radius: var(--edv-radius-lg);
	box-shadow: var(--edv-shadow-xs);
}

.edv-devices__group[hidden] { display: none; }

.edv-devices__brand {
	font-size: 1rem;
	font-weight: 700;
	margin: 0 0 10px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--edv-border);
	letter-spacing: 0;
}

.edv-devices__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 2px 20px;
}

@media (min-width: 640px) { .edv-devices__list { grid-template-columns: repeat(2, 1fr); } }

.edv-devices__item {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	padding: 6px 0;
	color: var(--edv-text-2);
	font-size: 0.925rem;
	line-height: 1.45;
}

.edv-devices__item[hidden] { display: none; }
.edv-devices__item .edv-icon { width: 18px; height: 18px; color: var(--edv-success); margin-top: 2px; }

.edv-devices__none {
	text-align: center;
	padding: 36px 20px;
	background: var(--edv-surface);
	border: 1px dashed var(--edv-border-strong);
	border-radius: var(--edv-radius-lg);
	color: var(--edv-text-2);
}

.edv-devices__none[hidden] { display: none; }
.edv-devices__none p { max-width: 480px; margin: 0 auto 16px; }

/* Device finder sits above other blocks */
.edv-device-finder + .edv-callout { margin-top: 32px; }
