/* ==========================================================================
   Random Protein Sequence — Tool-specific styles
   Shared Benchling-style framework: sms/common/tbb-sequence-tools.css
   ========================================================================== */

/* ── Options row ─────────────────────────────────────────────────────────── */
.tbb-rprot-options {
	display:   flex;
	flex-wrap: wrap;
	gap:       12px 24px;
	margin:    0 0 4px;
}

.tbb-rprot-option {
	display:     flex;
	align-items: center;
	gap:         8px;
	font-size:   13px;
	color:       var(--tbb-seq-text);
}

.tbb-rprot-option label {
	font-weight: 500;
	white-space: nowrap;
}

.tbb-rprot-option input[type="text"] {
	width:         64px;
	padding:       4px 8px;
	border:        1px solid var(--tbb-seq-border);
	border-radius: 4px;
	background:    var(--tbb-seq-bg);
	color:         var(--tbb-seq-text);
	font-size:     13px;
	text-align:    center;
}

.tbb-rprot-option input[type="text"]:focus {
	outline:        2px solid var(--tbb-seq-accent);
	outline-offset: 1px;
}

.tbb-rprot-option select {
	padding:       4px 8px;
	border:        1px solid var(--tbb-seq-border);
	border-radius: 4px;
	background:    var(--tbb-seq-bg);
	color:         var(--tbb-seq-text);
	font-size:     13px;
	cursor:        pointer;
}

.tbb-rprot-option select:focus {
	outline:        2px solid var(--tbb-seq-accent);
	outline-offset: 1px;
}

/* ── Output container (plain-text FASTA, white-space: pre) ───────────────── */
.tbb-rprot-output {
	font-family:   var(--tbb-seq-font-mono);
	font-size:     12px;
	line-height:   1.5;
	white-space:   pre;
	overflow-x:    auto;
	overflow-y:    auto;
	max-height:    560px;
	padding:       0.75rem;
	background:    var(--tbb-seq-bg);
	border:        1px solid var(--tbb-seq-border);
	border-radius: 4px;
	word-break:    normal;
	word-wrap:     normal;
	margin:        0;
}

/* ── Wider output on large screens ───────────────────────────────────────── */
@media ( min-width: 900px ) {
	.tbb-random-protein-sequence .tbb-rprot-output {
		max-height: 700px;
	}
}
