/* UUID generator - segmented type switch (UUID v4 / ULID), a count + options control row, and a
   monospace output textarea listing one identifier per line. Reuses shared .seg / .field / .btn /
   .copy-btn; all colors come from theme tokens only. */

.uuid-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 20px;
    margin: 8px 0 16px;
}

.uuid-control {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.uuid-control-label {
    font-size: 14px;
    color: var(--muted);
    font-weight: 600;
}

.uuid-count {
    width: 110px;
    max-width: 100%;
    font-variant-numeric: tabular-nums;
}

.uuid-options {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 18px;
    padding-bottom: 10px;
}

.uuid-option {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
}

.uuid-option input {
    accent-color: var(--accent);
}

.uuid-option input:disabled {
    cursor: not-allowed;
}

.uuid-option input:disabled + * {
    opacity: .5;
}

.uuid-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 0 16px;
}

.uuid-output-label {
    display: block;
    font-size: 14px;
    color: var(--muted);
    font-weight: 600;
    margin-bottom: 6px;
}

.uuid-output {
    width: 100%;
    box-sizing: border-box;
    min-height: 200px;
    resize: vertical;
    padding: 14px;
    font-family: ui-monospace, "SFMono-Regular", "Menlo", "Consolas", monospace;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    white-space: pre;
    overflow: auto;
}

.uuid-output:focus {
    outline: 2px solid var(--accent);
    border-color: var(--accent);
}

@media (max-width: 480px) {
    .uuid-controls {
        gap: 16px;
    }

    .uuid-options {
        padding-bottom: 0;
    }
}
