/**
 * Orlah fruit lookup: an input row and an output row. Each status carries its
 * own colour by severity — never by colour alone, since the status is always
 * spelled out in words.
 */

.bhl-calc--orlah-fruits .bhl-fruit__form {
	margin: 0 0 14px;
}

.bhl-calc--orlah-fruits .bhl-fruit__input input {
	width: 100%;
	box-sizing: border-box;
}

.bhl-calc-frame .bhl-calc--orlah-fruits .bhl-fruit__input input {
	border-color: #c8d1cc;
	box-shadow: 0 1px 1px rgba(16, 32, 24, .05);
}

/* The display, recessed like the other calculators' screens. */
.bhl-calc--orlah-fruits .bhl-fruit__output {
	background: #fcfefd;
	border: 1px solid #c3cdc7;
	border-radius: 10px;
	padding: 16px 18px;
	min-height: 72px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	box-shadow: inset 0 2px 5px rgba(16, 32, 24, .13), 0 1px 0 rgba(255, 255, 255, .8);
}

.bhl-calc--orlah-fruits .bhl-fruit__output p {
	margin: 0;
}

.bhl-calc--orlah-fruits .bhl-fruit__placeholder,
.bhl-calc--orlah-fruits .bhl-fruit__missing,
.bhl-calc--orlah-fruits .bhl-fruit__hint {
	color: #8d9a93;
	font-size: 15px;
}

.bhl-calc--orlah-fruits .bhl-fruit__placeholder {
	text-align: center;
}

.bhl-calc--orlah-fruits .bhl-fruit__verdict {
	border-right: 5px solid var(--bhl-fruit-accent);
	background: var(--bhl-fruit-bg);
	border-radius: 8px;
	padding: 12px 15px;
}

.bhl-calc--orlah-fruits .bhl-fruit__verdict--avoid {
	--bhl-fruit-accent: #b0413e;
	--bhl-fruit-bg: #fdf2f1;
}

.bhl-calc--orlah-fruits .bhl-fruit__verdict--market {
	--bhl-fruit-accent: #c25e16;
	--bhl-fruit-bg: #fdf3ea;
}

.bhl-calc--orlah-fruits .bhl-fruit__verdict--roadside {
	--bhl-fruit-accent: #9a7400;
	--bhl-fruit-bg: #fcf8e6;
}

.bhl-calc--orlah-fruits .bhl-fruit__verdict--permitted,
.bhl-calc--orlah-fruits .bhl-fruit__verdict--abroad {
	--bhl-fruit-accent: #1f6b4a;
	--bhl-fruit-bg: #f1f8f4;
}

/* A vegetable is outside orlah altogether, so it steps out of the
   red-to-green scale. */
.bhl-calc--orlah-fruits .bhl-fruit__verdict--vegetable {
	--bhl-fruit-accent: #2f5f8a;
	--bhl-fruit-bg: #eff5fa;
}

.bhl-calc--orlah-fruits .bhl-fruit__name {
	font-weight: 700;
	color: #2c3b34;
}

.bhl-calc--orlah-fruits .bhl-fruit__status {
	margin-top: 2px;
	font-weight: 700;
	font-size: 19px;
	line-height: 1.45;
	color: var(--bhl-fruit-accent);
}

.bhl-calc--orlah-fruits .bhl-fruit__note {
	margin-top: 6px;
	font-size: 15px;
	color: #444;
}

.bhl-calc--orlah-fruits .bhl-fruit__suggestions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.bhl-calc--orlah-fruits .bhl-fruit__suggestion {
	font: inherit;
	font-size: 15px;
	color: var(--bhl-calc-accent);
	background: #fff;
	border: 1px solid #c8d1cc;
	border-radius: 999px;
	padding: 4px 14px;
	min-height: 36px;
	cursor: pointer;
}

.bhl-calc--orlah-fruits .bhl-fruit__suggestion:hover,
.bhl-calc--orlah-fruits .bhl-fruit__suggestion:focus-visible {
	background: var(--bhl-calc-accent);
	color: #fff;
}

/* On the orlah table page the frame lines up with the notice boxes around it,
   whose width the Elementor widget sets, instead of the narrower calculator
   column. */
.elementor-widget-shortcode .bhl-calc-frame--orlah-fruits {
	max-width: none;
}
