/* ==========================================================================
   Ident and Sim — Tool-specific styles
   Shared Benchling-style framework: tools/common/tbb-sequence-tools.css
   ========================================================================== */

/* ── Input textarea — taller for multi-sequence alignment ────────────────── */
.tbb-ident-sim .tbb-seq-textarea {
	min-height: 180px;
	font-family: var(--tbb-seq-font-mono);
	font-size:   12px;
}

/* ── Similarity groups row ───────────────────────────────────────────────── */
.tbb-is-groups-row {
	display:     flex;
	align-items: center;
	gap:         10px;
	margin-top:  10px;
	flex-wrap:   wrap;
}

.tbb-is-groups-label {
	font-size:   13px;
	font-weight: 500;
	color:       var(--tbb-seq-text);
	white-space: nowrap;
	flex-shrink: 0;
}

.tbb-is-groups-input {
	flex:          1 1 220px;
	max-width:     400px;
	padding:       6px 10px;
	font-family:   var(--tbb-seq-font-mono);
	font-size:     13px;
	color:         var(--tbb-seq-text);
	background:    var(--tbb-seq-bg);
	border:        1px solid var(--tbb-seq-border);
	border-radius: var(--tbb-seq-radius-sm);
	outline:       none;
	transition:    border-color var(--tbb-seq-transition),
	               box-shadow   var(--tbb-seq-transition);
}

.tbb-is-groups-input:focus {
	border-color: var(--tbb-seq-primary);
	box-shadow:   0 0 0 3px rgba(9, 105, 218, .12);
}

.tbb-is-groups-hint {
	font-size:   12px;
	color:       var(--tbb-seq-text-muted);
	white-space: nowrap;
}

/* ── Output — taller pre for many pairs ─────────────────────────────────── */
@media ( min-width: 900px ) {
	.tbb-ident-sim .tbb-seq-output-pre {
		max-height: 560px;
	}
}
