/*
 * profile-builder.css — the public Profile Builder (/tools/profile-builder.html). The sections and the preview use
 * profile-designer.css (shared with Bot Settings' Profile tab); this file only styles the builder's own parts: the code
 * list (label | code | Copy), the action bar and the pawn hue row.
 */
.arc-pb-shell .arct-tool-head { margin-bottom: 14px; }
.arc-pb-form { margin: 0; }

.arc-pb-codes { display: flex; flex-direction: column; gap: 6px; }
.arc-pb-code { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.arc-pb-code[hidden] { display: none; }
.arc-pb-code-label { margin: 0; font-size: .8rem; font-weight: 600; opacity: .85; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.arc-pb-code-input { font-family: SFMono-Regular, Consolas, "Liberation Mono", monospace; font-size: .8rem !important; min-width: 0; }
.arc-pb-code-input[readonly] { background: rgba(0,0,0,0.25) !important; }
.arc-pb-copy { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.arc-pb-copy svg, .arc-pb-actions svg { width: 14px; height: 14px; }

.arc-pb-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 4px 0 6px; }
.arc-pb-actions .btn { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; }
.arc-pb-actions-note { flex-basis: 100%; }

[data-pb-hue-row].is-off { opacity: .55; }
.arc-pb-form .input-group-text.colorpicker-input-addon { padding: 2px 6px; }

/* phones: label over the code, Copy beside it; the action buttons full width */
@media (max-width: 575.98px) {
	.arc-pb-code { grid-template-columns: minmax(0, 1fr) auto; }
	.arc-pb-code-label { grid-column: 1 / -1; }
	.arc-pb-actions .btn-primary, .arc-pb-actions .btn-light { flex: 1 1 auto; justify-content: center; }
}
