.esalat-kala-box {
	max-width: 440px;
	margin: 0 auto;
	padding: 28px;
	background: #ffffff;
	border: 1px solid #e5e5e5;
	border-radius: 14px;
	font-family: inherit;
	position: relative;
	box-sizing: border-box;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}
.esalat-kala-box * {
	box-sizing: border-box;
}
.esalat-kala-title {
	margin: 0 0 18px;
	font-size: 18px;
	font-weight: 700;
	text-align: center;
	color: #1c1c1c;
}
.esalat-kala-lang-toggle {
	position: absolute;
	top: 14px;
	inset-inline-end: 14px;
	background: transparent;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-size: 12px;
	padding: 3px 10px;
	cursor: pointer;
}
.esalat-kala-form {
	display: flex;
	gap: 8px;
}
.esalat-kala-code-boxes {
	display: flex;
	gap: 8px;
	justify-content: center;
	flex: 1;
	direction: ltr; /* digits read left-to-right even on an RTL page - without this the boxes appeared mirrored/backwards */
}
.esalat-kala-code-box {
	width: 42px;
	height: 52px;
	font-size: 22px;
	text-align: center;
	border: 1px solid #d5d5d5;
	border-radius: 9px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
	touch-action: manipulation;
}
.esalat-kala-code-box:focus {
	outline: none;
	border-color: #1e6f46;
	box-shadow: 0 0 0 3px rgba(30, 111, 70, 0.15);
}
.esalat-kala-code-input {
	flex: 1;
	font-size: 20px;
	letter-spacing: 6px;
	text-align: center;
	padding: 11px 8px;
	border: 1px solid #d5d5d5;
	border-radius: 9px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
	touch-action: manipulation;
}
.esalat-kala-code-input::placeholder {
	/* The wide letter-spacing above is meant for the 6 typed digits, not
	   for this instructional sentence - without this override the
	   placeholder text looked oddly stretched out. */
	letter-spacing: normal;
	font-size: 13px;
}
.esalat-kala-code-input:focus {
	outline: none;
	border-color: #1e6f46;
	box-shadow: 0 0 0 3px rgba(30, 111, 70, 0.15);
}
.esalat-kala-submit {
	padding: 11px 20px;
	background: #1e6f46;
	color: #fff;
	border: none;
	border-radius: 9px;
	cursor: pointer;
	font-weight: 600;
	white-space: nowrap;
	transition: opacity 0.15s ease;
}
.esalat-kala-submit:hover {
	opacity: 0.9;
}
.esalat-kala-submit:disabled {
	opacity: 0.6;
	cursor: default;
}
.esalat-kala-result:empty {
	display: none;
}
.esalat-kala-result {
	margin-top: 20px;
	font-size: 14px;
}
.esalat-kala-result.is-error {
	padding: 12px 14px;
	background: #fdecea;
	color: #a02a20;
	border-radius: 9px;
}

/* Success state */
.akr-badge {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 14px;
	background: #eaf6ef;
	color: #1e6f46;
	border-radius: 9px;
	font-weight: 700;
	font-size: 14px;
}
.akr-badge-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #1e6f46;
	color: #fff;
	font-size: 13px;
	flex-shrink: 0;
}
.akr-details {
	margin: 14px 0 0;
}
.akr-row {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 9px 2px;
	border-bottom: 1px solid #f0f0f0;
}
.akr-row:last-child {
	border-bottom: none;
}
.akr-row dt {
	color: #888;
	font-size: 13px;
	margin: 0;
	flex-shrink: 0;
}
.akr-row dd {
	margin: 0;
	font-weight: 600;
	color: #262626;
	font-size: 13px;
	text-align: end;
}
.akr-images {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 16px;
}
.akr-image-link {
	display: block;
	width: 110px;
	height: 110px;
	border-radius: 10px;
	border: 1px solid #eee;
	background: #fafafa;
	overflow: hidden;
	cursor: zoom-in;
	transition: opacity 0.15s ease;
}
.akr-image-link:hover {
	opacity: 0.85;
}
.akr-images img {
	width: 100%;
	height: 100%;
	/* contain (not cover) so the WHOLE product photo is visible, even if
	   its aspect ratio isn't square - a cropped photo undermines the
	   point of visually proving authenticity. */
	object-fit: contain;
}

/* On phones: always exactly 2 columns, centered within the box - a
   flex-wrap layout let the number of columns vary with screen width,
   which looked inconsistent on narrow screens. */
@media (max-width: 480px) {
	.akr-images {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		justify-items: center;
		justify-content: center;
	}
	.akr-image-link {
		width: 100%;
		max-width: 140px;
		height: auto;
		aspect-ratio: 1 / 1;
	}
}
