/* ==========================================================================
   Reverse Complement — Tool-specific styles
   Shared Benchling-style framework: tools/common/tbb-sequence-tools.css
   ========================================================================== */

/* ── Textarea ────────────────────────────────────────────────────────────── */
.tbb-rev-comp .tbb-seq-textarea {
	min-height: 160px;
}

/* ── Output max-height ───────────────────────────────────────────────────── */
@media ( min-width: 900px ) {
	.tbb-rev-comp .tbb-seq-output-pre {
		max-height: 420px;
	}
}

/* ── Mode selector row ───────────────────────────────────────────────────── */
.tbb-rc-mode-row {
	display:       flex;
	align-items:   center;
	gap:           10px;
	flex-wrap:     wrap;
	margin-top:    12px;
	margin-bottom: 4px;
}

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

.tbb-rc-mode-select {
	flex:         1 1 auto;
	min-width:    200px;
	max-width:    380px;
	padding:      6px 28px 6px 10px;
	font-size:    13px;
	font-family:  inherit;
	color:        var(--tbb-seq-text);
	background:   var(--tbb-seq-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%236e7781'/%3E%3C/svg%3E") no-repeat right 10px center;
	background-size: 10px 6px;
	border:       1px solid var(--tbb-seq-border);
	border-radius: var(--tbb-seq-radius-sm);
	appearance:   none;
	-webkit-appearance: none;
	cursor:       pointer;
	transition:   border-color 120ms ease, box-shadow 120ms ease;
}

.tbb-rc-mode-select:focus {
	outline:      none;
	border-color: var(--tbb-seq-primary);
	box-shadow:   0 0 0 3px var(--tbb-seq-primary-light);
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media ( max-width: 600px ) {
	.tbb-rc-mode-row    { flex-direction: column; align-items: flex-start; }
	.tbb-rc-mode-select { max-width: 100%; }
}

@media ( prefers-reduced-motion: reduce ) {
	.tbb-rc-mode-select { transition: none; }
}
